1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22],{21007:(e,a,r)=>{"use strict";let t,s,i,l,n;r.r(a),r.d(a,{__N_SSP:()=>oq,default:()=>oY});var o={};r.r(o),r.d(o,{gr:()=>au,J3:()=>al,aG:()=>an,_e:()=>am,VP:()=>a_,uX:()=>ax,b$:()=>ad,Lg:()=>ap,V3:()=>ac,x9:()=>ao,kg:()=>at,Z6:()=>ai,Yj:()=>as,QL:()=>ah});var d={};r.r(d),r.d(d,{CN:()=>sT,GH:()=>sH,jR:()=>sW,S0:()=>sb,U8:()=>sA,oQ:()=>sD,ro:()=>sP,a0:()=>sj,AK:()=>sv,gE:()=>sw,ns:()=>sk,F5:()=>sC,BE:()=>sL,EL:()=>sI,fV:()=>sS,RN:()=>sN,PD:()=>sF,xg:()=>sR});var c={};r.r(c),r.d(c,{CN:()=>ii,GH:()=>ih,jR:()=>i_,S0:()=>s7,U8:()=>il,oQ:()=>im,ro:()=>iu,a0:()=>s5,AK:()=>s9,gE:()=>is,ns:()=>ie,F5:()=>it,BE:()=>id,EL:()=>io,fV:()=>ir,RN:()=>ia,PD:()=>ip,xg:()=>ic});var m=r(37876),_=r(14232),u=r(10268),h=r(23683),p=r(77328),x=r.n(p);let g=e=>{let a=(e=>{let a=JSON.parse(e?.rendering?.site?.integration?.customIntegrationPairs??"{}"),r=e?.rendering?.metaTitle;if(a&&a.metaTitleOverride){let t=a.metaTitleOverride.split(" "),s=[];t.map(r=>{switch(r){case"_pageTitle_":e?.rendering?.pageTitle&&e?.rendering?.pageTitle!==""&&s.push(e?.rendering?.pageTitle,"|");break;case"_city_":s.push(e?.rendering?.site?.city);break;case"_brandName_":s.push(e?.rendering?.site?.brandName);break;case"_callLetters_":s.push(e?.rendering?.site?.callLetters);break;case"_blurb_":s.push(a.blurb??"");break;default:s.push(r)}}),r=s.join(" ")}return r})(e.facade);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(x(),{children:(0,m.jsx)("title",{children:a})}),e.children]})};var y=r(15039),f=r.n(y),v=r(47192),j=r(29035),b=r(20252),k=r(6655),N=r(82621),S=r(7706),C=r(18758);let w=({teaserList:e,title:a,adType:r,adId:t,componentId:s})=>{let i=f()({[C.A.sectionTeaserList]:!0});return(0,m.jsx)(j.A,{className:f()(C.A.hasSectionTitle,{[C.A.hasDisplayAd]:!!r}),id:s,title:a,children:(0,m.jsx)(S.A,{adId:t,adPosition:0,adType:r,className:i,content:e||[],teaserAttributes:N.A.sectionList})})};var T=r(37431),A=r(83806),I=r(23010),L=r(85655);let R=({index:e,key:a,type:r,talentMedia:t})=>{let[s,i]=(0,_.useState)(""),[l,n]=(0,_.useState)(""),[o,d]=(0,_.useState)("");return(0,_.useEffect)(()=>{globalThis.location&&i(`${globalThis.location.origin}/resources/defaults/news_3.0/icons/social/${r}.svg`),"facebook"===r?(n("#0766FF"),d("Facebook Icon")):"x"===r?(n("#000000"),d("X Icon")):"instagram"===r?(n("#E1306C"),d("Instagram Icon")):"pinterest"===r?(n("#E70025"),d("Pinterest Icon")):"threads"===r?(n("#000000"),d("Threads Icon")):"tiktok"===r?(n("#000000"),d("Tiktok Icon")):"youtube"===r?(n("#FF0000"),d("YouTube Icon")):"linkedin"===r?(n("#0B66C2"),d("LinkedIn Icon")):(n("#03AFB0"),d("Email Icon"))},[]),(0,m.jsx)("a",{"aria-label":"type",href:"email"===r?`mailto:${t}`:t,rel:"noopener noreferrer",target:"_blank",children:(0,m.jsx)("div",{className:"index-module_icon__AT54",index:e,style:{backgroundColor:l},children:(0,m.jsx)("img",{alt:o,src:s})},a)})},D="index-module_talentImage__S943",W=({talentData:e,textColor:a})=>{let r={description:e.richText,email:e?.info?.user?.email,image:e?.heroImage?.image?.large16x9Url,name:e?.headline,socialIcons:{facebook:e?.info?.social?.facebookUrl,x:e?.info?.social?.twitterUrl,threads:e?.info?.social?.threadsUrl,tiktok:e?.info?.social?.tikTokUrl,pinterest:e?.info?.social?.pinterestUrl,instagram:e?.info?.social?.instagramFeedUrl,youtube:e?.info?.social?.youtubeChannelUrl,linkedin:e?.info?.social?.linkedinUrl,email:e?.info?.user?.email},title:e?.info?.user?.role};return(0,_.useEffect)(()=>{document.documentElement.style.setProperty("--anchor",`${a}`)},[]),(0,m.jsx)("span",{children:(0,m.jsx)("div",{className:"index-module_root__q5h2",children:(0,m.jsxs)("div",{className:"index-module_bioDetailContanier__ZQPT",children:[(0,m.jsxs)("div",{className:"index-module_imageContainer__NZti",children:[r.image?(0,m.jsx)("img",{alt:r.name,className:D,src:(0,I.b)(r.image,"236px","3x4","100")}):null,!r.image&&(0,m.jsx)("div",{className:D})]}),(0,m.jsxs)("div",{className:"index-module_contentWrapper__u4db",children:[(0,m.jsxs)("div",{className:"index-module_talentWrapper__XgV4",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)("h1",{className:"index-module_talentName__xTyL",children:r.name}),(0,m.jsx)("h2",{className:"index-module_talentTitle__R_Lo",children:r.title})]}),(0,m.jsx)("div",{className:"index-module_iconWrapper__QGBP",children:Object.entries(r?.socialIcons).map(([e,a],r)=>
1a&&(0,m.jsx)(R,{index:r,talentMedia:a,type:e},e))})]}),(0,m.jsx)("div",{className:"index-module_solidWrapper__MTRU",children:(0,m.jsx)("div",{className:"index-module_solid__AYPs"})})]}),(0,m.jsx)("hr",{}),(0,m.jsx)("div",{className:"index-module_description__ZghR",children:(0,L.b)((0,A.ys)(r.description))}),(0,m.jsx)("div",{className:"index-module_descriptionAdjuster__hXS7"})]})})})},P={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__Ca_2","darkreader--text":"index-module_darkreader--text__fwaV","darkreader--invert":"index-module_darkreader--invert__LN0p","darkreader--inline":"index-module_darkreader--inline__DdKj","darkreader--variables":"index-module_darkreader--variables__NeGx","darkreader--root-vars":"index-module_darkreader--root-vars__dgsa","darkreader--user-agent":"index-module_darkreader--user-agent__Kg3I",adsRoot:"index-module_adsRoot__NECp",adWrapper:"index-module_adWrapper__ZUJQ"},H=(e,a)=>(0,m.jsx)("div",{style:a,children:(0,m.jsx)(v.X,{adName:e,pageType:"bio_detail_page"})}),F=()=>{let e=(0,h.z0)("content.component-story-content-v1-01.story"),a=(0,h.z0)("rendering.site.textColorThree"),r={backgroundColor:"#EDEDED",marginBottom:"-10px",padding:"10px 0px 22px 0px"},t=_.useContext(b.l),s=["XL","L","M"].includes(t),i="S"===t,l=!(s||i),n=(0,h.z0)("content.component-story-content-v1-01.story.authoredStoryTeasers"),o=(0,h.z0)("content.component-story-content-v1-01.story.headline");return(0,m.jsxs)("div",{children:[!l&&H("banner_pos1",{marginBottom:"20px",marginTop:"20px"}),(0,m.jsx)(k.A,{adBeforeFooter:[!(i||l)&&H("banner_pos2",{marginBottom:"40px",marginTop:"29px"})],mainChildren:[(0,m.jsx)(j.A,{className:f()(P.adWrapper,P.errorPanel),children:(0,m.jsx)(W,{talentData:e,textColor:a})},0),n?.length>0&&(0,m.jsx)(w,{componentId:"js-Authored-Story-List",teaserList:n,title:`Latest Stories By ${o}`})],sideBarChildren:[s?(0,m.jsx)(j.A,{className:P.adWrapper,children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"bio_detail_page"})},1):(i||l)&&(0,m.jsx)("div",{style:r,children:H("rightrail_pos1")}),(0,m.jsx)(T.A,{showOnMobile:!0,storyIndex:"0"}),s&&(0,m.jsx)(j.A,{className:P.adWrapper,children:(0,m.jsx)(v.X,{adName:"rightrail_pos2",pageType:"bio_detail_page"})},3),(i||l)&&(0,m.jsx)("div",{style:r,children:H("rightrail_pos2")})],zeroPadding:!0})]})};var U=r(58728),E=r(98581);let M=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:F,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var B=r(54584);let O=({talentName:e,talentTitle:a,image:r,url:t,titleColor:s="#666666"})=>(0,m.jsx)("a",{href:t,children:(0,m.jsxs)("div",{className:"index-module_root__io97",id:"root",children:[(0,m.jsx)("img",{alt:a,className:"index-module_bioImage__HMmG",src:(0,I.b)(r,"236px","3x4","100")}),(0,m.jsxs)("div",{children:[(0,m.jsx)("h2",{className:"index-module_talentName__tTAq",children:e}),(0,m.jsx)("h3",{className:"index-module_talentTitle__tLAB",style:{color:s},children:a})]})]})}),G=({list:e,title:a})=>{let{languageHint:r}=(0,h.Hl)(),t=r?.slice(0,2)?.toLowerCase(),s=h.pt.meetOurTeam;return"es"===t&&(s=(0,h.Ck)(h.pt.meetOurTeam)),(0,m.jsxs)("div",{className:"index-module_root__mvZ1",children:[a?(0,m.jsx)("h1",{className:"index-module_panelTitle__FjF3",children:s}):null,(0,m.jsx)("div",{className:"index-module_column__ibLh",children:e?e.map((e,a)=>(0,m.jsx)(O,{image:e.medium16x9Url,talentName:e.title,talentTitle:e.role,url:e.url},a)):null})]})},z="index-module_adsRoot__B9w6",V="index-module_bannerAd__QZhT",$="index-module_adWrapper__uqLZ",X="index-module_rightRailAdFallback__ydaL";var q=r(67024);let Y=(e,a)=>(0,m.jsx)("div",{className:a,children:(0,m.jsx)(v.X,{adName:e,pageType:"bio_landing_page"})}),K=(e,a,r)=>{let{zone:t}=q.A.getAdZone();return(0,m.jsxs)(B.A,{fallback:(0,m.jsx)("div",{style:{backgroundColor:"#EDEDED",height:"313px"}}),showOn:["xs","s"],children:[(0,m.jsx)("div",{style:{backgroundColor:"#EDEDED",marginBottom:"-10px",padding:"10px 0px 22px 0px"},children:Y(e,r)}),(0,m.jsx)(T.A,{adId:"ddb_fluid_native_0",adType:"Native",adZone:t,showOnMobile:!0,storyIndex:"0"}),(0,m.jsx)("div",{style:{backgroundColor:"#EDEDED",padding:"10px 0px 22px 0px"},children:Y(a,r)})]})},J=()=>{let e=(0,h.z0)("content.page-data")?.teaser?.find(e=>"component-teaser-bio_list-v1-01"===e.componentInstanceId)??{},a=e?.teasers??[],r=_.useContext(b.l),t=["XL","L","M"].includes(r),s="S"===r,i="bio_landing_page";return(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:z,children:(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{id:"premiumAdFallback",style:{height:"101px"}}),showOn:["s","m","l","xl"],children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:i})})}),(0,m.jsx)(k.A,{adBeforeFooter:[(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:"index-module_adBeforeFooter__SAAL"}),showOn:["m","l","xl"],children:(0,m.jsx)("div",{className:V,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:i})})}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{}),showOn:["s"],children:(0,m.jsx)("div",{className:V,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:i})})})]})],mainChildren:[(0,m.jsx)(j.A,{className:$,children:s||t?(0,m.jsx)(G,{list:a,title:!0}):a.length<=4?[(0,m.jsx)(G,{list:a,title:!0}),K("rightrail_pos1","rightrail_pos2")]:[(0,m.jsx)(G,{list:a.slice(0,4),title:!0}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{style:{backgroundColor:"#EDEDED",height:"313px"}}),showOn:["xs"],children:(0,m.jsx)("div",{style:{backgroundColor:"#EDEDED",padding:"10px 0px 22px 0px"},children:Y("rightrail_pos1",z)})}),(0,m.jsx)(G,{list:a.slice(4)}),K("rightrail_pos2","rightrail_pos3",z)]},0)],sideBarChildren:[(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:X}),showOn:["m","l","xl"],children:(0,m.jsx)(j.A,{className:$,children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:i})},1)}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{}),showOn:["s"],children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:i})}),!!(t||s)&&(0,m.jsx)(T.A,{showOnMobile:!0,storyIndex:"0"}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:X}),showOn:["m","l","xl"],children:(0,m.jsx)(j.A,{className:$,children:(0,m.jsx)(v.X,{adName:"rightrail_pos2",pageType:i})},3)})],zeroPadding:!0})]})},Z=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:J,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var Q=r(75775),ee=r(41180),ea=r(67125),er=r(87508);let et=e=>{let{customHtml:a,title:r,uuid:t,canonicalUrl:s,taboola:i,showAds:l,showTitle:n,noStyle:o}=e;return(0,m.jsxs)(m.Fragment,{children:[l?(0,m.jsxs)(B.A,{showOn:["xl","l","m","s"],children:[(0,m.jsx)("div",{className:"pageWrapper",children:(0,m.jsx)(v.X,{adName:"wallpaper",pageType:"custom_page"})}),(0,m.jsx)("div",{className:"index-module_pencilAdContainer__fGCE",children:(0,m.jsx)(v.X,{adName:"Premium",pageType:"custom_page"})})]}):null,(0,m.jsx)(ee.A,{children:[(0,m.jsxs)(j.A,{className:o?"":f()("index-module_adWrapper__gO9z","index-module_errorPanel__ltD8","index-module_singleCol__eMgM"),title:n?r:"",children:[(0,m.jsx)(v.X,{adName:"sponsored_logo",pageType:"custom_page"}),(0,m.jsx)(ea.A,{customHtml:a})]},0),i&&(0,m.jsx)(er.A,{canonicalUrl:s,storyIndex:0,uuid:t}),l&&(0,m.jsx)("div",{className:"index-module_adAfterContent__TuLh",children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"custom_page"},2)})]})]})},es="index-module_adWrapper__hOGN";class ei extends _.Component{constructor(e){super(e),this.staticItemProps={canonicalUrl:(0,h.z0)("rendering.canonicalUrl"),customConfig:(0,Q.A)(["facade","content","component-custom-template","data","templateConfig"],sinclairDigital),customHtml:(0,h.z0)("rendering.section.data.injectedMarkup"),social:(0,h.z0)("rendering.site.social"),title:(0,h.z0)("rendering.section.name"),tplType:(0,Q.A)(["facade","content","component-custom-template","data","templateType"],sinclairDigital),uuid:(0,h.z0)("rendering.section.uuid")}}static get defaultProps(){return{pageIndex:0}}render(){let{uuid:e,tplType:a,customHtml:r,title:t,customConfig:s,canonicalUrl:i}=this.staticItemProps,{showTitle:l,showAds:n,taboola:o,rightRail:d,noStyle:c=!1}=function(e,a){if(a)return a;let r={tpl1:{rightRail:!0,showAds:!0,showTitle:!0,taboola:!0},tpl2:{rightRail:!0,showAds:!0,showTitle:!1,taboola:!0},tpl3:{noStyle:!0,rightRail:!1,showAds:!1,showTitle:!1,taboola:!1},tpl4:{rightRail:!0,showAds:!0,showTitle:!0,taboola:!1},tpl5:{rightRail:!0,showAds:!0,showTitle:!1,taboola:!1},tpl6:{rightRail:!1,showAds:!0,showTitle:!0,taboola:!1}};return r[e]?r[e]:r.tpl1}(a,s);return d?(0,m.jsxs)(m.Fragment,{children:[n?(0,m.jsxs)(B.A,{showOn:["xl","l","m","s"],children:[(0,m.jsx)("div",{className:"pageWrapper",children:(0,m.jsx)(v.X,{adName:"wallpaper",pageType:"custom_page"})}),(0,m.jsx)("div",{className:"index-module_pencilAdContainer__CpR4",children:(0,m.jsx)(v.X,{adName:"premium",pageType:"custom_page"},0)})]}):null,(0,m.jsx)(k.A,{adBeforeFooter:n?[(0,m.jsx)("div",{className:"index-module_adBeforeContent__ipbP",children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"custom_page"},3)})]:null,mainChildren:[(0,m.jsxs)(j.A,{className:f()(es,"index-module_errorPanel__Ac13"),title:l?t:"",children:[(0,m.jsx)(v.X,{adName:"sponsored_logo",pageType:"custom_page"}),(0,m.jsx)(ea.A,{customHtml:r})]},0),o&&(0,m.jsx)(er.A,{canonicalUrl:i,storyIndex:0,uuid:e}),n&&(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"custom_page"},1)})],sideBarChildren:d?[(0,m.jsx)(j.A,{className:es,children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"custom_page"})},1),(0,m.jsx)(T.A,{showOnMobile:!0,storyIndex:0},0),(0,m.jsx)(j.A,{className:es,children:(0,m.jsx)(v.X,{adName:"rightrail_pos2",pageType:"custom_page"})},2)]:null,zeroPadding:!0})]}):(0,m.jsx)(et,{noStyle:c,showAds:n,showTitle:l,taboola:o,...this.props,...this.staticItemProps})}}let el=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:ei,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var en=r(2291),eo=r(4797),ed=r(35505),ec=r(98807),em=r(50637);
1let e_=({src:e,title:a,width:r="100%",height:t="1000",iframeClass:s="iframe-embed",scrolling:i="no"})=>{let l=(0,_.useRef)(null),[n,o]=(0,_.useState)(i);return(0,_.useEffect)(()=>{let e=e=>{if(l.current)switch(e.data.type){case"embed-size":l.current.style.height=`${e.data.height}px`,o("no");break;case"domain-request":e.source.postMessage({type:"domain-request"},e.origin)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[]),(0,_.useEffect)(()=>{let a=()=>{l.current&&l.current.contentWindow.postMessage({type:"embed-size-query"},"*")};return l.current&&(l.current.addEventListener("load",a),l.current.src=e,l.current.height=t),()=>{l.current&&l.current.removeEventListener("load",a)}},[e,t]),(0,m.jsx)("iframe",{className:s,frameBorder:"0",height:t,marginHeight:"0",ref:l,scrolling:n,style:{border:"none",overflow:"hidden",width:"100%"},title:a,width:r})},eu={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__PHVg","darkreader--text":"index-module_darkreader--text__dlWy","darkreader--invert":"index-module_darkreader--invert__rbYY","darkreader--inline":"index-module_darkreader--inline__p1XJ","darkreader--variables":"index-module_darkreader--variables__nKk4","darkreader--root-vars":"index-module_darkreader--root-vars__VodZ","darkreader--user-agent":"index-module_darkreader--user-agent___8c_",adWrapper:"index-module_adWrapper__BOrE",premium_ddb_0:"index-module_premium_ddb_0__f65A",adAfterContent:"index-module_adAfterContent__g2jJ",topBannerAdContainer:"index-module_topBannerAdContainer__bPPi",errorWrapper:"index-module_errorWrapper__Kkok",errorPanel:"index-module_errorPanel__Pv2O",electionLinksWrapper:"index-module_electionLinksWrapper__E0qj"};var eh=r(45756);let ep=()=>{let[e,a]=(0,_.useState)({hideScrollbar:!0,iframeClass:"ap-embed",iframeHeight:"1000",iframeSrc:"",isSafariOrFirefox:!1,loading:!0,scripts:[],scrolling:"yes"}),{callLetters:r,state:t,url:s}=(0,h.z0)("rendering.site"),i=(0,h.z0)("rendering.protocol")||"https",l=(0,h.z0)("rendering.section.name"),n=(0,h.z0)("rendering.section.uuid"),o=(0,h.z0)("rendering.section.pathUrl"),d=(0,h.z0)("rendering.canonicalUrl"),c=(0,h.z0)("rendering.section.data.injectedMarkup"),{ffNationalElectionSectionEnabled:u,ffStateElectionSectionEnabled:p,ffLocalElectionSectionEnabled:x}=(0,em.h)(),g={localEnabled:x,nationalEnabled:u,stateEnabled:p},y=(0,_.useMemo)(()=>(0,eh.ZF)(o),[o]),b=(0,_.useMemo)(()=>(0,eh.bj)(y,g),[y,g]),N=(0,_.useMemo)(()=>(0,eh.nb)(g,t,y),[g,t,y]),{isLive:S,liveImage:C}=(0,eh.eD)();if((0,_.useEffect)(()=>{let{userAgent:e}=navigator,r=/^((?!chrome|android).)*safari/i.test(e),t=/firefox/i.test(e),s=/edg/i.test(e);a(e=>({...e,isSafariOrFirefox:r||t||s}))},[]),(0,_.useEffect)(()=>{(0,eh.Fd)({callLetters:r,currentSection:y,customHtml:c,protocol:i,showElectionSection:b,siteState:t,url:s},a).then()},[r,i,s,y,b,t,c]),(0,_.useEffect)(()=>{let e=e=>{e.data&&"setHeight"===e.data.type&&a(a=>{let r=`${e.data.height}px`;return{...a,iframeHeight:Number.parseInt(r)>Number.parseInt(a.iframeHeight)?r:a.iframeHeight}})};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[]),!b)return null;let{iframeSrc:w,scripts:A,iframeClass:I,iframeHeight:L,hideScrollbar:R,scrolling:D,loading:W,isSafariOrFirefox:P}=e;return(0,m.jsx)(eo.e,{children:(0,m.jsx)(ed.A,{children:(0,m.jsxs)(eo.N,{children:[(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{style:{height:300}}),showOn:["m","l","xl"],children:(0,m.jsx)("div",{className:eu.premium_ddb_0,children:(0,m.jsx)(ec.A,{children:(0,m.jsx)(v.X,{adClassName:"premium",adName:"premium",pageType:"custom_page"})})})}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{style:{height:150}}),showOn:["s"],children:(0,m.jsx)("div",{className:eu.topBannerAdContainer,children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"custom_page"})})}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{style:{height:110}}),showOn:["xs"],children:(0,m.jsx)("div",{className:eu.topBannerAdContainer,children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"election_results"})})}),(0,m.jsx)(k.A,{adBeforeFooter:[(0,m.jsx)(B.A,{showOn:["m","l","xl"],children:(0,m.jsx)("div",{className:eu.adAfterContent,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"custom_page"})})})],mainChildren:[(0,m.jsxs)(j.A,{className:f()(eu.adWrapper,eu.errorPanel),title:l,children:[W?(0,m.jsx)("div",{className:eu.placeholder,children:"Loading..."}):("state"===y||"national"===y)&&c?(0,m.jsx)(ea.A,{customHtml:c}):(0,m.jsx)(e_,{height:L,hideScrollbar:R,iframeClass:I,sandbox:"allow-scripts allow-same-origin",scripts:A,scrolling:"local"===y&&P?"yes":D,src:w,title:"Election Results"}),(0,m.jsx)("div",{className:eu.electionLinksWrapper,children:(0,m.jsx)(en.G,{backgroundImage:"https://sinclairstoryline.com/resources/defaults/news_3.1/icons/elections/americanFlag.svg",isLive:S,links:N,liveImage:C||"https://www.rollingstone.com/wp-content/uploads/2018/06/obama-4-9075dced-ae82-4ccc-b1ee-384dd7ce5c84.jpg?w=1581&h=1054&crop=1",loading:!1})})]},0),(0,m.jsx)(er.A,{canonicalUrl:d,storyIndex:0,uuid:n})],sideBarChildren:[(0,m.jsx)(j.A,{className:eu.adWrapper,children:(0,m.jsx)(v.X,{adConfig:{adSizes:[[300,250],[300,600]],collapseAfterRequest:!1,collapseBeforeRequest:!1,position:"1",styleName:"Block300"},adName:"rightrail_pos1",pageType:"custom_page"})},1),(0,m.jsx)(T.A,{showOnMobile:!0,storyIndex:0},0),(0,m.jsx)(j.A,{className:eu.adWrapper,children:(0,m.jsx)(v.X,{adConfig:{adSizes:[[300,250],[300,600]],collapseAfterRequest:!1,collapseBeforeRequest:!1,position:"2",styleName:"Block300"},adName:"rightrail_pos2",pageType:"custom_page"})},2)],zeroPadding:!0})]})})})},ex=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:ep,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var eg=r(29183),ey=r(22445),ef=r(3357),ev=r(95062),ej=r.n(ev);let eb={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"Search-module_darkreader--fallback__h7S8","dar
1kreader--text":"Search-module_darkreader--text___D_O","darkreader--invert":"Search-module_darkreader--invert__XNJI","darkreader--inline":"Search-module_darkreader--inline__txi6","darkreader--variables":"Search-module_darkreader--variables__IOj5","darkreader--root-vars":"Search-module_darkreader--root-vars__HJSL","darkreader--user-agent":"Search-module_darkreader--user-agent__sw6T",SearchWrapper:"Search-module_SearchWrapper__ZzJ4",Input:"Search-module_Input__tYGJ",Open:"Search-module_Open__ZsG0",Icon:"Search-module_Icon__gttu",IconRight:"Search-module_IconRight__Oijj"},ek=({componentId:e,style:a,className:r,disabled:t,searchTerm:s,showCloseIcon:i})=>{let[l]=(0,_.useState)(!1),[n,o]=(0,_.useState)(s),d=(0,_.useRef)(null);(0,_.useEffect)(()=>{d.current.value=n},[n]);let c=f()(eb.Search,r,{[eb.Open]:l},{[eb.Disabled]:t}),u=h.pt.SEARCHSITE,p=`${(0,h.Ck)(u)}...`,x=()=>{var e;d.current.value&&(e=d.current.value,window.location.href=`/search?find=${encodeURIComponent(e)}`)};return(0,m.jsx)("div",{className:c,id:e,style:a,children:(0,m.jsxs)("div",{className:eb.SearchWrapper,children:[(0,m.jsx)("button",{className:eb.Icon,disabled:t,onClick:()=>{x()},children:(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/ui/sbg-search-dark.svg"})}),i?(0,m.jsx)("button",{className:eb.IconRight,onClick:e=>{e.preventDefault(),o("")},children:(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/ui/sbg-close-dark.svg"})}):null,(0,m.jsx)("form",{className:eb.Input,onSubmit:e=>{e.preventDefault(),x()},children:(0,m.jsx)("label",{"aria-label":"search",children:(0,m.jsx)("input",{defaultValue:n,name:"find",onChange:()=>{o(d.current.value)},placeholder:p,ref:d,type:"text"})})})]})})};ek.propTypes={className:ej().string,componentId:ej().string,disabled:ej().bool,handleCloseIconClick:ej().func,showCloseIcon:ej().bool,style:ej().object},ek.defaultProps={componentId:"js-Search-Container",searchTerm:""};let eN="index-module_adWrapper__CYVb",eS=()=>{let{textColorThree:e}=(0,ey.D)(),a=(0,eg.N)("(min-width: 1024px)"),r=(0,eg.N)("(min-width: 768px) and (max-width: 1023px)"),t=(0,h.z0)("content.page-data.teaser")??[],s=t?.find(e=>"top_stories_teaser"===e.componentInstanceId)??{};return(0,m.jsxs)(m.Fragment,{children:[a||r?(0,m.jsx)("div",{className:"index-module_pencilAdContainer__TjUa",children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"error_page"})}):null,(0,m.jsx)(k.A,{adBeforeFooter:[(0,m.jsx)("div",{className:"index-module_adBeforeContent__I3Bz",children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"error_page"})})],mainChildren:[(0,m.jsx)(j.A,{className:f()(eN,"index-module_errorPanel__HOmC"),title:"Page Not Found",children:(0,m.jsxs)("div",{className:"index-module_errorWrapper__QeVt",children:[(0,m.jsx)("h3",{children:" Our apologies, the content you requested cannot be found."}),(0,m.jsxs)("p",{children:[" ","Please double-check the URL for proper spelling. You can also use search, choose from one of today's top stories below, or visit the"," ",(0,m.jsxs)("a",{href:"/",style:{color:`${e}`},children:[" ","Home Page."]})]}),(0,m.jsx)(ek,{})]})},0),!(a||r)&&(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"error_page"}),(0,m.jsx)(ef.A,{componentId:"js-TopStories-Container",data:s,teaserNum:7})],sideBarChildren:[a?(0,m.jsx)(j.A,{className:eN,children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"error_page"})},1):r?(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"error_page"}):null,(0,m.jsx)(T.A,{showOnMobile:!0,storyIndex:"0"})]})]})},eC=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:eS,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var ew=r(91367);let eT=(e,a=300)=>{let r=0,t="",s="",i=0,l="";for(let n of e)if("{"===n)s+="<",t+="<",i++,l+="<";else if("}"===n){if(l+=">",1!==s.length||"<"!==s)return`${l.slice(0,Math.max(0,a-1))}...`;s="",t+=">",i++}else 1===s.length?t+=n:r<a&&(r++,t+=n),l+=n;if(s.length>0)return`${l.slice(0,Math.max(0,a-1))}...`;if(0===i){let e=l.split(" ");t="";let r=0;for(;t.length<a&&r<e.length;)t+=`${e[r]} `,r++}return t.length<l.length?t+="...":l},eA={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__sq0q","dar
1kreader--text":"index-module_darkreader--text__Dxls","darkreader--invert":"index-module_darkreader--invert__TzIT","darkreader--inline":"index-module_darkreader--inline__FoAq","darkreader--variables":"index-module_darkreader--variables__fOm2","darkreader--root-vars":"index-module_darkreader--root-vars__G5Wj","darkreader--user-agent":"index-module_darkreader--user-agent__Vful",storyDetails:"index-module_storyDetails__XPEP",thumbnail:"index-module_thumbnail__EN2V",title:"index-module_title__c4Z6",summary:"index-module_summary__qr6n",heroStory:"index-module_heroStory__Rd8u",breakingNews:"index-module_breakingNews__zQmg",secondaryStory:"index-module_secondaryStory__esn2",flexCol:"index-module_flexCol__NFB0",titleContainer:"index-module_titleContainer__ZmuE",heroImage:"index-module_heroImage__adMW",secondaryImage:"index-module_secondaryImage__lYoj",storyType1:"index-module_storyType1__xF6j",storyType2:"index-module_storyType2__IqcG",storyType3:"index-module_storyType3__PhUH",storyType4:"index-module_storyType4__LQDO",playIcon:"index-module_playIcon__rnQ4",transparent:"index-module_transparent___3R5"},eI=({story:e,placeText:a,isHero:r,storyType:t,teaserAttributes:s})=>{let i,l,n,o=(0,m.jsx)(ea.A,{customHtml:eT(e?.summary?e.summary:"",200),isRichText:!0}),d=e?.large16x9Url?.indexOf("resources/defaults")<0||!e?.large16x9Url;return i=!!e?.tags&&1==t&&!!r&&e?.tags.filter(e=>"Major Story"===e.name&&"Display"===e.dimension).length>0,l=(0,m.jsxs)("div",{className:f()(eA.storyDetails),children:[i?(0,m.jsx)("div",{className:eA.breakingNews,children:"BREAKING NEWS"}):null,(0,m.jsxs)("div",{className:eA.titleContainer,children:[(0,m.jsx)("h1",{className:eA.title,children:e?.title}),e?.videoUrl&&4==t&&!r?(0,m.jsx)("img",{alt:"video play icon",className:eA.transparent,src:"/resources/assets/national/images/icons/play-icon.svg"}):null]}),r||2==t?(0,m.jsx)("h2",{className:eA.summary,children:o}):null]}),n=(4!=t||r)&&e?.large16x9Url?(()=>{let a=e?.large16x9Url,t=a.includes("resources/media2/");if(s&&!t){let r=e.large16x9Url.slice(16);a=`/resources/media2/${s.ratio}/full/${s.imageWidth}/center/80${r}`}return(0,m.jsxs)("div",{className:r?eA.heroImage:eA.secondaryImage,children:[d?(0,m.jsx)("img",{alt:`Image for story: ${e?.title}`,className:eA.thumbnail,src:a}):null,e?.videoUrl?(0,m.jsx)("div",{alt:"video play icon",className:eA.playIcon}):null]})})():null,(0,m.jsx)("a",{className:f()("below"==a&&eA.flexCol,eA[`storyType${t}`],r?eA.heroStory:eA.secondaryStory),href:e?.url,children:"left"==a?[l,n]:[n,l]},e?.uuid)};eI.propTypes={isHero:ej().bool,placeText:ej().string,story:ej().shape({summary:ej().string,tags:ej().array,title:ej().string,url:ej().string,uuid:ej().string,videoUrl:ej().string}).isRequired,storyType:ej().oneOf([1,2,3,4]).isRequired};let eL={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__WmWJ","darkreader--text":"index-module_darkreader--text__f7m4","darkreader--invert":"index-module_darkreader--invert__m4Rc","darkreader--inline":"index-module_darkreader--inline__KdcE","darkreader--variables":"index-module_darkreader--variables__U1hk","darkreader--root-vars":"index-module_darkreader--root-vars__igJe","darkreader--user-agent":"index-module_darkreader--user-agent__cH_l",sectionTeaser:"index-module_sectionTeaser__nYff",teaserHeader:"index-module_teaserHeader__AKUG",sectionTitle:"index-module_sectionTitle__Vv74",chevron:"index-module_chevron__pYUC",divider:"index-module_divider__LtTM",stories:"index-module_stories__UNm2",secondaryStories:"index-module_secondaryStories__WKHd",seeMore:"index-module_seeMore__O1By",dotted:"index-module_dotted__um8r",sectionType1:"index-module_sectionType1__rjVd",sectionType2:"index-module_sectionType2__ad5A",sectionType3:"index-module_sectionType3__mDi5",sectionType4:"index-module_sectionType4__G4JD"},eR=({data:e,sectionType:a,teaserAttributes:r})=>{let[t,s]=(0,_.useState)(2!=a&&3!=a),i=(0,eg.N)("(max-width: 767px)"),l=(0,eg.N)("(min-width: 1024px)");(0,_.useEffect)(()=>{i||2!=a&&3!=a?s(!0):s(!1)},[i]);let n=e=>{let a="mobile";return l?a="desktop":i||(a="tablet"),r[e?"hero":"secondary"][a]};return(0,m.jsxs)("div",{className:f()(eL.sectionTeaser,eL[`sectionType${a}`]),children:[(0,m.jsxs)("div",{className:f()(eL.teaserHeader),children:[(0,m.jsx)("div",{className:eL.sectionTitle,children:(0,m.jsxs)("a",{href:e?.data?.moreUrl,children:[e?.title,(0,m.jsx)("img",{alt:"Right chevron icon to see more from section",className:eL.chevron,role:"presentation",src:"/resources/assets/national/images/icons/red-chevron-right.svg"})]})}),(0,m.jsx)("div",{className:eL.divider})]}),(0,m.jsxs)("div",{className:eL.stories,children:[(()=>{if(t)return(0,m.jsx)(eI,{isHero:!0,placeText:l&&4!=a?"right":"below",story:e?.teasers?.[0],storyType:a,teaserAttributes:r?n(!0):null},e?.teasers?.[0]?.uuid)})(),(0,m.jsx)("div",{className:eL.secondaryStories,children:e?.teasers?.slice(+!!t).map(e=>(0,m.jsx)(eI,{placeText:3==a?"below":i||2==a?"left":"below",story:e,storyType:a,teaserAttributes:r?n():null},e?.uuid))})]}),i?(0,m.jsxs)("div",{className:eL.seeMore,children:[(0,m.jsx)("div",{className:eL.dotted}),(0,m.jsx)("a",{href:e?.data?.moreUrl,children:(0,m.jsx)("h4",{children:"SEE MORE"})}),(0,m.jsx)("div",{className:eL.dotted})]}):null]})};eR.propTypes={data:ej().object.isRequired,sectionType:ej().oneOf([1,2,3,4]).isRequired,teaserAttributes:ej().object},eR.defaultProps={data:{},sectionType:1};let eD={hero:{desktop:{imageSize:"large",imageWidth:"585",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"767",ratio:"16x9"},tablet:{imageSize:"large",imageWidth:"1023",ratio:"16x9"}},secondary:{desktop:{imageSize:"large",imageWidth:"293",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"281",ratio:"1x1"},tablet:{imageSize:"large",imageWidth:"512",ratio:"16x9"}}},eW={hero:{desktop:{imageSize:"large",imageWidth:"585",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"767",ratio:"16x9"},tablet:{imageSize:"large",imageWidth:"1023",ratio:"16x9"}},secondary:{desktop:{imageSize:"large",imageWidth:"429",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"281",ratio:"1x1"},tablet:{imageSize:"large",imageWidth:"512",ratio:"16x9"}}},eP={hero:{desktop:{imageSize:"large",imageWidth:"1023",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"767",ratio:"16x9"},tablet:{imageSize:"large",imageWidth:"1023",ratio:"16x9"}},secondary:{desktop:{imageSize:"large",imageWidth:"390",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"384",ratio:"1x1"},tablet:{imageSize:"large",imageWidth:"341",ratio:"16x9"}}},eH={hero:{desktop:{imageSize:"large",imageWidth:"585",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"767",ratio:"16x9"},tablet:{imageSize:"large",imageWidth:"1023",ratio:"16x9"}},secondary:{desktop:{imageSize:"large",imageWidth:"390",ratio:"16x9"},mobile:{imageSize:"large",imageWidth:"384",ratio:"16x9"},tablet:{imageSize:"large",imageWidth:"341",ratio:"16x9"}}},eF=_.memo(e=>{let{sectionsData:a}=e;return Object.keys(a).map((e,r)=>{let t=a[e];if(t){let{attributes:a,sectionType:s}=(e=>{switch(e){case"section_teaser_1":return{attibutes:eD,sectionType:1};case"section_teaser_2":case"section_teaser_3":case"section_teaser_5":case"section_teaser_7":return{attibutes:eP,sectionType:3};default:return{attibutes:eW,sectionType:2}}})(t.componentInstanceId);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{children:(0,m.jsx)(eR,{data:t,sectionType:s,teaserAttributes:a})},e),2===r&&(0,m.jsx)("div",{className:"index-module_adContainer__Hfk3",children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"tnd_home"})})]})}})});var eU=r(81069),eE=r(52722),eM=r(5473);let eB=({width:e=50,height:a=50,color:r="#ededed"})=>
1(0,m.jsxs)("svg",{height:a,id:"Capa_1",style:{enableBackground:"new 0 0 480 480",opacity:"0.3"},version:"1.1",viewBox:"0 0 480 480",width:e,x:"0px",xmlns:"http://www.w3.org/2000/svg",y:"0px",children:[(0,m.jsx)("g",{fill:r,children:(0,m.jsx)("g",{fill:r,children:(0,m.jsxs)("g",{fill:r,children:[(0,m.jsx)("rect",{height:"16",width:"16",x:"56",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"24",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"88",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"120",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"152",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"184",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"216",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"248",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"280",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"312",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"344",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"376",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"408",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"440",y:"136"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"56",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"24",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"88",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"120",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"152",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"184",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"216",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"248",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"280",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"312",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"344",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"376",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"408",y:"392"}),(0,m.jsx)("rect",{height:"16",width:"16",x:"440",y:"392"}),(0,m.jsx)("path",{d:"M472,104h-32V80c0-4.418-3.582-8-8-8h-32V48c0-4.418-3.582-8-8-8H88c-4.418,0-8,3.582-8,8v24H48c-4.418,0-8,3.582-8,8v24\n H8c-4.418,0-8,3.582-8,8v320c0,4.418,3.582,8,8,8h464c4.418,0,8-3.582,8-8V112C480,107.582,476.418,104,472,104z M96,56h288v16\n H96V56z M56,88h368v16H56V88z M464,424H16V120h448V424z"}),(0,m.jsx)("path",{d:"M200,346.504c0,4.418,3.582,8,8,8c1.639,0.001,3.24-0.502,4.584-1.44l106.512-74.512\n c0.763-0.535,1.427-1.199,1.962-1.962c2.535-3.619,1.657-8.607-1.962-11.142l-106.512-74.512\n c-1.345-0.94-2.946-1.444-4.588-1.444c-4.418,0.002-7.998,3.585-7.996,8.004V346.504z M216,212.848L300.552,272L216,331.152\n V212.848z"})]})})}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{}),(0,m.jsx)("g",{})]}),eO=({color:e})=>(0,m.jsx)("aside",{className:"index-module_videoPlaceholderContainer__bVbZ",children:(0,m.jsx)("header",{children:(0,m.jsx)(eB,{color:e,height:80,width:80})})});var eG=r(2224);let ez=["sharingFacebook","sharingTwitter","sharingEmail","sharingEmbed","playlistItem","fullscreen","ready"],eV=({playlist:e,selectedVideo:a,color:r,userRequested:t,onSelectVideo:s,onSetFullScreen:i,onEmptyUnseenList:l,playerSettings:n,setUserRequested:o})=>{if(!a)return console.error("[PureWatchVideo] - selectedVideo is undefined"),null;let d={config:{...(0,eG.PW)(),...n},streaming:!1},[c]=(0,_.useState)((0,eG.M3)(a??{})),[u,h]=(0,_.useState)(!1),[p,x]=_.useState(null);function g(r){let[n,d,c]=r;if("ready"===n.type&&c){x(c);let r=c.playlist.seek(a);c.player.stop(),c.playlist.load([...e],r)}if((0,eG.a5)(...r),"playlistItem"===n.type)if(t)o(!1);else{let e=(0,eG.im)(n.item);s(c.playlist.seek(e))}else"fullscreen"===n.type&&(i(n.fullscreen),n.fullscreen||l())}return(0,_.useEffect)(()=>{document?.onplayerloaded?.then(()=>{globalThis.sinclairVideo.on("create",e=>{x(e)})})},[document.onplayerloaded]),((0,_.useEffect)(()=>{(async function(){(await e).length>0&&(h(!0),p&&t&&(!function(e,a,r){if(!e&&!e.playlist)return console.warn("[PureWatchVideo] seekItem: Inst is undefined");let t=e.playlist.seek(a);if(-1===t){let t=r.findIndex(e=>e.mediaid===a.mediaid);e.playlist.load(r,t),s(t)}else e.playlist.play(t),s(t);o&&o(!1)}(p,a,e),o(!1)))})().then(()=>{})},[a,a.mediaid]),(0,_.useEffect)(()=>
1{if(p){o(!0);let r=e.findIndex(e=>e.mediaid===a.mediaid);p.playlist.load(e,r)}},[e]),u)?(0,m.jsx)("div",{className:c?"hideShareOnSmall":"",children:(0,m.jsx)(eM.A,{container:"js-Video-Container",enableGA:!0,gaEventHandler:(...e)=>new g(e),gaPlayerEvents:ez,playerSettings:d,playlist:e})}):(0,m.jsx)(eO,{color:r})},e$=({className:e})=>(0,m.jsx)("div",{className:f()("LiveBadge-module_liveBox__j6FG",e),children:(0,m.jsx)("p",{className:"LiveBadge-module_liveText__OWwz",children:"LIVE"})});function eX(e,a,r,t){if(null!==e.current){let{offsetTop:s}=e.current,{height:i,x:l,width:n}=e.current.getBoundingClientRect();return{height:i,idx:r,index:a,isLive:t,offsetFromLeft:l,offsetTop:s,width:n}}}e$.propTypes={className:ej().string,componentId:ej().string},e$.defaultProps={componentId:"js-LiveBadge-Container"};let eq={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"HeroTeaser-module_darkreader--fallback__SNtc","darkreader--text":"HeroTeaser-module_darkreader--text__l8n6","darkreader--invert":"HeroTeaser-module_darkreader--invert__k5ph","darkreader--inline":"HeroTeaser-module_darkreader--inline__ZmUc","darkreader--variables":"HeroTeaser-module_darkreader--variables__pI5r","darkreader--root-vars":"HeroTeaser-module_darkreader--root-vars__l3or","darkreader--user-agent":"HeroTeaser-module_darkreader--user-agent__dzur",storyDetails:"HeroTeaser-module_storyDetails__PG4b",thumbnail:"HeroTeaser-module_thumbnail__cP5C",title:"HeroTeaser-module_title__JXXL",summary:"HeroTeaser-module_summary__mvqX",heroStory:"HeroTeaser-module_heroStory__dg4V",breakingNews:"HeroTeaser-module_breakingNews__gVgr",secondaryStory:"HeroTeaser-module_secondaryStory__yB1W",flexCol:"HeroTeaser-module_flexCol__KT0t",titleContainer:"HeroTeaser-module_titleContainer__gYsp",heroImage:"HeroTeaser-module_heroImage__PwDZ",secondaryImage:"HeroTeaser-module_secondaryImage__KRtd",storyType1:"HeroTeaser-module_storyType1__DI2B",storyType2:"HeroTeaser-module_storyType2__ldUl",storyType3:"HeroTeaser-module_storyType3__y8id",storyType4:"HeroTeaser-module_storyType4__fm95",playIcon:"HeroTeaser-module_playIcon__dj2e",transparent:"HeroTeaser-module_transparent__GzNk","hero-teaser-container":"HeroTeaser-module_hero-teaser-container__AnVx","image-container":"HeroTeaser-module_image-container__T8sO",badges:"HeroTeaser-module_badges__ITm6",playingText:"HeroTeaser-module_playingText__Ayb2",currentlyPlaying:"HeroTeaser-module_currentlyPlaying__UlDA"},eY=e=>{let a=_.useRef(null);return(0,_.useEffect)(()=>{e.currentlyPlaying&&e.elFunction(eX(a,e.index,e.idx,!1))},[e.currentlyPlaying]),(0,m.jsxs)("div",{className:f()(eq["hero-teaser-container"],eq[e.layout],e.currentlyPlaying?eq.currentlyPlaying:""),ref:a,children:[(0,m.jsxs)("div",{className:eq["image-container"],children:[(0,m.jsx)("img",{alt:e.title,src:e.img}),(0,m.jsx)("div",{className:eq.playIcon}),(0,m.jsxs)("div",{className:eq.badges,children:[e.isLive?(0,m.jsx)(e$,{}):null,e.currentlyPlaying?(0,m.jsx)("div",{className:eq.playingText,children:"Now Playing"}):null]})]}),(0,m.jsx)("h4",{children:e.title})]})};eY.propTypes={currentlyPlaying:ej().bool,elFunction:ej().func.isRequired,idx:ej().number.isRequired,img:ej().string,index:ej().number.isRequired,layout:ej().string,title:ej().string};let eK={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"VideoPlaylist-module_darkreader--fallback__xfv6","darkreader--text":"VideoPlaylist-module_darkreader--text__GbkP","darkreader--invert":"VideoPlaylist-module_darkreader--invert__aCMw","darkreader--inline":"VideoPlaylist-module_darkreader--inline__mXgI","darkreader--variables":"VideoPlaylist-module_darkreader--variables__wuYb","darkreader--root-vars":"VideoPlaylist-module_darkreader--root-vars__HXhp","darkreader--user-agent":"VideoPlaylist-module_darkreader--user-agent__LJhB","playlist-container":"
1VideoPlaylist-module_playlist-container__N9BT",videoTitle:"VideoPlaylist-module_videoTitle___xPW",playlist:"VideoPlaylist-module_playlist__vW6C","current-video":"VideoPlaylist-module_current-video__m2hP","video-container":"VideoPlaylist-module_video-container__SNiB"},eJ=e=>{let{title:a,videos:r}=e,[t,s]=_.useState(0),[i,l]=_.useState(!1),[n,o]=_.useState(!1),d=_.useRef(null),c=e=>{if(d.current){let{offsetTop:a}=e;d.current.scroll({behavior:"smooth",top:a-57})}};return(0,m.jsxs)("div",{className:eK["playlist-container"],children:[(0,m.jsx)("h3",{children:a}),(0,m.jsx)("span",{children:"Up next:"}),(0,m.jsx)("div",{className:eK["current-video"],children:!e.loading&&(0,m.jsxs)("div",{className:eK["video-container"],children:[(0,m.jsx)(eV,{isFullScreen:n,onEmptyUnseenList:()=>{},onSelectVideo:e=>{s(e)},onSetFullScreen:e=>{o(e.isFullScreen)},playerSettings:{autostart:!0,controls:!0,displaytitle:!0,mute:!0,nextUpDisplay:!0},playlist:r,selectedVideo:r[t],setUserRequested:l,unSeenStreams:[],userRequested:i}),(0,m.jsxs)("div",{className:eK.videoTitle,children:[r[t]&&r[t].isLive?(0,m.jsx)("span",{style:{marginBottom:"auto",marginTop:"auto"},children:(0,m.jsx)(e$,{})}):null,(0,m.jsx)("h4",{children:r[t]?r[t].title:null})]})]})}),(0,m.jsx)("div",{className:eK.playlist,id:"playlist-Items",ref:d,children:!e.loading&&r.map((e,a)=>(0,m.jsx)("div",{className:eK["playlist-item"],onClick:()=>{s(a),l(!0)},children:(0,m.jsx)(eY,{currentlyPlaying:a===t,elFunction:c,idx:a,img:e.image,index:e.index,isLive:e.isLive,layout:"side",scrollWentStartPlaying:!0,title:e.title})},e.mediaid))})]})},eZ=e=>{let[a,r]=_.useState([]),[t,s]=_.useState(!0),i=async(e,a)=>{let r,t=(0,Q.A)(["rendering","site","url"],e);try{r=(await (0,ew.xf)(t,"newest-videos",{limit:a,offset:0,type:"video"})).data.data}catch(e){console.error(e),r=[]}return A.Ay.formatVideoPayloadWithAds(r,{},{injectionKey:1})};_.useEffect(()=>{(async()=>{r(await i(e.facade,30)),s(!1)})()},[]);let l=e.facade?.content["page-data"]?.teaser??[],n={section1Data:l?.find(e=>"section_teaser_1"===e.componentInstanceId)??{},section2Data:l?.find(e=>"section_teaser_2"===e.componentInstanceId)??{},section3Data:l?.find(e=>"section_teaser_3"===e.componentInstanceId)??{},section4Data:l?.find(e=>"section_teaser_4"===e.componentInstanceId)??{},section5Data:l?.find(e=>"section_teaser_5"===e.componentInstanceId)??{},section6Data:l?.find(e=>"section_teaser_6"===e.componentInstanceId)??{},section7Data:l?.find(e=>"section_teaser_7"===e.componentInstanceId)??{}},o=(0,Q.A)(["rendering","site","callLetters"],e.facade);return(0,m.jsxs)("div",{className:"FullMeasureHomeContainer-module_container__KBMn",children:[(0,m.jsx)("div",{className:"FullMeasureHomeContainer-module_nav__G_Au",children:(0,m.jsx)(eU.A,{disableScroll:!0,theme:"light"})}),(0,m.jsx)("div",{className:"FullMeasureHomeContainer-module_banner__X1XC"}),(0,m.jsx)("div",{className:"FullMeasureHomeContainer-module_topAdContainer__jaan",children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"tnd_home"})}),(0,m.jsxs)("div",{className:"FullMeasureHomeContainer-module_teaserSections__pYPq",children:[(0,m.jsx)(eJ,{loading:t,title:"Latest Stories",videos:a}),(0,m.jsx)(eF,{sectionsData:n})]}),(0,m.jsx)("div",{className:"FullMeasureHomeContainer-module_bottomAdContainer__RiCs",children:(0,m.jsx)(v.X,{adName:"banner_pos3",pageType:"tnd_home"})}),(0,m.jsx)(eE.A,{...e.facade,callLetters:o,componentId:"js-PageFooter-Container"})]})},eQ=e=>(0,m.jsx)(eZ,{...e});var e0=r(74695),e1=r(44607);let e2={back:{icon:"/resources/defaults/news_3.0/icons/ui/back-arrow-white.svg",title:"Back To Gallery"},restart:{icon:"/resources/defaults/news_3.0/icons/ui/restart-white.svg",title:"Restart Gallery"}},e6=({componentId:e,type:a,onClickFunc:r})=>{let t=a&&Object.hasOwn(e2,a)?e2[a]:null;return t?(0,m.jsx)("div",{className:"BackToGalleryBar-module_backToGalleryBar__NiB5",id:e,children:(0,m.jsxs)("div",{className:"BackToGalleryBar-module_backText__YUtP",onClick:r,children:[(0,m.jsx)("img",{alt:`${t.title} icon`,src:t.icon}),(0,m.jsx)("span",{children:t.title})]})}):null};e6.propTypes={componentId:ej().string,onClickFunc:ej().func.isRequired,type:ej().string.isRequired},e6.defaultProps={componentId:"js-BackToGallery-Container"};let e3={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"GalleryDesktopHeader-module_darkreader--fallback__apCQ","darkreader--text":"GalleryDesktopHeader-module_darkreader--text__bXVm","dar
1kreader--invert":"GalleryDesktopHeader-module_darkreader--invert__pyBs","darkreader--inline":"GalleryDesktopHeader-module_darkreader--inline__v6as","darkreader--variables":"GalleryDesktopHeader-module_darkreader--variables__VXeH","darkreader--root-vars":"GalleryDesktopHeader-module_darkreader--root-vars__Bw0f","darkreader--user-agent":"GalleryDesktopHeader-module_darkreader--user-agent__YWrh",container:"GalleryDesktopHeader-module_container__HIUx",headerLinks:"GalleryDesktopHeader-module_headerLinks__m5e_",link:"GalleryDesktopHeader-module_link__uLE4",headerIcon:"GalleryDesktopHeader-module_headerIcon__Gvng",imageNumberDesktop:"GalleryDesktopHeader-module_imageNumberDesktop__Dq4Y"},e4=({toggleThumbnails:e,toggleMoreGalleries:a,number:r})=>(0,m.jsxs)("div",{className:e3.container,children:[(0,m.jsxs)("div",{className:e3.headerLinks,children:[(0,m.jsxs)("div",{className:e3.link,onClick:e,children:[(0,m.jsx)("div",{className:e3.headerIcon,children:(0,m.jsx)("img",{alt:"View Thumbnails icon",className:e3.viewThumbnailsIcon,src:"/resources/defaults/news_3.0/icons/ui/view-thumbnails-white.svg"})}),(0,m.jsx)("span",{children:"VIEW THUMBNAILS"})]}),(0,m.jsxs)("div",{className:e3.link,onClick:a,children:[(0,m.jsx)("div",{className:e3.headerIcon,children:(0,m.jsx)("img",{alt:"More Galleries icon",className:e3.moreGalleriesIcon,src:"/resources/defaults/news_3.0/icons/ui/more-galleries-white.svg"})}),(0,m.jsx)("span",{children:"MORE GALLERIES"})]})]}),(0,m.jsx)("span",{className:e3.imageNumberDesktop,children:r})]});var e8=r(36487),e9=r(4034);let e5="SeeMoreDropButton-module_buttonContent__eaLW",e7="SeeMoreDropButton-module_arrow__pdBB",ae=({isOpen:e,toggleIsOpen:a,customText:r,buttonColor:t,lightText:s,notInline:i})=>(0,m.jsx)("div",{className:f()("SeeMoreDropButton-module_seeMoreDropButton__oitF",i?"SeeMoreDropButton-module_notInline__iOYX":"",s?"SeeMoreDropButton-module_lightText__Tggr":"SeeMoreDropButton-module_darkText__pTAu"),onClick:()=>a(!e),children:e?(0,m.jsxs)("div",{className:e5,children:[r||"See Less",(0,m.jsx)(e9.A,{className:e7,color:t,height:7,width:12})]}):(0,m.jsxs)("div",{className:e5,children:[r||"See More",(0,m.jsx)(e8.A,{className:e7,color:t,height:7,width:12})]})});ae.propTypes={buttonColor:ej().string,customText:ej().string,isOpen:ej().bool.isRequired,lightText:ej().bool,notInline:ej().bool,toggleIsOpen:ej().func.isRequired},ae.defaultProps={buttonColor:"#1B89FF"};let aa=({caption:e,captionTitle:a,lightText:r=!1})=>{let[t,s]=(0,_.useState)(!1),[i,l]=(0,_.useState)(""),n=(0,e0.d4)(e=>e.storyUrl),{textColorThree:o}=(0,ey.D)();(0,_.useEffect)(()=>{if(e?.length>=300){let a=eT(e);a?.length<e?.length&&(l(a),s(!1))}else l(""),s(!0)},[e]);let d=(0,m.jsx)(ea.A,{customHtml:e,isRichText:!0}),c=0===i.length?d:(0,m.jsxs)(m.Fragment,{children:[t?d:(0,m.jsx)(ea.A,{customHtml:i,isRichText:!0}),"\xa0\xa0",(0,m.jsx)("span",{}),(0,m.jsx)(ae,{buttonColor:o,isOpen:t,lightText:!0,toggleIsOpen:s})]});return(0,m.jsxs)("div",{className:f()("GalleryDetail-module_galleryDetail__kX6J",r?"GalleryDetail-module_lightText__K6WG":"GalleryDetail-module_darkText__Tyd6"),children:[(0,m.jsxs)("div",{className:"GalleryDetail-module_captionWrapper__aI0b",children:[(0,m.jsx)("h1",{className:"GalleryDetail-module_captionTitle__xYyd",children:a}),(0,m.jsx)("span",{className:"GalleryDetail-module_captionBody__xzKj",children:c})]}),n?(0,m.jsx)("div",{className:"GalleryDetail-module_readStoryWrapper__ZCnR",children:(0,m.jsxs)("a",{className:"GalleryDetail-module_readStoryButton__C3Jk",href:n,children:[(0,m.jsx)("img",{alt:"read story icon",className:"GalleryDetail-module_readStoryIcon__Gr00",src:"/resources/defaults/news_3.0/icons/ui/read-story-white.svg"}),(0,m.jsx)("span",{children:"READ THE ARTICLE"})]})}):null,(0,m.jsx)("div",{className:"GalleryDetail-module_divider__KhIK"})]})};aa.propTypes={caption:ej().string.isRequired,captionTitle:ej().string.isRequired,lightText:ej().boolean};var ar=r(34820);let at="TOGGLE_DISPLAY_MODAL",as="TOGGLE_DISPLAY_THUMBNAILS",ai="TOGGLE_DISPLAY_MORE_GALLERIES",al="SET_CURRENT_IMAGE",an="SET_DERIVED_IMAGES",ao="SHOULD_FETCH_AD",ad="SET_REFERRER_URL",ac="SET_STORY_URL",am="SET_FIRST_IMAGE",a_
1="SET_GALLERY_DATA",au="SET_CANONICAL_URL",ah="TOGGLE_END_OF_GALLERY",ap="SET_RELATIVE_GALLERY_URL",ax="SET_GALLERY_URL_SLUG";function ag(e){return void 0===e?{type:at,payload:void 0}:{type:at,payload:e}}function ay(e){return void 0===e?{type:as,payload:void 0}:{type:as,payload:e}}function af(e){return{type:al,payload:e}}function av(e){return void 0===e?{type:ah,payload:void 0}:{type:ah,payload:e}}var aj=r(45468);let ab=({loading:e,label:a,idx:r,clickHandler:t,isCarouselAd:s})=>(0,m.jsxs)("div",{className:"TeaserAd-module_adGroup__yL3n",children:[s&&e?(0,m.jsx)(aj.A,{active:e}):null,(0,m.jsx)(v.X,{adConfig:{adSizes:[[300,250]],collapseAfterRequest:!0,collapseBeforeRequest:!0,position:"1",styleName:"Block300"},adIndex:r,adName:"galleryAd",pageType:"gallery"}),s&&!e&&t?(0,m.jsx)("div",{className:"TeaserAd-module_wrapper__x8aJ",children:(0,m.jsx)("div",{className:"TeaserAd-module_skipAdButton__fzUy",onClick:()=>{t(r)},children:a})}):null]}),ak="GalleryHero-module_slide__sptD",aN="GalleryHero-module_innerSlide__JUwU",aS="GalleryHero-module_heroImage__oG8U",aC=({handleSetCurrentImage:e})=>{let[a]=(0,_.useState)(!1),[r,t]=(0,_.useState)(""),[s,i]=(0,_.useState)("right"),l=(0,e0.d4)(e=>e.currentImage),n=(0,e0.d4)(e=>e.derivedImages),o=(0,e0.d4)(e=>e.derivedMobileImages),d=(0,e0.d4)(e=>e.firstImage),[c,u]=(0,ar.A)({skipSnaps:!1,speed:15,startIndex:d}),h=(0,eg.N)("(max-width: 1024px)"),p=(0,e0.wA)(),x=(0,_.useCallback)(()=>{if(u){let a=u.selectedScrollSnap();h&&(u.previousScrollSnap()<a?i("right"):i("left")),a===u.slideNodes().length-1?p(av()):e(a)}},[u]),g=e=>{37===e.keyCode?u.scrollPrev():39===e.keyCode&&u.scrollNext()};return(0,_.useEffect)(()=>{u&&u.on("select",x)},[u,x]),(0,_.useEffect)(()=>{u&&l!==u.selectedScrollSnap()&&u.reInit({speed:15,startIndex:l})},[l,u]),(0,_.useEffect)(()=>(document.addEventListener("keydown",g),()=>{document.removeEventListener("keydown",g)}),[u]),(0,_.useEffect)(()=>{u&&u.reInit({draggable:!a})},[u,a]),(0,m.jsx)("div",{className:"GalleryHero-module_container__lnpL",children:(0,m.jsx)("div",{className:f()("GalleryHero-module_carousel__MmIQ",(()=>{if("left"===r){if(0!==l)return"GalleryHero-module_leftArrowCursor__v3Fu"}else if("right"===r)return"GalleryHero-module_rightArrowCursor__wJoP";return""})()),onClick:h?null:()=>{"left"===r?u.scrollPrev():"right"===r&&u.scrollNext()},onMouseLeave:()=>t(""),onMouseMove:e=>{let a=e.clientX-e.currentTarget.offsetLeft,r=e.currentTarget.offsetWidth/2;a<r?t("left"):a>=r&&t("right")},ref:c,children:(0,m.jsxs)("div",{className:"GalleryHero-module_slideContainer__G5n4",children:[h?o.map((e,r)=>(0,m.jsx)("div",{className:ak,children:(0,m.jsx)("div",{className:aN,children:e.isAd?(0,m.jsx)("div",{className:"GalleryHero-module_adSpacer__e04B",children:(0,m.jsx)(ab,{adId:"interstitial",clickHandler:()=>void("left"===s?u.scrollPrev():u.scrollNext()),idx:r,isCarouselAd:"true",label:"skip ad",loading:a})}):(0,m.jsx)("img",{alt:`${e.title} photo ${e.index}`,className:aS,src:e.originalUrl})},r)},r)):n.map((e,a)=>(0,m.jsx)("div",{className:ak,children:(0,m.jsx)("div",{className:aN,children:(0,m.jsx)("img",{alt:`${e.title} photo ${a+1}`,className:aS,src:e.originalUrl})},a)},a)),(0,m.jsx)("div",{className:ak},h?o.length:n.length)]})})})};var aw=r(55800);let aT=({color:e})=>{let a=(0,e0.d4)(e=>e.galleryData),r=(0,e0.d4)(e=>e.galleryUrlSlug),t=(0,e0.d4)(e=>e.currentPage),s=`${r}?photo=${t}`;return(0,m.jsxs)("div",{className:"GallerySocialIcons-module_container__qjhi",children:[(0,m.jsx)("span",{className:"GallerySocialIcons-module_title__DP9q",children:"SHARE"}),(0,m.jsx)(aw.A,{canonicalUrl:s,color:e,headline:a.story.headline,pageType:"gallery"})]})},aA={container:"GalleryOptionsModal-module_container__O2rc",modal:"GalleryOptionsModal-module_modal__AleS",options:"GalleryOptionsModal-module_options__rWvM",optionItem:"GalleryOptionsModal-module_optionItem__EFDE",iconWrapper:"GalleryOptionsModal-module_iconWrapper__vNUL",optionText:"GalleryOptionsModal-module_optionText__Hbqq",divider:"GalleryOptionsModal-module_divider__lLki",shareWrapper:"GalleryOptionsModal-module_shareWrapper__b69f",shareText:"GalleryOptionsModal-module_shareText__i6bp",shareLinks:"GalleryOptionsModal-module_shareLinks__MqBk",shareIcon:"GalleryOptionsModal-module_shareIcon__HDeb"},aI=({toggleModal:e,toggleThumbnails:a,toggleMoreGalleries:r,hideGalleryOptions:t})=>{let s=(0,e0.d4)(e=>e.storyUrl);return(0,m.jsx)("div",{className:aA.container,onClick:e,children:(0,m.jsxs)("div",{className:aA.modal,onClick:e=>e.stopPropagation(),children:[!t&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:aA.options,children:[(0,m.jsxs)("div",{className:aA.optionItem,onClick:r=>{r.stopPropagation(),a(),e()},children:[(0,m.jsx)("div",{className:aA.iconWrapper,children:(0,m.jsx)("img",{alt:"view thumbnails icon",className:aA.viewThumbnailsIcon,src:"/resources/defaults/news_3.0/icons/ui/view-thumbn
1ails-black.svg"})}),(0,m.jsx)("span",{className:aA.optionText,children:"VIEW THUMBNAILS"})]}),s?(0,m.jsxs)("a",{className:aA.optionItem,href:s,children:[(0,m.jsx)("div",{className:aA.iconWrapper,children:(0,m.jsx)("img",{alt:"read story icon",className:aA.readStoryIcon,src:"/resources/defaults/news_3.0/icons/ui/read-story-black.svg"})}),(0,m.jsx)("span",{className:aA.optionText,children:"READ THE ARTICLE"})]}):null,(0,m.jsxs)("a",{className:aA.optionItem,onClick:a=>{a.stopPropagation(),r(),e()},children:[(0,m.jsx)("div",{className:aA.iconWrapper,children:(0,m.jsx)("img",{alt:"more galleries icon",className:aA.moreGalleriesIcon,src:"/resources/defaults/news_3.0/icons/ui/more-galleries-black.svg"})}),(0,m.jsx)("span",{className:aA.optionText,children:"SEE MORE GALLERIES"})]})]}),(0,m.jsx)("div",{className:aA.divider})]}),(0,m.jsx)(aT,{color:"black"})]})})},aL="GalleryRestart-module_link__l3LD",aR="GalleryRestart-module_linkIcon__uZCA",aD=({galleryImageUrl:e,galleryTitle:a,onRestart:r,onClose:t,componentId:s,homeUrl:i})=>{let l=(0,e0.wA)(),n=(0,e0.d4)(e=>e.storyUrl);return(0,m.jsxs)("div",{className:"GalleryRestart-module_galleryRestartContainer__HspE",id:s,onClick:e=>e.stopPropagation(),children:[(0,m.jsxs)("div",{className:"GalleryRestart-module_topBar__CokN",children:[(0,m.jsx)("a",{href:i,children:(0,m.jsx)("img",{alt:"Station logo",className:"GalleryRestart-module_stationLogo__k7aY",src:(0,h.z0)("rendering.site.headerLogoImageUrl")})}),(0,m.jsx)("span",{className:"GalleryRestart-module_closeButtonImageWrapper__KNws",onClick:t,children:(0,m.jsx)("img",{alt:"Close icon",src:"/resources/defaults/news_3.0/icons/ui/close-button-white.svg"})})]}),(0,m.jsxs)("div",{className:"GalleryRestart-module_galleryInfo__aW6M",children:[(0,m.jsxs)("div",{className:"GalleryRestart-module_galleryTeaser__wSex",onClick:()=>r(),children:[e?(0,m.jsx)("img",{alt:`${a} teaser`,className:"GalleryRestart-module_image__J96n",src:e}):null,(0,m.jsx)("span",{className:"GalleryRestart-module_headline__iQdC",children:a})]}),(0,m.jsxs)("div",{className:"GalleryRestart-module_galleryLinks__WgbM",children:[(0,m.jsxs)("div",{className:aL,onClick:()=>r(),children:[(0,m.jsx)("div",{className:aR,children:(0,m.jsx)("img",{alt:"Restart Gallery icon",src:"/resources/defaults/news_3.0/icons/ui/restart-white.svg"})}),(0,m.jsx)("span",{children:"RESTART GALLERY"})]}),n?(0,m.jsxs)("a",{className:aL,href:n,children:[(0,m.jsx)("div",{className:aR,children:(0,m.jsx)("img",{alt:"Read The Article icon",src:"/resources/defaults/news_3.0/icons/ui/read-story-white.svg"})}),(0,m.jsx)("span",{children:"READ THE ARTICLE"})]}):null,(0,m.jsxs)("div",{className:aL,onClick:()=>l(ag()),children:[(0,m.jsx)("div",{className:aR,children:(0,m.jsx)("img",{alt:"Share icon",src:"/resources/defaults/news_3.0/icons/ui/share-icon-white.svg"})}),(0,m.jsx)("span",{children:"SHARE"})]})]})]}),(0,m.jsx)("div",{className:"GalleryRestart-module_divider__RgLn"})]})};aD.propTypes={componentId:ej().string,galleryImageUrl:ej().string,galleryTitle:ej().string,onClose:ej().func.isRequired,onRestart:ej().func.isRequired},aD.defaultProps={componentId:"js-GalleryRestart-Container"};let aW=({toggleThumbnails:e,goToImage:a})=>{let r=(0,e0.d4)(e=>e.currentImage),t=(0,e0.d4)(e=>e.derivedImages),s=(0,eg.N)("(max-width: 1024px)");return(0,m.jsxs)("div",{className:"GalleryThumbnailView-module_thumbnailContainer__UCuL",id:"js-ThumbnailView-Container",onClick:e=>e.stopPropagation(),children:[(0,m.jsx)(e6,{componentId:"js-BackToGallery-Container",onClickFunc:e,type:"back"}),(0,m.jsx)("div",{className:"GalleryThumbnailView-module_galleryImagesArr__wo1d",id:"js-GalleryImages-Container",children:t.map((e,t)=>{let i=s?Math.floor(r/5):0,l=t===r-i,n=e?.large36x25Url?.split("/")||[];return n[5]=n.length>=6&&s?"300":"600",n=n.join("/"),(0,m.jsx)("div",{className:"GalleryThumbnailView-module_thumbnail__hs52",children:(0,m.jsx)("img",{alt:e.caption?e.caption:e.title,className:l?"GalleryThumbnailView-module_selected__rvpe":"",onClick:()=>a(t),src:n})})})})]})},aP=({caption:e,buttonColor:a,lightText:r})=>{let[t,s]=(0,_.useState)(!1);return(0,m.jsxs)("div",{className:f()("MobileCaptionBar-module_mobileCaptionBar__kSbJ",{"MobileCaptionBar-module_noCaption__sqxP":void 0===e||0===e.length}),children:[t?(0,m.jsx)("div",{className:"MobileCaptionBar-module_captionWrapper__GHfD",children:(0,m.jsx)("span",{className:f()("MobileCaptionBar-module_captionText__OXha",r?"MobileCaptionBar-module_lightText__YFqq":"MobileCaptionBar-module_darkText__lGcp"),children:(0,m.jsx)(ea.A,{customHtml:e,isRichText:!0})})}):null,(0,m.jsx)("div",{className:f()("MobileCaptionBar-module_captionButtonWrapper__uOUN",t?"MobileCaptionBar-module_open__lImq":""),children:(0,m.jsx)(ae,{buttonColor:a,customText:"Caption",isOpen:t,lightText:r,notInline:!0,toggleIsOpen:s})})]})};aP.propTypes={caption:ej().string.isRequired};var aH=r(14185);let aF=({moreGalleriesData:e,componentId:a,className:r})=>{let t=(0,eg.N)("(max-width: 1024px)"),s=(0,e0.d4)(e=>e.derivedMobileImages);return(0,m.jsx)("div",{className:f()("MoreGalleries-module_moreGalleriesContainer__Reiv",r),id:a,onClick:e=>e.stopPropagation(),children:(0,m.jsxs)("div",{className:"MoreGalleries-module_moreGalleriesContent__HAnV",children:[(0,m.jsx)("span",{className:"MoreGalleries-module_moreGalleriesHeader__p6ea",children:"You May Also Like These Photo Galleries"}),(0,m.jsx)("div",{className:"MoreGalleries-module_moreGalleriesList__ZUbF",children:e.map((a,r)=>
1(0,m.jsxs)(m.Fragment,{children:[t&&2===r?(0,m.jsx)("div",{className:"MoreGalleries-module_moreGalleriesAdWrapper__mxrn",children:(0,m.jsx)(ab,{adId:"interstitial",idx:s.length})},e.length):null,(0,m.jsx)("div",{className:"MoreGalleries-module_moreGalleriesListItem__h4VR",children:(0,m.jsx)(aH.A,{className:"galleryMobile",teaser:a,teaserAttributes:N.A.gallerySectionPrimary,teaserType:"gallery"})},r)]}))})]})})};aF.propTypes={className:ej().string,componentId:ej().string,moreGalleriesData:ej().arrayOf(ej().shape({imagesCount:ej().number,medium16x9Url:ej().string,teaserStatus:ej().arrayOf(ej().string),title:ej().string,url:ej().string}))},aF.defaultProps={componentId:"js-MoreGalleries-Container"};let aU={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"GalleryContainer-module_darkreader--fallback__spaY","darkreader--text":"GalleryContainer-module_darkreader--text__CujP","darkreader--invert":"GalleryContainer-module_darkreader--invert__Z5L2","darkreader--inline":"GalleryContainer-module_darkreader--inline__WqIz","darkreader--variables":"GalleryContainer-module_darkreader--variables__TXGw","darkreader--root-vars":"GalleryContainer-module_darkreader--root-vars__QXOF","darkreader--user-agent":"GalleryContainer-module_darkreader--user-agent__KHY5",container:"GalleryContainer-module_container__f4Tv",mainContent:"GalleryContainer-module_mainContent__bc22",mobileHeader:"GalleryContainer-module_mobileHeader__ialw",headerContent:"GalleryContainer-module_headerContent__mV3r",modalButton:"GalleryContainer-module_modalButton__VL9J",imageNumberMobile:"GalleryContainer-module_imageNumberMobile__zGJl",exitButtonWrapper:"GalleryContainer-module_exitButtonWrapper__LVLj",exitButton:"GalleryContainer-module_exitButton__YTLF",mobileHeaderHide:"GalleryContainer-module_mobileHeaderHide__WpPo",bottomAdWrapper:"GalleryContainer-module_bottomAdWrapper__ksx9",rightRail:"GalleryContainer-module_rightRail__xFjX",rightRailContent:"GalleryContainer-module_rightRailContent__N5qo",mockRightRailAd:"GalleryContainer-module_mockRightRailAd__ZK1B",mobileAdContainer:"GalleryContainer-module_mobileAdContainer__XCZv",mobileAdCenterWrapper:"GalleryContainer-module_mobileAdCenterWrapper__lQnf",moreGalleries:"GalleryContainer-module_moreGalleries__ZTy8",moreGalleriesRestart:"GalleryContainer-module_moreGalleriesRestart__WXrR"};function aE(e){let{relativeGalleryUrl:a}=(0,h.z0)("rendering"),r=a.includes("?")?"&":"?",t=`${a}${r}photo=${e}`;ga("send","pageview",t),ga("storylineAll.send","pageview",t),"u">typeof COMSCORE&&COMSCORE.beacon({c1:"2",c2:"19578925",c4:t,cj:"1",cv:"2.0"})}let aM=(e,a)=>(null===globalThis.sessionStorage.getItem(e)&&globalThis.sessionStorage.setItem(e,(e=>{let a=new URL(globalThis.location.href),r=`${a.protocol}//${a.hostname}`;if(""===e)return r;let t=new URLSearchParams(globalThis.location.search);t.delete("photo");let s=t.toString(),i=`${r}${a.pathname}`,l=s?`${i}?${s}`:i;try{let r=new URL(e);if(a.hostname===r.hostname&&r.toString()!==l)return r.toString()}catch(e){console.debug(e)}return r})(a)),globalThis.sessionStorage.getItem(e)),aB=()=>{let e,a=(0,e0.d4)(e=>e.displayModal),t=(0,e0.d4)(e=>e.shouldFetchAd),s=(0,e0.d4)(e=>e.displayThumbnails),i=(0,e0.d4)(e=>e.displayMoreGalleries),l=(0,e0.d4)(e=>e.displayEndOfGallery),n=(0,e0.d4)(e=>e.derivedImages),o=(0,e0.d4)(e=>e.derivedMobileImages),d=(0,e0.d4)(e=>e.currentImage),c=(0,e0.d4)(e=>e.currentPage),u=(0,e0.wA)(),p=globalThis?`${globalThis.location.protocol}//${globalThis.location.hostname}${globalThis.location.port?`:${globalThis.location.port}`:""}`:"",x=(0,eg.N)("(min-width: 1025px)"),g=(0,eg.N)("(max-width: 1024px)"),y="gallery-referrer-url";if("u"<typeof globalThis)return null;(0,_.useEffect)(()=>{if(n.length>0){let e=g?o[c-1].index:n[c-1].index;Number.isNaN(e)||history.replaceState({},"",(0,e1.z$)(location.search,e)),t&&g||aE(e)}},[t,c,n]),(0,_.useEffect)(()=>{r.e(213).then(r.t.bind(r,88338,23)).then(e=>{(0,e.default)()}),ga("send","event","Galleries","land","Gallery Instantiation",{nonInteraction:!0}),u({type:ad,payload:aM(y,document.referrer)})},[]);let f=(0,h.z0)("rendering.canonicalUrlOverride")||(0,h.z0)("rendering.canonicalUrl");if(f&&u({type:au,payload:f}),(0,h.z0)("content.component_gallery.images")){u({type:a_,payload:e=(0,h.z0)("content.component_gallery")});let a=e?.story?.storyUrl,r=e?.story?.canonicalUrl,t=(0,h.z0)("rendering.relativeGalleryUrl");u({type:ac,payload:a&&a!==t&&!t?.includes(a)?a:""}),u({type:ax,payload:r??""}),u({type:ap,payload:t})}let{textColorThree:j}=(0,ey.D)(),b=e=>{e&&e.stopPropagation(),x?u(ag(!1)):u(ag())};(0,_.useEffect)(()=>{var a;let r,t,s;a=Object.keys(e.images).length,s=Number.isNaN(t=void 0===(r=(0,e1.JO)(location.search)).photo?0:Number.parseInt(r.photo)-1)||t<1||t>a-1?0:t,u({type:an,payload:{images:(e=>{let a=[];for(let r of Object.keys(e))a.push(e[r]);return a.sort((e,a)=>e.index>a.index?1:-1)})(e.images),firstPhotoIndex:s}}),0===s&&history.replaceState({},"",(0,e1.z$)(location.search,s+1))},[u]);let k=()=>{u(ay())},N=()=>{u({type:ai,payload:void 0})},S=()=>{u(av()),u(af(0))},C=()=>{let e=aM(y,document.referrer);globalThis.sessionStorage.removeItem(y),window.location.href=e};return(0,m.jsxs)("div",{className:aU.container,children:[(0,m.jsxs)("div",{className:aU.mainContent,children:[(0,m.jsx)("nav",{className:a||s||i||l||t?aU.mobileHeaderHide:aU.mobileHeader,children:(0,m.jsxs)("div",{className:aU.headerContent,children:[(0,m.jsx)("div",{className:aU.modalButton,onClick:b,children:(0,m.jsx)("img",{alt:"Menu icon",className:aU.menuIcon,src:"/resources/defaults/news_3.0/icons/ui/menu-icon-white.svg"})}),(0,m.jsxs)("span",{className:aU.imageNumberMobile,children:[c-Math.floor(c/5),"/",e.imgCount]}),(0,m.jsx)("div",{className:aU.exitButtonWrapper,children:(0,m.jsx)("div",{className:aU.exitButton,onClick:C,children:(0,m.jsx)("img",{alt:"Close icon",className:aU.closeIcon,src:"/resources/defaults/news_3.0/icons/ui/close-button-white.svg"})})})]})}),s?(0,m.jsx)(aW,{goToImage:e=>{let a=Math.floor(e/4);u(af(g?e+a:e)),u(ay(!1))},toggleThumbnails:k}):i?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(e6,{componentId:"js-BackToGallery-Container",onClickFunc:N,type:"back"}),(0,m.jsx)(aF,{className:aU.moreGalleries,componentId:"js-MoreGalleries-Container",moreGalleriesData:e.story.relatedGalleries})]}):l?(0,m.jsxs)(m.Fragment,{children:[x?(0,m.jsx)(e6,{componentId:"js-GalleryRestart-Container",onClickFunc:S,type:"restart"}):(0,m.jsx)(aD,{componentId:"js-GalleryRestart-Container",galleryImageUrl:e.story.teaserImage?e.story.teaserImage.image.originalUrl:null,galleryTitle:e.story.headline,homeUrl:p,onClose:C,onRestart:S}),(0,m.jsx)(aF,{className:aU.moreGalleriesRestart,componentId:"js-MoreGalleries-Container",moreGalleriesData:e.story.relatedGalleries})]}):(0,m.jsxs)(m.Fragment,{children:[!(g&&t)&&(0,m.jsx)(e4,{number:`${c}/${e.imgCount}`,toggleMoreGalleries:N,toggleThumbnails:k}),(0,m.jsx)(aC,{handleSetCurrentImage:e=>{u(af(e))}})]}),(0,m.jsx)("div",{className:aU.bottomAdWrapper,children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"gallery"})}),!(s||i||l||t)&&(0,m.jsx)(aP,{buttonColor:j,caption:o[d]?o[d].caption:"",lightText:!0})]}),(0,m.jsx)("div",{className:aU.rightRail,children:(0,m.jsxs)("div",{className:aU.rightRailContent,children:[(0,m.jsx)("div",{className:aU.exitButtonWrapper,children:(0,m.jsx)("div",{className:aU.exitButton,onClick:C,children:(0,m.jsx)("img",{alt:"Close icon",className:aU.closeIcon,src:"/resources/defaults/news_3.0/icons/ui/close-button-white.svg"})})}),(0,m.jsx)(aa,{caption:n[d]?n[d].caption:"",captionTitle:n[d]?n[d].title:"",lightText:!0}),(0,m.jsx)(aT,{}),(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"gallery"})]})}),(0,m.jsx)("div",{style:{display:a?"":"none"},children:(0,m.jsx)(aI,{hideGalleryOptions:l,toggleModal:b,toggleMoreGalleries:N,toggleThumbnails:k})})]})};var aO=r(32987),aG=r(10958),az=r(19288);let aV=e=>(0,aG.y$)(e,(0,az.tY)((0,aG.Tw)(aO.A))),{kg:a$,Yj:aX,Z6:aq,J3:aY,x9:aK,aG:aJ,b$:aZ,V3:aQ,_e:a0,VP:a1,gr:a2,QL:a6,Lg:a3,uX:a4}=o,a8={displayModal:!1,displayThumbnails:!1,displayMoreGalleries:!1,shouldFetchAd:!1,currentImage:0,currentPage:1,derivedImages:[],derivedMobileImages:[],referrerUrl:"",storyUrl:"",firstImage:0,galleryData:{},displayEndOfGallery:!1,relativeGalleryUrl:"",galleryUrlSlug:""},a9=aV(function(e=a8,a){switch(a.type){case a$:return{...e,displayModal:void 0===a.payload?!e.displayModal:a.payload};case aX:return{...e,displayThumbnails:void 0===a.payload?!e.displayThumbnails:a.payload};case aq:return{...e,displayMoreGalleries:void 0===a.payload?!e.displayMoreGalleries:a.payload};case aY:return{...e,currentImage:a.payload,currentPage:a.payload+1,shouldFetchAd:(a.payload+1)%5==0};case aJ:let r=a.payload.images.slice(0),t=0;for(let e=0;e<r.length;e++)e%5==4?(r.splice(e,0,{isAd:!0,adsBefore:t}),t+=1):(r[e].isAd=!1,r[e].adsBefore=t);let s=a.payload.firstPhotoIndex+Math.floor(a.payload.firstPhotoIndex/4);return[r[0],r[s]]=[r[s],r[0]],[a.payload.images[0],a.payload.images[a.payload.firstPhotoIndex]]=[a.payload.images[a.payload.firstPhotoIndex],a.payload.images[0]],{...e,derivedImages:a.payload.images,derivedMobileImages:r,mobileAdSlots:t,currentImage:0,firstImage:0};case aZ:if(""===e.referrerUrl)return{...e,referrerUrl:a.payload};return{...e};case aQ:return{...e,storyUrl:a.payload};case aK:return{...e,shouldFetchAd:a.payload};case a0:return{...e,firstImage:a.payload};case a1:return{...e,galleryData:a.payload};case a2:return{...e,canonicalUrl:a.payload};case a6:return{...e,displayEndOfGallery:void 0===a.payload?!e.displayEndOfGallery:a.payload};case a3:return{...e,relativeGalleryUrl:a.payload};case a4:return{...e,galleryUrlSlug:a.payload};default:return e}}),a5=e=>(0,m.jsx)(e0.Kq,{store:a9,children:(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:aB,...e,disableAlerts:!0,disableHeader:!0,...e.facade,userMetaData:e.userInfo})})});var a7=r(83327),re=r(31749);let ra={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__ev1S","darkreader--text":"index-module_darkreader--text__hXEv","dar
1kreader--invert":"index-module_darkreader--invert__JSZd","darkreader--inline":"index-module_darkreader--inline__aIhk","darkreader--variables":"index-module_darkreader--variables__ypBe","darkreader--root-vars":"index-module_darkreader--root-vars__FENN","darkreader--user-agent":"index-module_darkreader--user-agent__QCT3",listSectionContainer:"index-module_listSectionContainer__IRgm",adBeforeFooter:"index-module_adBeforeFooter__gyHz",mobileAd:"index-module_mobileAd__rTp3",adBeforeContent:"index-module_adBeforeContent__WtAl",listSectionTrending:"index-module_listSectionTrending__NPaV",topRightRailAd:"index-module_topRightRailAd__wnrN"},rr=()=>{let e=(0,eg.N)("(min-width: 1024px)"),a=(0,eg.N)("(min-width: 768px)"),r=(0,h.z0)("content.page-data.teaser")?.find(e=>"list_section_teaser_list"===e.componentInstanceId),t=r?.teasers??[],s=r?.data?.trendingDisabled,i=r?.data?.adsDisabled,l=a=>{if(!i)return e?(0,m.jsx)(j.A,{className:ra.topRightRailAd,children:(0,m.jsx)(v.X,{adName:`rightrail_pos${a}`,pageType:"section"})}):(0,m.jsx)("div",{className:ra.mobileAd,children:(0,m.jsx)(v.X,{adName:`rightrail_pos${a}`,pageType:"section"})})},n=[(0,m.jsxs)("div",{className:ra.listSectionSidebar,children:[l(1),!s&&(0,m.jsx)("div",{className:ra.listSectionTrending,children:(0,m.jsx)(T.A,{adType:"Native",showOnMobile:!0,storyIndex:0},0)}),l(2)]})];return(0,m.jsxs)("div",{className:ra.listSectionContainer,id:"js-ListSection-Container",children:[a&&!i?(0,m.jsx)("div",{className:ra.adBeforeContent,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"section"})}):null,(0,m.jsx)(k.A,{adBeforeFooter:e&&!i?(0,m.jsx)("div",{className:ra.adBeforeFooter,children:(0,m.jsx)(v.X,{adName:"banner_pos3",pageType:"section"})}):null,className:ra.PageGrid,mainChildren:(0,m.jsx)(re.A,{componentId:"js-ListSection-List",isListSection:!0,teaserList:t||[],title:(0,h.z0)("rendering.pageTitle")},0),sideBarChildren:n})]})},rt=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:rr,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})}),rs=e=>{let a=((0,Q.A)(["rendering","section","data","customJson"],e.facade)??{}).redirectTo;return"u"<typeof globalThis?(0,m.jsx)("div",{}):(a?globalThis.location.href=a:globalThis.location.href="/error",(0,m.jsx)("div",{children:"Redirecting..."}))};var ri=r(6920);let rl={circle:"index-module_circle__GJCz",icon:"index-module_icon__MROe",facebook:"index-module_facebook__mMum","hover-color":"index-module_hover-color__E5ga",twitter:"index-module_twitter__OdLa",linkedin:"index-module_linkedin__IYqD",instagram:"index-module_instagram__bG2v",email:"index-module_email__XiMW",youtube:"index-module_youtube__zbUw",pinterest:"index-module_pinterest__Ejcz",link:"index-module_link__ZicJ"},rn=({bgColor:e,href:a,shape:r="circle",social:t,hoverColor:s})=>(0,m.jsx)("a",{className:f()(rl[r],rl.icon,rl[t],rl.link,s?rl["hover-color"]:""),href:a,style:{backgroundColor:e},children:(0,m.jsx)("img",{alt:`${t} Icon`,className:f()(rl.socialIcon),src:`/resources/defaults/news_3.0/icons/social/${t}.svg`})}),ro={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__nF43","darkreader--text":"index-module_darkreader--text__R40K","darkreader--invert":"index-module_darkreader--invert__XnsI","darkreader--inline":"index-module_darkreader--inline__mMsS","darkreader--variables":"index-module_darkreader--variables__as7U","darkreader--root-vars":"index-module_darkreader--root-vars__imuG","darkreader--user-agent":"index-module_darkreader--user-agent__VuYx","text-sm":"index-module_text-sm__KDpV","mb-15":"index-module_mb-15__qMnO","text-base-light":"index-module_text-base-light__fGJK",label:"index-module_label__EBki","sponsored-label":"index-module_sponsored-label__BbsY","accessibility-button":"index-module_accessibility-button__w6kv","has-video":"index-module_has-video__ivkQ","has-gallery":"index-module_has-gallery__ErLN","chevron-right":"index-module_chevron-right__LlBZ","chevron-right2":"index-module_chevron-right2__c4mk","bio-detail":"index-module_bio-detail__VqV_","s-and-up":"index-module_s-and-up__x72D","info-container":"index-module_info-container__z4W3","profile-img":"index-module_profile-img__EmaS",name:"index-module_name__EaqP",title:"index-module_title__Us6S","name-title-social":"index-module_name-title-social__Lkjc",social:"index-module_social__zJVY",desc:"index-module_desc__ftJk","mobile-only":"index-module_mobile-only__pu4C"}
1,rd=({name:e,title:a,image:r,desc:t,social:s})=>(0,m.jsxs)("div",{className:ro["bio-detail"],children:[(0,m.jsx)("img",{className:ro["profile-img"],src:r}),(0,m.jsxs)("div",{className:ro["name-title-social"],children:[(0,m.jsxs)("div",{className:ro["name-title"],children:[(0,m.jsx)("div",{className:ro.name,children:e}),(0,m.jsx)("div",{className:ro.title,children:a})]}),(0,m.jsxs)("div",{className:ro.social,children:[s.facebook?(0,m.jsx)(rn,{height:"40px",href:s.facebook,social:"facebook",width:"40px"}):null,s.twitter?(0,m.jsx)(rn,{height:"40px",href:s.twitter,social:"twitter",width:"40px"}):null,s.instagram?(0,m.jsx)(rn,{height:"40px",href:s.instagram,social:"instagram",width:"40px"}):null,s.youtube?(0,m.jsx)(rn,{height:"40px",href:s.youtube,social:"youtube",width:"40px"}):null,s.email?(0,m.jsx)(rn,{height:"40px",href:`mailto:${s.email}`,social:"email",width:"40px"}):null]})]}),(0,m.jsx)("hr",{}),(0,m.jsx)("div",{className:ro.desc,children:(0,m.jsx)(ri.Ay,{hideAds:!0,storyProps:{richText:t},text:t})})]});var rc=r(61672),rm=r(71527);let r_=()=>{let[e,a]=_.useState(!1),[r,t]=_.useState({}),s=(0,h.z0)("rendering.site.callLetters"),i=`https://livevideostatus.sinclairstoryline.com/live/${s}`,l=(0,h.z0)("rendering.environment");return("qa"===(l=l.toLowerCase())||"int"===l||"local"===l)&&(i=`https://${l}.livevideostatus.nonprod-sinclairstoryline.com/live/${s}`),_.useEffect(()=>{(async()=>{let e=await fetch(i,(0,rm.y)());e?.ok?(a((await e.json()).live_status),t({dfpAdUnitId:(0,h.z0)("rendering.site.dfpAdUnitId"),dfpNetworkId:(0,h.z0)("rendering.site.dfpNetworkId"),siteUrl:(0,h.z0)("rendering.site.siteUrl"),station:(0,h.z0)("rendering.site.callLetters")})):console.error("Error fetching live status",s)})()},[]),[e,r]};var ru=r(78028);let rh=({station:e,className:a,dfpAdUnitId:r,dfpNetworkId:t,siteUrl:s,preRoll:i,midRoll:l,file:n,autoStart:o=!1,startMuted:d=!0,controls:c=!0})=>{let _=i??`//pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/${t}/${r}/Web/Livestream_preroll&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=xml_vast3&unviewed_position_start=1&url=http%3A%2F%2Fwww.${s}%2Flive&description_url=http%3A%2F%2Fwww.${s}%2Flive&correlator=`,u=l??`//pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/${t}/${r}/Web/Livestream_midroll&ciu_szs&impl=s&gdfp_req=1&env=vp&output=xml_vast3&unviewed_position_start=1&url=http%3A%2F%2Fwww.${s}%2Flive&description_url=http%3A%2F%2Fwww.${s}%2Flive&correlator=`,h={autostart:o,controls:c,file:n??"",startMuted:d,station:e,streaming:!0};""!==h.file&&delete h.station;let p=`/resources/video/players/prod/src/scripts/v1/dist/embed.html?${new URLSearchParams(h).toString()}`,{ffS3VideoPlayerSource:g}=(0,em.h)()||{};return(0,m.jsxs)("div",{className:f()(a,"index-module_embed-livestream-container__AuIw"),children:[(0,m.jsx)(x(),{children:(0,m.jsx)("script",{src:g})}),(0,m.jsx)("iframe",{className:"index-module_iframe__H8Ir","data-testid":"embed-livestream-player",midroll:u,preroll:_,src:p})]})};var rp=r(14570);let rx={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"HeroStory-module_darkreader--fallback__TGmc","darkreader--text":"HeroStory-module_darkreader--text__mGue","darkreader--invert":"HeroStory-module_darkreader--invert__s5Q_","darkreader--inline":"HeroStory-module_darkreader--inline__BrHC","darkreader--variables":"HeroStory-module_darkreader--variables__i60V","darkreader--root-vars":"HeroStory-module_darkreader--root-vars__LixD","darkreader--user-agent":"HeroStory-module_darkreader--user-agent__dIpj","text-sm":"HeroStory-module_text-sm__QBTz","mb-15":"HeroStory-module_mb-15__kwsW","text-base-light":"HeroStory-module_text-base-light__VzdT",label:"HeroStory-module_label__U6qw","sponsored-label":"HeroStory-module_sponsored-label__JGVd","accessibility-button":"HeroStory-module_accessibility-button__CSUR","has-video":"HeroStory-module_has-video__BPSV","has-gallery":"HeroStory-module_has-gallery__RP5T","chevron-right":"HeroStory-module_chevron-right__WChm","chevron-right2":"HeroStory-module_chevron-right2__OSB2","hero-story":"HeroStory-module_hero-story__BFMu",desc:"HeroStory-module_desc__DJ5e",headline:"HeroStory-module_headline__yduf",date:"HeroStory-module_date__KxFL","section-main":"HeroStory-module_section-main__Td4c",main:"HeroStory-module_main__a30g","headline-desc":"HeroStory-module_headline-desc__KPTe","section-secondary":"HeroStory-module_section-secondary__zCtX",secondary:"HeroStory-module_secondary__Bicc",
1side:"HeroStory-module_side__zQss","section-page":"HeroStory-module_section-page__EJj6"},rg=({headline:e,img:a,desc:r,label:t,headlineSize:s,layout:i,href:l,labelInTitle:n,key:o,logo:d,date:c,withDate:_,hasGallery:u,hasVideo:h,size:p,teaserObject:x})=>{let g=(0,rp.Q)(a,p,x);return(0,m.jsxs)("a",{className:f()(rx["hero-story"],rx[i]),href:l,children:[d?(0,m.jsx)("div",{className:rx["refined-logo"],children:d}):null,t&&!n?(0,m.jsx)("div",{className:rx.label,children:t}):null,(0,m.jsx)("img",{alt:`Image for story: ${x?.title}`,src:g}),(0,m.jsxs)("div",{className:f()(rx["headline-desc"]),children:[_?(0,m.jsx)("div",{className:rx.date,children:new Date(c).toDateString()}):null,(0,m.jsx)("div",{className:f()(rx.headline,rx[s],t?rx[`${t.toLowerCase()}-label`]:"",h?rx["has-video"]:"",u?rx["has-gallery"]:""),children:e}),(0,m.jsx)("div",{className:rx.desc,children:r})]})]},o)};var ry=r(98164),rf=r(82562);let rv={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"MiniFooter-module_darkreader--fallback__ull5","darkreader--text":"MiniFooter-module_darkreader--text__gKfP","darkreader--invert":"MiniFooter-module_darkreader--invert__exHQ","darkreader--inline":"MiniFooter-module_darkreader--inline__mgYQ","darkreader--variables":"MiniFooter-module_darkreader--variables__uSzu","darkreader--root-vars":"MiniFooter-module_darkreader--root-vars__mpxA","darkreader--user-agent":"MiniFooter-module_darkreader--user-agent__kqnv","text-sm":"MiniFooter-module_text-sm__fYEn","mb-15":"MiniFooter-module_mb-15__OJFP","text-base-light":"MiniFooter-module_text-base-light__weIn",label:"MiniFooter-module_label__O1Zi","sponsored-label":"MiniFooter-module_sponsored-label__pLik","accessibility-button":"MiniFooter-module_accessibility-button__YfMN","has-video":"MiniFooter-module_has-video__MjMC","has-gallery":"MiniFooter-module_has-gallery__U9uQ","chevron-right":"MiniFooter-module_chevron-right__wDit","chevron-right2":"MiniFooter-module_chevron-right2__KDy4","mini-footer":"MiniFooter-module_mini-footer__pQAl",linkList:"MiniFooter-module_linkList__PWY0"},rj=({links:e})=>{let a=new Date().getFullYear(),r=e=>{rf.G0.trackEvent("Footer","clickLink",e)};return(0,m.jsxs)("div",{className:rv["mini-footer"],children:[(0,m.jsxs)("div",{className:rv.linkList,children:[e.map(e=>(0,m.jsx)("a",{href:e.href,children:e.displayName.split(" ")[0]},e.href)),(0,m.jsx)("button",{className:rv.unstyledFooterButton,onClick:()=>void(r("Do Not Sell"),(0,ry.i)()),children:"Do Not Sell or Share"})," ",(0,m.jsx)("button",{className:rv.unstyledFooterButton,onClick:()=>void(r("Cookie Preferences"),(0,ry.X)()),children:"Cookie Preferences"})," "]}),(0,m.jsx)("a",{href:"https://sbgi.net/copyright",children:`\xa9 ${a} Sinclair, Inc.`})]})},rb=({children:e,title:a,moreLink:r,noPad:t})=>(0,m.jsxs)("div",{className:"index-module_side-section__WjLN",children:[(0,m.jsx)("div",{className:"index-module_title__uQIM",children:a}),(0,m.jsxs)("div",{className:f()("index-module_children-container__nODZ",t?"index-module_noPad__Jqlq":""),children:[e,r?(0,m.jsxs)("a",{className:"index-module_more-link__INDb",href:r,children:["More"," ",a]}):null]})]}),rk=({name:e,title:a,img:r,href:t,size:s,bio:i})=>(0,m.jsx)("div",{className:"index-module_staff-bio-small__RIeW",children:(0,m.jsx)("a",{href:t,children:(0,m.jsxs)("div",{className:"index-module_row__D2hn",children:[(0,m.jsx)("img",{alt:`Photo of ${e}`,className:"index-module_img__yQL1",src:(0,rp.Q)(r,s,i)}),(0,m.jsxs)("div",{className:"index-module_name-title__LEh0",children:[(0,m.jsx)("div",{className:"index-module_name__SAsN",children:e}),(0,m.jsx)("div",{className:"index-module_title__wHBE",children:a})]})]})},t)}),rN={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"Sidebar-module_darkreader--fallback__tmdH","darkreader--text":"Sidebar-module_darkreader--text__AHE6","darkreader--invert":"Sidebar-module_darkreader--invert__dou1","darkreader--inline":"Sidebar-module_darkreader--inline__ea9D","darkreader--variables":"Sidebar-module_darkreader--variables__RxPq","darkreader--root-vars":"Sidebar-module_darkreader--root-vars__fzuH","darkreader--user-agent":"Sidebar-module_darkreader--user-agent__sk6b","text-sm":"Sidebar-module_text-sm__vrBt","mb-15":"Sidebar-module_mb-15__SxYg","text-base-light":"Sidebar-module_text-base-light__LDR9",label:"Sidebar-module_label__qaF0","sponsored-label":"Sidebar-module_sponsored-label__vh1e","accessibility-button":"Sidebar-module_accessibility-button__YrmE","has-video":"Sidebar-module_has-video__xA0_","has-gallery":"Sidebar-module_has-gallery__XZGu","chevron-right":"Sidebar-module_chevron-right__S5Hy","chevron-right2":"Sidebar-module_chevron-right2__dZ1c",sidebar:"Sidebar-module_sidebar__OrG5","live-container":"Sidebar-module_live-container__kcPW","side-section":"Sidebar-module_side-section__hGJW",trending:"Sidebar-module_trending__omME","side-list":"Sidebar-module_side-list__fRjm"},rS=({bios:e,pageIndex:a,isInfinite:r,pageType:t,isLive:s,liveProps:i,mostPopular:l,hideMostPopular:n,hideStaff:o,showMiniFooter:d,miniFooterLinks:c,showMostPopularList:_,showStaffList:u,showMiniPlayer:h,showAd1:p,showAd1Mobile:x,showAd2:g,showAd2Mobile:y,showAd3:b,showAd3Mobile:k,showMiniFooterOnEveryPage:N})=>{let S=["xl","l","m","s","xs"],C=!o;return r&&(C=!o&&a%2==1),(0,m.jsxs)("div",{className:rN.sidebar,children:[s&&h?(0,m.jsxs)("div",{className:rN["live-container"],children:[(0,m.jsx)("h1",{children:"Watch now"}),(0,m.jsx)(rh,{...i,autoStart:!0,className:rN["legacy-live-container"],controls:!1,startMuted:!0}),(0,m.jsx)("a",{href:"/live"})]}):null,p?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(B.A,{showOn:["xl","l","m"],children:(0,m.jsx)("div",{className:rN["ad-container"],children:(0,m.jsx)(j.A,{children:(0,m.jsx)(v.X,{adIndex:a,adName:`rightrail_pos${r?0===a?1:4:1}`,pageType:t||"home"},`rightrail-ad-1-${a}`)},a)})}),(0,m.jsx)(B.A,{showOn:["s"],children:(0,m.jsx)(j.A,{transparentCard:!0,children:(0,m.jsx)(v.X,{adIndex:a,adName:`rightrail_pos${r?0===a?1:4:1}`,pageType:t||"home"},`rightrail-ad-1-${a}`)},a)})]}):null,x?(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(j.A,{transparentCard:!0,children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos1",pageType:t||"home"},`rightrail-ad-1-${a}`)},a)}):null,!n&&(0,m.jsx)(B.A,{showOn:_??S,children:(0,m.jsx)("div",{className:f()(rN["side-section"],rN.trending),children:(0,m.jsx)(rb,{title:"Most Popular",children:(0,m.jsx)("div",{className:f()(rN["side-list"],rN.trending),children:l?l.map(e=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{children:(0,m.jsx)(rg,{hasGallery:e.hasGallery,hasVideo:!!(e.videoUrl&&""!==e.videoUrl),headline:e.title,href:e.url,img:e.heroImageUrl,label:e.sponsored?"Sponsored":null,layout:"side",size:"sidebarSecondary",teaserObject:e})},e.url),(0,m.jsx)("hr",{})]})):null})})})}),g?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(B.A,{showOn:["xl","l","m"],children:(0,m.jsx)("div",{className:rN["ad-container"],children:(0,m.jsx)(j.A,{children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos2",pageType:t||"home"},`rightrail-ad-1-${a}`)},a)})}),(0,m.jsx)(B.A,{showOn:["s"],children:(0,m.jsx)(j.A,{transparentCard:!0,children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos2",pageType:t||"home"},`rightrail-ad-1-${a}`)},a)})]}):null,y?(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(j.A,{transparentCard:!0,children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos2",pageType:t||"home"},`rightrail-ad-1-${a}`)},a)}):null,C?(0,m.jsx)(B.A,{showOn:u??S,children:(0,m.jsx)("div",{className:rN["side-section"],children:(0,m.jsx)(rb,{moreLink:"/staff",title:"Staff",children:e.map(e=>(0,m.jsxs)("div",{children:[(0,m.jsx)(rk,{bio:e,desc:e.summary,href:e.url,img:e.large16x9Url,isInfinite:r,name:e.title,size:"sidebarSecondary",title:e.role}),(0,m.jsx)("hr",{})]}))})})}):null,d&&(!r||N||a%2==1&&0!==a)?(0,m.jsx)("div",{className:rN["mb-15"],children:(0,m.jsx)(rj,{links:c??[]})}):null,b?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(B.A,{showOn:["xl","l","m"],children:(0,m.jsx)(j.A,{children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos3",pageType:t||"home"},`rightrail-ad-1-${a}`)},a)}),(0,m.jsx)(B.A,{showOn:["s"],children:(0,m.jsx)(j.A,{transparentCard:!0,children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos3",pageType:t||"home"},`rightrail-ad-3-${a}`)},a)})]}):null,k?(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(j.A,{transparentCard:!0,children:(0,m.jsx)(v.X,{adIndex:a,adName:"rightrail_pos3",pageType:t||"home"},`rightrail-ad-1-${a}`)},a)}):null]})},rC=e=>{let a=(0,h.z0)("rendering.environment"),[r]=((e="",a=5)=>{let[r,t]=_.useState([]),{useSdsApi:s}=(0,h.Hl)();return _.useEffect(()=>{let r=s?(0,e1.e3)("/trending-stories?count=6"):`${e}/api/rest/audience/trending-stories?count=6`;""!==e&&"http"!==e.slice(0,4)&&(r=s?(0,e1.e3)(`/trending-stories?count=${a}`):`https://${e}/api/rest/audience/trending-stories?count=${a}`),ru.A.get(r).then(e=>{t(e.data.teasers)})},[]),[r]})(`${"prod"===a?"":`${a}.`}${(0,h.z0)("rendering.site.url")}`),[t,s]=r_(),{data:i}=(0,rc.bU)((0,h.z0)("rendering.site.callLetters"),!1,!1),l=(0,h.z0)("content.page-data.teaser"),n=l?.find(e=>"refined_bio_teaser_list"===e.componentInstanceId)?.teasers??[],o=e=>({children:e.children.map(o),displayName:e.displayName??"",href:e.nodePathUrl??"",uuid:e.uuid??""}),d=((0,Q.A)(["content","navigation","navInfo","children"],(0,h.z0)())??[]).map(o),c=(0,h.z0)("rendering.site.social.twitterUrl");return(0,m.jsx)(rS,{...e,bios:n,isLive:t,liveProps:{...s,file:i?.[0]?.file},miniFooterLinks:d,mostPopular:r,twitterId:c?c.split("/").at(-1):null})},rw=({facade:e})=>{let a=(0,Q.A)(["content","component-story-content-v1-01","story"],e)??{},r={desc:a.richText,image:a.heroImage?.image?.large16x9Url??"",name:a.headline,social:{email:a.info?.user?.email&&a.info?.user?.email!==""?a.info.user.email:null,facebook:a.info?.social?.facebookUrl&&a.info?.social?.facebookUrl!==""?a.info.social.facebookUrl:null,instagram:a.info?.social?.instagramFeedUrl&&a.info?.social?.instagramFeedUrl!==""?a.info.social.instagramFeedUrl:null,pinterest:a.info?.social?.pinterestUrl&&a.info?.social?.pinterestUrl!==""?a.info.social.pinterestUrl:null,twitter:a.info?.social?.twitterUrl&&a.info?.social?.twitterUrl!==""?a.info.social.twitterUrl:null,youtube:a.info?.social?.youtubeChannelUrl&&a.info?.social?.youtubeChannelUrl!==""?a.info.social.youtubeChannelUrl:null},title:a.info?.user?.role};return(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["m","l","xl"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"bio_detail_page"})}),additionalStyle:"RefinedBioDetailContainer-module_two-grid-container___ZI_",mainChildren:(0,m.jsx)("div",{className:"RefinedBioDetailContainer-module_refined-bio-detail-container__g0qt",children:(0,m.jsx)(rd,{...r})}
1),sideBarChildren:(0,m.jsx)(rC,{facade:e,hideStaff:!0,hideTwitter:!0,pageType:"bio_detail_page",showAd1:!0,showAd1Mobile:!0,showAd2:!0,showAd2Mobile:!0})})},rT=({color:e="#fff"})=>(0,m.jsx)("svg",{id:"Layer_1",version:"1.1",viewBox:"0 0 459 459",x:"0px",xmlns:"http://www.w3.org/2000/svg",y:"0px",children:(0,m.jsx)("g",{fill:e,children:(0,m.jsx)("path",{d:"M229.5,0C102.751,0,0,102.751,0,229.5S102.751,459,229.5,459S459,356.249,459,229.5S356.249,0,229.5,0z M310.292,239.651\n l-111.764,76.084c-3.761,2.56-8.63,2.831-12.652,0.704c-4.022-2.128-6.538-6.305-6.538-10.855V153.416\n c0-4.55,2.516-8.727,6.538-10.855c4.022-2.127,8.891-1.857,12.652,0.704l111.764,76.084c3.359,2.287,5.37,6.087,5.37,10.151\n C315.662,233.564,313.652,237.364,310.292,239.651z"})})}),rA=({bgColor:e,fontColor:a})=>(0,m.jsx)("div",{className:"Banner-module_banner__rVFF",style:{backgroundColor:e,color:a},children:(0,m.jsxs)("div",{className:"Banner-module_content__oul9",children:[(0,m.jsx)(rT,{}),(0,m.jsx)("span",{children:"Watch Now"})]})});rA.propTypes={bgColor:ej().string,fontColor:ej().string};var rI=r(45651),rL=r(23667);let rR={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"RefinedFooter-module_darkreader--fallback__z0dL","darkreader--text":"RefinedFooter-module_darkreader--text__RCZe","darkreader--invert":"RefinedFooter-module_darkreader--invert__Ifqf","darkreader--inline":"RefinedFooter-module_darkreader--inline__GQAn","darkreader--variables":"RefinedFooter-module_darkreader--variables__juww","darkreader--root-vars":"RefinedFooter-module_darkreader--root-vars__WisO","darkreader--user-agent":"RefinedFooter-module_darkreader--user-agent__Z_yD","text-sm":"RefinedFooter-module_text-sm__xf4U","mb-15":"RefinedFooter-module_mb-15__xuhR","text-base-light":"RefinedFooter-module_text-base-light__zSwL",label:"RefinedFooter-module_label__YkQ7","sponsored-label":"RefinedFooter-module_sponsored-label___1oY","accessibility-button":"RefinedFooter-module_accessibility-button__NF1W","has-video":"RefinedFooter-module_has-video__E0yF","has-gallery":"RefinedFooter-module_has-gallery__LKCQ","chevron-right":"RefinedFooter-module_chevron-right___581","chevron-right2":"RefinedFooter-module_chevron-right2__ez24","refined-footer":"RefinedFooter-module_refined-footer__gc0G",wrapper:"RefinedFooter-module_wrapper__rPFi",head:"RefinedFooter-module_head__nGuc","social-links":"RefinedFooter-module_social-links__YP2C","footer-nav":"RefinedFooter-module_footer-nav__dTVx","nav-list":"RefinedFooter-module_nav-list__hY81",foot:"RefinedFooter-module_foot__UfOY",salesforceWrapper:"RefinedFooter-module_salesforceWrapper__Jzdb"},rD=({callLetters:e})=>(0,m.jsx)("div",{className:rR.salesforceWrapper,children:(0,m.jsx)(rL.n,{callLetters:e})}),rW=({logoHref:e="#",lNav:a=[],mNav:r=[],rNav:t=[],social:s={}})=>{let i="40px",l=new Date().getFullYear(),{salesforceNewsletterEnabled:n}=(0,h.Hl)(),o=(0,h.z0)("rendering.site.callLetters"),d=e=>{rf.G0.trackEvent("Footer","clickLink",e)};return(0,m.jsx)("div",{className:rR["refined-footer"],children:(0,m.jsxs)("div",{className:rR["footer-container"],children:[(0,m.jsx)("div",{className:rR.head,children:(0,m.jsxs)("div",{className:rR.wrapper,children:[(0,m.jsx)("img",{alt:"site logo",src:e}),(0,m.jsx)("div",{className:rR["accessibility-button"],children:(0,m.jsx)(rI.A,{type:"nav"})})]})}),(0,m.jsx)("div",{id:"consent_blackbar",style:{color:"black"}}),(0,m.jsxs)("div",{className:f()(rR["footer-nav"],rR.wrapper),children:[n?(0,m.jsx)(rD,{callLetters:o}):null,(0,m.jsx)("div",{className:f()(rR["left-nav"],rR["nav-list"]),children:a.map(e=>(0,m.jsx)("a",{href:e.href,children:e.displayName},e.href))}),(0,m.jsx)("div",{className:f()(rR["middle-nav"],rR["nav-list"]),children:r.map(e=>(0,m.jsx)("a",{href:e.href,children:e.displayName},e.href))}),(0,m.jsxs)("div",{className:f()(rR["right-nav"],rR["nav-list"]),children:[t.map(e=>(0,m.jsx)("a",{href:e.href,children:e.displayName},e.href)),(0,m.jsxs)("li",{children:[(0,m.jsx)("button",{className:rR.unstyledFooterButton,onClick:()=>void(d("Do Not Sell"),(0,ry.i)()),children:"Do Not Sell or Share"})," "]},"irmlink"),(0,m.jsxs)("li",{children:[(0,m.jsx)("button",{className:rR.unstyledFooterButton,onClick:()=>
1void(d("Cookie Preferences"),(0,ry.X)()),children:"Cookie Preferences"})," "]},"cookiePreferences")]}),(0,m.jsxs)("div",{className:f()(rR["social-links"]),children:[s.facebookUrl?(0,m.jsx)(rn,{height:i,hoverColor:!0,href:s.facebookUrl,social:"facebook",width:i}):null,s.twitterUrl?(0,m.jsx)(rn,{height:i,hoverColor:!0,href:s.twitterUrl,social:"twitter",width:i}):null,s.youtubeChannelUrl?(0,m.jsx)(rn,{height:i,hoverColor:!0,href:s.youtubeChannelUrl,social:"youtube",width:i}):null,s.instagramFeedUrl?(0,m.jsx)(rn,{height:i,hoverColor:!0,href:s.instagramFeedUrl,social:"instagram",width:i}):null]})]}),(0,m.jsxs)("div",{className:rR.wrapper,children:[(0,m.jsx)("hr",{}),(0,m.jsxs)("div",{className:rR.foot,children:["\xa9",l," ","Sinclair, Inc."]})]})]})})};var rP=r(30915),rH=r.n(rP),rF=r(86115);let rU=()=>(0,m.jsx)("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:(0,m.jsx)("path",{d:"M256 48c114.953 0 208 93.029 208 208 0 114.953-93.029 208-208 208-114.953 0-208-93.029-208-208 0-114.953 93.029-208 208-208m0-40C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 56C149.961 64 64 149.961 64 256s85.961 192 192 192 192-85.961 192-192S362.039 64 256 64zm0 44c19.882 0 36 16.118 36 36s-16.118 36-36 36-36-16.118-36-36 16.118-36 36-36zm117.741 98.023c-28.712 6.779-55.511 12.748-82.14 15.807.851 101.023 12.306 123.052 25.037 155.621 3.617 9.26-.957 19.698-10.217 23.315-9.261 3.617-19.699-.957-23.316-10.217-8.705-22.308-17.086-40.636-22.261-78.549h-9.686c-5.167 37.851-13.534 56.208-22.262 78.549-3.615 9.255-14.05 13.836-23.315 10.217-9.26-3.617-13.834-14.056-10.217-23.315 12.713-32.541 24.185-54.541 25.037-155.621-26.629-3.058-53.428-9.027-82.141-15.807-8.6-2.031-13.926-10.648-11.895-19.249s10.647-13.926 19.249-11.895c96.686 22.829 124.283 22.783 220.775 0 8.599-2.03 17.218 3.294 19.249 11.895 2.029 8.601-3.297 17.219-11.897 19.249z",fill:"#154F92"})}),rE=({className:e,onClose:a})=>(0,m.jsx)("span",{className:e,onClick:a,children:(0,m.jsx)("img",{alt:"close icon black",src:"/resources/defaults/news_3.0/icons/ui/sbg-close-black.svg"})});rE.propTypes={className:ej().string,onClose:ej().func};let rM=({className:e,color:a="#202020",width:r="13px",height:t="14px",onClick:s})=>(0,m.jsx)("div",{className:e,onClick:()=>{s&&s()},children:(0,m.jsxs)("svg",{height:t,version:"1.1",viewBox:"0 0 13 14",width:r,xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("title",{children:"Search Icon"}),(0,m.jsx)("g",{fill:"none",fillRule:"evenodd",id:"Weather-Home",stroke:"none",strokeWidth:"1",children:(0,m.jsxs)("g",{id:"Search-Icon",stroke:a,children:[(0,m.jsx)("circle",{cx:"5.02272727",cy:"5.02272727",id:"Oval",r:"4.37272727",strokeWidth:"1.3"}),(0,m.jsx)("line",{id:"Path-2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2",x1:"8",x2:"12.1218805",y1:"8.6",y2:"12.6804535"})]})})]})}),rB={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__xjAt","darkreader--text":"index-module_darkreader--text__w_xl","darkreader--invert":"index-module_darkreader--invert__iF1c","darkreader--inline":"index-module_darkreader--inline__BmXv","darkreader--variables":"index-module_darkreader--variables__Rw7c","darkreader--root-vars":"index-module_darkreader--root-vars__wt0_","darkreader--user-agent":"index-module_darkreader--user-agent__xWPf","text-sm":"index-module_text-sm__LoSF","mb-15":"index-module_mb-15__uQjg","text-base-light":"index-module_text-base-light__rSKM",label:"index-module_label__ILWI","sponsored-label":"index-module_sponsored-label__c65w","accessibility-button":"index-module_accessibility-button__mg4u","has-video":"index-module_has-video__H924","has-gallery":"index-module_has-gallery__xsmZ","chevron-right":"index-module_chevron-right__oxze","chevron-right2":"index-module_chevron-right2__ZjgI","nav-container":"index-module_nav-container__rXJu","mobile-search-container":"index-module_mobile-search-container__OWZ5",logo:"index-module_logo__vzMY",WADT
1:"index-module_WADT__hOwg","mobile-grow":"index-module_mobile-grow__yHaY","partnership-text":"index-module_partnership-text__ypE8","nav-links":"index-module_nav-links__gQ4T","nav-link":"index-module_nav-link__stGK","sub-links":"index-module_sub-links__Arok","mobile-nav":"index-module_mobile-nav__MfCR","icons-container":"index-module_icons-container__SYQU","social-links":"index-module_social-links__RgsU","search-container":"index-module_search-container__nawT","search-input":"index-module_search-input__Nxph",expanded:"index-module_expanded__MHcB","search-icon":"index-module_search-icon__Icdg",desktop:"index-module_desktop__XTgX",overlay:"index-module_overlay__vaqP","mobile-nav-links":"index-module_mobile-nav-links__Ec6v","sub-link":"index-module_sub-link__Mv8g","close-icon":"index-module_close-icon__YXCA","search-input-container":"index-module_search-input-container__MikH"},rO=({links:e,social:a,logoHref:r,callLetters:t})=>{let[s,i]=_.useState(!1),[l,n]=_.useState(!1),{partnerName:o,partnerHref:d}=(0,h.Hl)(),c="40px",u=e=>{let a=rH().stringify({find:e});globalThis.location.href=`/search?${a}`};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:rB["nav-container"],children:[s?(0,m.jsxs)("div",{className:rB.overlay,children:[(0,m.jsxs)("button",{className:rB["close-icon"],onClick:()=>{i(!1)},children:[(0,m.jsx)("span",{}),(0,m.jsx)("span",{})]}),(0,m.jsxs)("div",{className:f()(rB["mobile-nav-links"]),children:[e.map(e=>(0,m.jsxs)("div",{className:f()(rB["nav-link"]),children:[(0,m.jsx)("a",{href:e.href,children:e.displayName}),e.children?e.children.map(e=>(0,m.jsx)("a",{className:rB["sub-link"],href:e.href,children:e.displayName},e.href)):null]},e.href)),(0,m.jsxs)("div",{className:rB["accessibility-button"],children:[(0,m.jsx)(rU,{}),(0,m.jsx)("div",{children:"Accessibility"})]}),(0,m.jsxs)("div",{className:f()(rB["social-links"]),children:[a.facebookUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.facebookUrl,social:"facebook",width:c}):null,a.twitterUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.twitterUrl,social:"twitter",width:c}):null,a.youtubeChannelUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.youtubeChannelUrl,social:"youtube",width:c}):null,a.instagramFeedUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.instagramFeedUrl,social:"instagram",width:c}):null]})]})]}):null,(0,m.jsx)("div",{className:f()(rB["mobile-nav"]),children:(0,m.jsx)(rF.A,{className:rB["hamburger-icon"],height:14,isOpen:!1,menuClicked:()=>{i(!0)},width:23})}),(0,m.jsx)("a",{className:f()(rB.logo,rB[t]),href:"/",children:(0,m.jsx)("img",{alt:"site logo",className:f()(rB.logo,rB[t]),src:r})}),(0,m.jsx)("div",{className:rB["mobile-grow"]}),o?(0,m.jsxs)("div",{className:f()(rB["partnership-text"]),children:["In partnership with"," ",(0,m.jsx)("a",{href:d,children:o})]}):null,(0,m.jsx)("ul",{className:rB["nav-links"],children:e.map(e=>(0,m.jsxs)("li",{className:f()(rB["nav-link"]),children:[(0,m.jsx)("a",{href:e.href,children:e.displayName}),e.children.length>0&&(0,m.jsx)("ul",{className:rB["sub-links"],children:e.children.map(e=>(0,m.jsx)("li",{children:(0,m.jsxs)("a",{href:e.href,children:[" ",e.displayName]},e.href)},e.uuid))})]},e.uuid))}),(0,m.jsxs)("div",{className:rB["icons-container"],children:[(0,m.jsxs)("div",{className:f()(rB["social-links"]),children:[a.facebookUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.facebookUrl,social:"facebook",width:c}):null,a.twitterUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.twitterUrl,social:"twitter",width:c}):null,a.youtubeChannelUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.youtubeChannelUrl,social:"youtube",width:c}):null,a.instagramFeedUrl?(0,m.jsx)(rn,{height:c,hoverColor:!0,href:a.instagramFeedUrl,social:"instagram",width:c}):null]}),(0,m.jsxs)("div",{className:rB["search-container"],children:[(0,m.jsx)("input",{className:f()(rB.desktop,rB["search-input"],l?rB.expanded:null),onKeyDown:e=>{"Enter"===e.key&&u(e.target.value)},placeholder:"Type here to search"}),(0,m.jsx)(rM,{className:rB["search-icon"],color:"#ffffff",onClick:()=>{n(!l)}})]})]})]}),(0,m.jsx)("div",{className:f()(rB["mobile-search-container"],l?rB.expanded:null),children:(0,m.jsxs)("div",{className:rB["search-input-container"],children:[(0,m.jsx)(rM,{height:"16px",width:"16px"}),(0,m.jsx)("input",{autoFocus:!0,onKeyDown:e=>{"Enter"===e.key&&u(e.target.value)},placeholder:"Search site..."}),(0,m.jsx)(rE,{className:rB["close-icon"],onClose:()=>{n(!1)}})]})})]})};
1rO.propTypes={links:ej().arrayOf(ej().shape({children:ej().arrayOf(ej().shape({displayName:ej().string.isRequired,href:ej().string.isRequired,uuid:ej().string})),displayName:ej().string.isRequired,href:ej().string.isRequired,uuid:ej().string})),social:ej().shape({facebook:ej().string,instagram:ej().string,twitter:ej().string,youtube:ej().string})};let rG={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"RefinedMainContainer-module_darkreader--fallback__HgFa","darkreader--text":"RefinedMainContainer-module_darkreader--text__gQo6","darkreader--invert":"RefinedMainContainer-module_darkreader--invert__lrdS","darkreader--inline":"RefinedMainContainer-module_darkreader--inline__Uf3D","darkreader--variables":"RefinedMainContainer-module_darkreader--variables__gfGV","darkreader--root-vars":"RefinedMainContainer-module_darkreader--root-vars__nFLb","darkreader--user-agent":"RefinedMainContainer-module_darkreader--user-agent__cFtV","ad-container":"RefinedMainContainer-module_ad-container__ElY9",section:"RefinedMainContainer-module_section__FJdQ","unset-bg":"RefinedMainContainer-module_unset-bg__jppv",shadow:"RefinedMainContainer-module_shadow__Pgez","mb-15":"RefinedMainContainer-module_mb-15__wUMw","two-grid-container":"RefinedMainContainer-module_two-grid-container__EXSu",uppercase:"RefinedMainContainer-module_uppercase__BtAn",gradient:"RefinedMainContainer-module_gradient__wT5D",wrapper:"RefinedMainContainer-module_wrapper__cE7c",container:"RefinedMainContainer-module_container__yx0U","head-ad-container":"RefinedMainContainer-module_head-ad-container__R7hW","mt-40":"RefinedMainContainer-module_mt-40__Fckl",content:"RefinedMainContainer-module_content__xPly"},rz=({facade:e,mainChild:a,windowSize:r,displayHeadAd:t,componentOutsideTwoCol:s,pageType:i,headAdName:l})=>{let n=(0,Q.A)(["rendering","site","headerLogoImageUrl"],e)??"#",o=(0,Q.A)(["rendering","site","footerLogoImageUrl"],e)??"#",d=(0,Q.A)(["rendering","site","social"],e)??{},c=(0,ey.D)();console.debug("theme: ",c);let _=e=>({children:e.children.map(_),displayName:e.displayName,href:e.nodePathUrl,uuid:e.uuid}),u=((0,Q.A)(["content","navigation","navMain","children"],e)??[]).filter(e=>!!e.nodeName).map(_),h=((0,Q.A)(["content","navigation","navInfo","children"],e)??[]).map(_),p=(0,Q.A)(["rendering","fullyQualifiedUrl"],e),g=(0,Q.A)(["rendering","site","callLetters"],e),y=(0,Q.A)(["presentation","customHtml","customJson","metaTitleOverride"],e),j=(0,Q.A)(["rendering","metaTitle"],e),[b,k]=r_(),N=(0,Q.A)(["rendering","site","brandName"],e);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(x(),{children:[(0,m.jsx)("meta",{content:"width=device-width, minimum-scale=1.0",name:"viewport"}),y?(0,m.jsx)("title",{children:y}):(0,m.jsx)("title",{children:j}),(0,m.jsx)("link",{href:e.rendering.faviconImageUrl,rel:"icon",type:"image/x-icon"}),(0,m.jsx)("style",{type:"text/css",children:` 2 3 .themeText { 4 color: ${c.textColorThree} 5 } 6 7 .themeColorForLinks { 8 color: ${c.textColorFour} 9 } 10 `})]}),(0,m.jsxs)("div",{className:rG.wrapper,children:[b?(0,m.jsx)("a",{href:"/live",children:(0,m.jsx)(rA,{bgColor:"#1fbcb7",fontColor:"#fff"})}):null,(0,m.jsxs)("div",{className:f()(rG.container),children:[t?(0,m.jsx)(B.A,{showOn:["m","l","xl","s"],children:(0,m.jsx)("div",{className:rG["head-ad-container"],children:(0,m.jsx)(v.X,{adName:l??"banner_pos1",pageType:i??"home"})})}):null,(0,m.jsx)(rO,{callLetters:g,links:u,logoHref:n,site:p,social:d}),(0,m.jsx)("div",{className:f()(rG[r],rG.content),children:a})]}),s?(0,m.jsx)("div",{children:s}):null,(0,m.jsx)(rW,{lNav:u,logoHref:o,mNav:h,newsletterDesc:`Want all the latest on dining, fashion, travel, events, and more delivered straight to your inbox? Subscribe to receive exclusive newsletters and special offers from ${N}! Enter your email address below to receive the latest updates.`,rNav:[{children:[],displayName:"Terms & Conditions",href:"https://sbgi.net/terms-conditions/",uuid:"termsandcondisitionslink"},{children:[],displayName:"Privacy Policy",href:"https://sbgi.net/privacy-policy/",uuid:"privacypolicylink"}],social:d})]})]})},rV=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,mainChild:(0,m.jsx)(rw,{facade:e.facade}),pageType:"bio_detail_page"})}),r$={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"PhotoGalleries-module_darkreader--fallback__RArj","darkreader--text":"PhotoGalleries-module_darkreader--text__fHb4","dar
10kreader--invert":"PhotoGalleries-module_darkreader--invert__HpAZ","darkreader--inline":"PhotoGalleries-module_darkreader--inline__Os5H","darkreader--variables":"PhotoGalleries-module_darkreader--variables__hf6j","darkreader--root-vars":"PhotoGalleries-module_darkreader--root-vars__WBCV","darkreader--user-agent":"PhotoGalleries-module_darkreader--user-agent__y3P7","text-sm":"PhotoGalleries-module_text-sm__TDYH","mb-15":"PhotoGalleries-module_mb-15__vHsC","text-base-light":"PhotoGalleries-module_text-base-light__sobb",label:"PhotoGalleries-module_label__d350","sponsored-label":"PhotoGalleries-module_sponsored-label__wPL6","accessibility-button":"PhotoGalleries-module_accessibility-button__TKab","has-video":"PhotoGalleries-module_has-video__yI_s","has-gallery":"PhotoGalleries-module_has-gallery__XGc5","chevron-right":"PhotoGalleries-module_chevron-right__Qu18","chevron-right2":"PhotoGalleries-module_chevron-right2__CfBe",container:"PhotoGalleries-module_container__j53h",header:"PhotoGalleries-module_header__XHdm",controls:"PhotoGalleries-module_controls__H1il",disable:"PhotoGalleries-module_disable__vq8D",left:"PhotoGalleries-module_left__vmNz",right:"PhotoGalleries-module_right__ikW0","scroll-x-container":"PhotoGalleries-module_scroll-x-container__gHFu","galleries-grid":"PhotoGalleries-module_galleries-grid__qald","page-1":"PhotoGalleries-module_page-1__Ex0_","gallery-preview":"PhotoGalleries-module_gallery-preview__FOmf","img-container":"PhotoGalleries-module_img-container__fbud",gradient:"PhotoGalleries-module_gradient__c3e9","image-count":"PhotoGalleries-module_image-count__W19q",mobile:"PhotoGalleries-module_mobile__MMQm","gallery-title":"PhotoGalleries-module_gallery-title__zWZH","page-2":"PhotoGalleries-module_page-2__eCQ3","page-3":"PhotoGalleries-module_page-3__aRmc"},rX=e=>{let{galleries:a,galleriesHref:r,numPerPage:t}=e,[s,i]=_.useState(1),l=Math.ceil(a.length/t),n=({gallery:e,inactive:a})=>(0,m.jsxs)("a",{className:f()(r$["gallery-preview"],a?r$.inactive:""),href:e.href,children:[(0,m.jsxs)("div",{className:r$["img-container"],children:[(0,m.jsx)("img",{alt:`Image for story: ${e.title}`,src:e.heroImage}),(0,m.jsx)("div",{className:r$.gradient})]}),(0,m.jsx)("div",{className:r$["gallery-title"],children:(0,m.jsx)("span",{children:e.title})}),(0,m.jsx)("div",{className:r$["image-count"],children:e.numImages})]});return(0,m.jsxs)("div",{className:r$.container,children:[(0,m.jsxs)("div",{className:r$.header,children:[(0,m.jsx)("a",{className:r$["chevron-right"],href:r,children:"Photo Galleries"}),(0,m.jsxs)("div",{className:r$.controls,children:[(0,m.jsx)("div",{className:f()(1===s?r$.disable:"",r$.flip,r$.left),onClick:()=>void(s>1&&i(s-1))}),(0,m.jsx)("div",{className:f()(s===l?r$.disable:"",r$.right),onClick:()=>void(s<l&&i(s+1))})]})]}),(0,m.jsx)("div",{className:r$["scroll-x-container"],children:(0,m.jsx)("div",{className:f()(r$["galleries-grid"],r$[`page-${s}`]),children:a.map((e,a)=>a>=(s-1)*t&&a<s*t?(0,m.jsx)(n,{gallery:e,inactive:!1},e.uuid):(0,m.jsx)(n,{gallery:e,inactive:!0},e.uuid))})})]})},rq={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"StoriesSection-module_darkreader--fallback__aHKs","darkreader--text":"StoriesSection-module_darkreader--text__mSel","darkreader--invert":"StoriesSection-module_darkreader--invert__Brwp","darkreader--inline":"StoriesSection-module_darkreader--inline__Z6pY","darkreader--variables":"StoriesSection-module_darkreader--variables__uvDU","darkreader--root-vars":"StoriesSection-module_darkreader--root-vars__r3vh","darkreader--user-agent":"StoriesSection-module_darkreader--user-agent__qWpp","text-sm":"StoriesSection-module_text-sm__ngIs","mb-15":"StoriesSection-module_mb-15__RyQo","text-base-light":"StoriesSection-module_text-base-light__PYRh",label:"StoriesSection-module_label__t0cv","sponsored-label":"StoriesSection-module_sponsored-label__o4PJ","accessibility-button":"StoriesSection-module_accessibility-button__KxPt","has-video":"StoriesSection-module_has-video__z6hi","has-gallery":"StoriesSection-module_has-gallery__eAYH","chevron-right":"StoriesSection-module_chevron-right__g62A","chevron-right2":"StoriesSection-module_chevron-right2__ICQT",container:"StoriesSection-module_container__ZtrQ","section-title":"StoriesSection-module_section-title__iY9L","hero-story":"StoriesSection-module_hero-story__XyFC","story-list":"StoriesSection-module_story-list__yJ1Q",story:"StoriesSection-module_story__fOpH","more-link":"StoriesSection-module_more-link___D68"},rY=e=>{let a=(0,Q.A)(["stories","0"],e);return(0,m.jsxs)("div",{className:f()(rq.container,e.layout?rq[e.layout]:""),children:[!e.hideTitle&&(0,m.jsx)("a",{className:f()(rq["section-title"],rq["chevron-right"]),href:e.sectionHref,children:e.sectionTitle}),(0,m.jsx)("div",{className:rq["hero-story"],children:a?(0,m.jsx)(rg,{headline:a.title,href:a.href,img:a.image,label:a.label,layout:"section-main",size:"twoColPrimary",teaserObject:a.teaserObject,type:"sponsored"}):null}),(0,m.jsx)("div",{className:rq["story-list"],children:e.stories.slice(1).map(e=>(0,m.jsx)("div",{className:f()(rq.story),children:(0,m.jsx)(rg,{hasGallery:e.hasGallery,hasVideo:e.hasVideo,headline:e.title,href:e.href,img:e.image,label:e.label,labelInTitle:!0,layout:"section-secondary",size:"heroSecondary",teaserObject:e.teaserObject,type:e.type})},e.href))}),(0,m.jsxs)("div",{className:rq["more-link"],children:[(0,m.jsx)("hr",{}),(0,m.jsx)("div",{className:rq["link-container"],children:(0,m.jsx)("a",{href:e.sectionHref,children:"See More"})})]})]})},rK={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"RefinedHomeContainer-module_darkreader--fallback__RgGm","darkreader--text":"RefinedHomeContainer-module_darkreader--text__ds5d","darkreader--invert":"RefinedHomeContainer-module_darkreader--invert__uYPA","darkreader--inline":"RefinedHomeContainer-module_darkreader--inline__j_E4","darkreader--variables":"RefinedHomeContainer-module_darkreader--variables__cbi7","darkreader--root-vars":"RefinedHomeContainer-module_darkreader--root-vars__lQsx","darkreader--user-agent":"RefinedHomeContainer-module_darkreader--user-agent__eaBv","ad-container":"RefinedHomeContainer-module_ad-container__u0cN",section:"RefinedHomeContainer-module_section__Eym7","unset-bg":"RefinedHomeContainer-module_unset-bg__arJI",shadow:"RefinedHomeContainer-module_shadow__T8LG","mb-15":"RefinedHomeContainer-module_mb-15__H25J","two-gri
10d-container":"RefinedHomeContainer-module_two-grid-container__oOLN",uppercase:"RefinedHomeContainer-module_uppercase__hsou",gradient:"RefinedHomeContainer-module_gradient__Ibe5",main:"RefinedHomeContainer-module_main__TBOE",title:"RefinedHomeContainer-module_title__sMzw","top-stories":"RefinedHomeContainer-module_top-stories__hFl_","secondary-story":"RefinedHomeContainer-module_secondary-story__K9Nu"},rJ=({stories:e,title:a})=>(0,m.jsxs)("div",{className:f()(rK.section,rK.main),children:[a?(0,m.jsx)("h2",{className:rK.title,children:a}):null,(0,m.jsxs)("div",{className:f()(rK["top-stories"],rK["section-main"]),children:[(0,m.jsx)("div",{className:rK.main,children:e[0]?(0,m.jsx)(rg,{hasGallery:e[0].hasGallery,hasVideo:e[0].hasVideo,headline:e[0].title,href:e[0].url,img:e[0].heroImageUrl,layout:"main",size:"heroPrimary",teaserObject:e[0]}):null}),e.slice(1,6).map(e=>(0,m.jsx)("div",{className:rK["secondary-story"],children:(0,m.jsx)(rg,{hasGallery:e.hasGallery,hasVideo:e.hasVideo,headline:e.title,href:e.url,img:e.heroImageUrl,layout:"secondary",size:"heroSecondary",teaserObject:e})},e.url))]})]}),rZ=({facade:e})=>{let a=e=>{let a=((0,h.z0)("content.page-data.teaser")??[]).find(a=>a.componentInstanceId===e)??{},r=a?.data?.moreUrl,t=(a?.teasers??[]).map(e=>({hasGallery:e.hasGallery,hasVideo:!!(e.videoUrl&&""!==e.videoUrl),href:e.url,image:e.heroImageUrl,label:e.sponsored?"Sponsored":null,teaserObject:e,title:e.title}));if(0===t.length)return(0,m.jsx)("div",{});let s=a?.title;return(0,m.jsx)("div",{className:rK.section,children:(0,m.jsx)(rY,{sectionHref:r,sectionTitle:s,stories:t})})},r=((0,h.z0)("content.gallery_teasers.analytics.teasers")??(0,h.z0)("content.gallery_teasers.teaser.0.teasers")??[]).map(e=>({heroImage:e.heroImageUrl,href:e.url,numImages:e.imagesCount,summary:e.summary,title:e.title,uuid:e.uuid})),t=((0,h.z0)("content.page-data.teaser")??[]).find(e=>"top_stories"===e.componentInstanceId)??{};return(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["m","l","xl"],children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"home"})}),additionalStyle:rK["two-grid-container"],mainChildren:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(rJ,{stories:t?.teasers??[]}),(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"home"})}),(0,m.jsx)("div",{className:rK.section,children:(0,m.jsx)(rX,{galleries:r,galleriesHref:"/photos",numPerPage:6})}),(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"home"})}),a("section_teaser_1"),a("section_teaser_2"),a("section_teaser_3"),a("section_teaser_4"),(0,m.jsx)(B.A,{showOn:["xs","s"],children:(0,m.jsx)(v.X,{adName:"banner_pos3",pageType:"home"})}),a("section_teaser_5"),a("section_teaser_6")]}),sideBarChildren:(0,m.jsx)(rC,{facade:e,pageType:"home",showAd1:!0,showAd2:!0,showAd2Mobile:!0,showAd3:!0,showMiniPlayer:!0})})},rQ=({facade:e})=>{let a=e?.content["page-data"]?.teaser??[],r=a?.find(e=>"top_stories"===e.componentInstanceId)?.teasers??[],t=(0,Q.A)(["rendering","site"],e);return(0,m.jsx)(k.A,{additionalStyle:"RefinedErrorContainer-module_two-grid-container__Nnwt",mainChildren:(0,m.jsxs)("div",{children:[(0,m.jsxs)("div",{className:f()("RefinedErrorContainer-module_errorPanel__KFxS"),children:[(0,m.jsx)("h1",{children:"Page Not Found"}),(0,m.jsxs)("div",{className:"RefinedErrorContainer-module_errorWrapper__vPXu",children:[(0,m.jsx)("h3",{children:" Our apologies, the content you requested cannot be found."}),(0,m.jsxs)("p",{children:[" ","Please double-check the URL for proper spelling. You can also use search, choose from one of today's top stories below, or visit the"," ",(0,m.jsxs)("a",{href:"/",style:{color:`${t.brandColorOne}`},children:[" ","Home Page."]})]}),(0,m.jsx)(ek,{})]})]}),(0,m.jsx)(rJ,{stories:r,title:"Today's Top Stories"})]}),sideBarChildren:(0,m.jsx)(rC,{facade:e})})},r0=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,mainChild:(0,m.jsx)(rQ,{facade:e.facade})})}),r1=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{facade:e.facade,mainChild:(0,m.jsx)(rZ,{facade:e.facade})})}),r2={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"RefinedInfoContainer_darkreader--fallback__vtz0","darkreader--text":"RefinedInfoContainer_darkreader--text__cyKV","darkreader--invert":"RefinedInfoContainer_darkreader--invert__hH_h","darkreader--inline":"RefinedInfoContainer_darkreader--inline__wZ1a","darkreader--variables":"RefinedInfoContainer_darkreader--variables__oMZD","darkreader--root-vars":"RefinedInfoContainer_darkreader--root-vars__rCB4","darkreader--user-agent":"RefinedInfoContainer_darkreader--user-agent__HvAo","ad-container":"RefinedInfoContainer_ad-container__M13a",section:"RefinedInfoContainer_section__lSjl","unset-bg":"RefinedInfoContainer_unset-bg__NkiU",shadow:"RefinedInfoContainer_shadow__PMaS","mb-15":"RefinedInfoContainer_mb-15__MD4O","two-gri
10d-container":"RefinedInfoContainer_two-grid-container__MgjM",uppercase:"RefinedInfoContainer_uppercase__e_c8",gradient:"RefinedInfoContainer_gradient__ODKm","refined-info-container":"RefinedInfoContainer_refined-info-container__Ule_","gen-com-ques":"RefinedInfoContainer_gen-com-ques__w7nO",email:"RefinedInfoContainer_email__YyNA",address:"RefinedInfoContainer_address__uXLy","info-section":"RefinedInfoContainer_info-section__En_y",alt:"RefinedInfoContainer_alt__RWYN"},r6=({facade:e})=>{let a=(0,Q.A)(["rendering","section","data","customJson"],e)??{};return(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["m","l","xl"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"contact_page"})}),additionalStyle:r2["two-grid-container"],mainChildren:(0,m.jsxs)("div",{className:r2["refined-info-container"],children:[(0,m.jsx)("h1",{children:a.infoName}),(0,m.jsx)("div",{className:r2.address,children:a.address?a.address.split(";").map((e,a)=>(0,m.jsx)("div",{children:e},a)):null}),a.sections?a.sections.map(e=>(0,m.jsxs)("div",{className:f()(r2["info-section"],r2[e.className]),children:[(0,m.jsx)("h2",{children:e.name}),e.subName?(0,m.jsx)("h3",{children:e.subName}):null,(0,m.jsx)("a",{className:r2.email,href:`mailto:${e.email}`,children:e.email})]})):null]}),sideBarChildren:(0,m.jsx)(rC,{facade:e,hideStaff:!0,hideTwitter:!0,pageType:"contact_page",showAd1:!0,showAd1Mobile:!0,showAd2:!0,showAd2Mobile:!0})})},r3=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,mainChild:(0,m.jsx)(r6,{facade:e.facade}),pageType:"contact_page"})}),r4=e=>{let a=(0,Q.A)(["rendering","canonicalUrl"],e.facade),r=(0,Q.A)(["rendering","site","callLetters"],e.facade),t=(0,Q.A)(["rendering","site","dfpAdUnitId"],e.facade),s=(0,Q.A)(["rendering","site","dfpNetworkId"],e.facade),i=(0,Q.A)(["rendering","site","url"],e.facade),{data:l,loading:n}=(0,rc.bU)(r,!1,!1);return(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["xl","l","m"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"livestream"})}),additionalStyle:"RefinedLivestreamContainer-module_two-grid-container__UI70",mainChildren:(0,m.jsxs)("div",{className:"RefinedLivestreamContainer-module_container__qnvF",children:[!n&&l?.length>0?(0,m.jsx)(rh,{autoStart:!0,className:"RefinedLivestreamContainer-module_live-stream-container__R8gG",dfpAdUnitId:t,dfpNetworkId:s,file:l[0].file,siteUrl:i,station:r}):(0,m.jsx)("div",{className:"RefinedLivestreamContainer-module_loading__IVUG"}),(0,m.jsx)(er.A,{canonicalUrl:a,isInfinite:!1})]}),sideBarChildren:(0,m.jsx)(rC,{facade:e.facade,hideStaff:!0,hideTwitter:!0,pageType:"livestream",showAd1:!0,showAd1Mobile:!0,showAd2:!0,showAd2Mobile:!0})})},r8=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,mainChild:(0,m.jsx)(r4,{...e}),pageType:"livestream"})});var r9=r(15148),r5=r.n(r9),r7=r(80744),te=r(1975);async function ta(...e){let{bidder:a,oldAd:t}=(0,r7.dP)();if(!t)return void console.warn("FetchNewAds - Using newAd! Returning without fetching");console.debug("[AdsManager] - LEGACY-AD-CODE - loading makeInfiniteScrollAdsRequest method");let s=await Promise.all([r.e(271),r.e(269)]).then(r.bind(r,46428)),[i,l="/",n,o,d]=e;s.makeInfiniteScrollAdsRequest(i,l,n,te,o,a,d)}var tr=r(76332);let tt="RefinedGalleryListContainer-module_ad-container__fNcL",ts="RefinedGalleryListContainer-module_two-grid-container__dRD0",ti="RefinedGalleryListContainer-module_refined-galleries__SgMz",tl=e=>(0,m.jsx)("div",{className:"RefinedGalleryListContainer-module_gallery-list-container__kcvs",children:e.galleries.map((a,r)=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("a",{className:"RefinedGalleryListContainer-module_gallery__TlKg",href:a.url,children:[(0,m.jsxs)("div",{className:"RefinedGalleryListContainer-module_img-container__iNG6",children:[(0,m.jsx)("img",{alt:a.title,src:a.medium16x9Url}),(0,m.jsx)("div",{className:"RefinedGalleryListContainer-module_gradient__a_fM"}),(0,m.jsx)("div",{className:"RefinedGalleryListContainer-module_images-count__i_B8",children:a.imagesCount})]}),(0,m.jsx)("div",{className:"RefinedGalleryListContainer-module_gallery-title__qCcY",children:a.title})]}),1===r&&(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)("div",{className:tt,children:(0,m.jsx)(v.X,{adIndex:e.pageIndex,adName:"banner_pos1",pageType:"galleries"},`banner-ad-1-${e.pageIndex}`)})}),6===r&&(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)("div",{className:tt,children:(0,m.jsx)(v.X,{adIndex:e.pageIndex,adName:"banner_pos2",pageType:"galleries"},`banner-ad-2-${e.pageIndex}`)})})]}))}),tn=e=>{let a=e.teaserList.slice(0,8),r=e.teaserList.slice(8);return(0,m.jsxs)("div",{className:ti,children:[0===e.pageIndex&&(0,m.jsx)("h1",{children:"Photos"}),(0,m.jsxs)(B.A,{showOn:["s"],children:[(0,m.jsx)(tl,{galleries:a,pageIndex:e.pageIndex}),(0,m.jsx)("div",{className:tt,children:(0,m.jsx)(v.X,{adIndex:e.pageIndex,adName:"banner_pos2",pageType:"galleries"},`banner-ad-1-${e.pageIndex}`)}),(0,m.jsx)(tl,{galleries:r,pageIndex:e.pageIndex})]}),(0,m.jsx)(B.A,{showOn:["xs","m","l","xl"],children:(0,m.jsx)(tl,{galleries:e.teaserList,pageIndex:e.pageIndex})})]})},to=e=>{let[a,r]=_.useState(0),[t,s]=_.useState(!0),[i,l]=_.useState([]),[n,o]=_.useState(!1),[d,c]=_.useState([]),[u,p]=_.useState(null);return(0,m.jsx)(r5(),{hasMore:t,loadMore:()=>{if(!t||n)return;let e=(0,h.z0)("rendering.site.url"),m=`more?section=${e}&limit=18&type=gallery&offset=${18*a}`;o(!0),ta((0,h.z0)("rendering.pageTags")||[],(0,h.z0)("rendering.canonicalUrl"),u??0,"section",!0).then(()=>{}),(0,tr.EE)(m,e).then(e=>{if(o(!1),e.data.data.length>0){let t=(0,A.UQ)(d,e.data.data);t.length>0?(l([...i,t]),c(t),p(t.at(-1).storyUuid),r(a+1)):s(!1)}else s(!1)})},loader:(0,m.jsx)(k.A,{additionalStyle:ts,mainChildren:(0,m.jsx)("div",{className:ti,children:"Loading..."})}),pageStart:0,threshold:500,children:i.map((a,r)=>
10(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["m","l","xl"],children:(0,m.jsx)("div",{className:"RefinedGalleryListContainer-module_ad__fXao",children:(0,m.jsx)(v.X,{adIndex:r,adName:"banner_pos2",pageType:"galleries"})})}),additionalStyle:ts,isInfinite:!0,mainChildren:(0,m.jsx)(tn,{pageIndex:r,teaserList:a}),sideBarChildren:(0,m.jsx)(rC,{facade:e.facade,hideStaff:!0,hideTwitter:!0,isInfinite:!0,pageIndex:r,pageType:"galleries",showAd1:!0,showAd2:!0,showMiniFooter:!0,showMiniFooterOnEveryPage:!0,showMostPopularList:["s","m","l","xl"]})}))})},td=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,mainChild:(0,m.jsx)(to,{facade:e.facade}),pageType:"galleries"})}),tc=e=>{let a,{teasers:r,topStories:t,pageIndex:s,totalPages:i}=e,{zone:l}=q.A.getAdZone(),n=(0,eg.N)("(min-width: 1024px)"),o=(0,eg.N)("(min-width: 768px) and (max-width: 1023px)"),d=(0,eg.N)("(max-width: 767px)"),c=s!==i-1&&(d?[0,1,2]:[2,5]).includes(s),_=!0;d&&!t&&(_=!1);let u=(0,h.Ck)(h.pt.suggestions),p=(0,h.Ck)(h.pt.makeSureAllWordsAreSpelledCorrectly),x=(0,h.Ck)(h.pt.tryFewerOrMoreGeneralKeywords),g=(0,h.Ck)(h.pt.tryDifferentKeywords),y=()=>{e.listHeightChanged&&e.listHeightChanged(e.pageIndex,a)};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{...e.listHeightChanged?{ref:e=>{a=e,y()}}:{},children:(0,m.jsx)(k.A,{additionalStyle:"index-module_contentWrapper__wdPZ",mainChildren:[0===r.length&&(0,m.jsxs)(j.A,{className:"index-module_noSearchResultsCard__L7qX",children:[(0,m.jsxs)("h3",{className:"index-module_suggestions__MiWq",children:[u,":"]}),(0,m.jsxs)("ul",{className:"index-module_makeSureAllWords__SVuw",children:[(0,m.jsx)("li",{children:p}),(0,m.jsx)("li",{children:x}),(0,m.jsx)("li",{children:g})]})]},0),0===r.length&&0===s&&d&&(0,m.jsx)(v.X,{adIndex:s,adName:"banner_pos1",pageType:"search_page"}),r.length>0&&(0,m.jsx)(re.A,{componentId:"js-Section-List",reportHeightChange:y,teaserList:r}),r.length>0&&0===s&&t&&d&&(0,m.jsx)(v.X,{adIndex:s,adName:"banner_pos1",pageType:"search_page"}),0===s&&t&&(0,m.jsx)(ef.A,{componentId:"js-TopStories-Container",data:t,teaserNum:7})],sideBarChildren:_&&[n&&(0,m.jsx)(j.A,{className:"index-module_adWrapper__bMim",children:(0,m.jsx)(v.X,{adIndex:s,adName:"rightrail_pos1",pageType:"search_page"})},1),o&&(0,m.jsx)(v.X,{adIndex:s,adName:"rightrail_pos1",pageType:"search_page"}),(0,m.jsx)(T.A,{adId:"ddb_fluid_native",adType:"NativeAd",adZone:l,showOnMobile:!0,storyIndex:s}),0===s&&1===i&&n&&(0,m.jsx)(v.X,{adIndex:s,adName:"rightrail_pos2",pageType:"search_page"})]})}),c?(0,m.jsx)("div",{className:"index-module_bannerAdWrapper__ZkeB",children:(0,m.jsx)(v.X,{adIndex:s,adName:"banner_pos2",pageType:"search_page"})}):null]})};var tm=r(93172);let t_=[3,20,20,17],tu="RELEVANCE",th=(e,a)=>{let r=e?[...t_]:Array.from({length:Math.ceil(7.5)}).fill(8),t=[],s=r.shift();if(a.length>0){let e=0;for(;e<a.length;){let i=a.slice(e,e+s);t.push(i),e+=s,s=r.shift()}}else t.push([]);return t},tp=({value:e,sortBy:a})=>(0,m.jsx)("button",{"aria-label":`Sort By: ${e}`,className:f()("index-module_filterSearchButton__GHol",{"index-module_selectedFilter__f63U":a&&a.toLowerCase()===e.toLowerCase()}),onClick:()=>{(r=>{var t;let s;if(r===a)return;rf.G0.trackEvent("Search Results","buttonClicked",e);let i=new URLSearchParams(window.location.search),l=i.get("find")||((s={localURL:(t=window.location.href).match(/find%3D(.*?)(?=&|$)/),prodURL:t.match(/find=(.*?)(?=&|$)/)}).localURL?decodeURI(s.localURL[1]):s.prodURL?decodeURI(s.prodURL[1]):""),n=`/search?find=${encodeURIComponent(l)}`;r.toLowerCase()===tu.toLowerCase()&&(n+=`&sort=${i.get("sort")||"relevance"}`),window.location.href=n})(e)},type:"button",value:e,children:e});tp.propTypes={sortBy:ej().string.isRequired,value:ej().string.isRequired};let tx=e=>{let{searchRelevancyDisabled:a}=(0,h.by)(),r=(0,h.z0)("content.component-search-result_list-v1-01.search.teasers")||[],t=(0,h.z0)("content.component-search-title-v1-01.search.find")||"";r.length>60&&(r=r.slice(0,60));let{customConfigObj:s}=(0,h.QO)((0,h.z0)("rendering.section.data.injectedMarkup")),i=s.maxSearchResultsToShowTopStories||2,l=!1;if(r.length<=i){let e=(0,h.z0)("content.page-data.teaser")??[];l=e?.find(e=>"top_stories_teaser"===e.componentInstanceId)??{}}let n=(0,eg.N)("(max-width: 767px)"),o=th(n,r),d=void 0!==o[1],c=[{teasers:o[0],topStories:l,totalPages:o.length}],[u,p]=(0,_.useState)(d),[x,g]=(0,_.useState)(!1),[y,j]=(0,_.useState)(0),[b,k]=(0,_.useState)(c),[N,S]=(0,_.useState)({}),[C,w]=(0,_.useState)("DATE"),{languageHint:T}=(0,h.Hl)(),A=T?.slice(0,2)?.toLowerCase(),I=h.pt.sortBy,L=h.pt.date,R=h.pt.relevance,D=h.pt.result,W=h.pt.results;"es"===A&&(I=(0,h.Ck)(I),L=(0,h.Ck)(L),R=(0,h.Ck)(R),D=(0,h.Ck)(D),W=(0,h.Ck)(W));let P="";return 0===r.length?(P=h.pt.sorryYourSearchMatchedZeroResults,"es"===A&&(P=(0,h.Ck)(P))):r.length>0&&(P=`${r.length} ${r.length>1?W:D}`),(0,_.useEffect)(()=>{let e=C;if(!a&&window.location.search.includes(`sort=${tu.toLowerCase()}`)){e=tu,g(!0),w(tu);let a=[],s=t.toLowerCase(),i=r.filter(e=>{if(e.summary.toLowerCase().includes(s)||e.title.toLowerCase().includes(s))return e;a.push(e)});i.push(...a);let l=th(n,i);k([{...b[0],teaserList:l[0]}]),g(!1)}rf.G0.trackEvent("Search Results","initialLoad",e)},[]),(0,m.jsxs)(m.Fragment,{children:[!n&&!e.hideHeadAd&&(0,m.jsx)("div",{className:f()("index-module_pencilAdContainer__pWdi","index-module_bannerAdWrapperTop__EeK0"),children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"search_page"})}
10),(0,m.jsxs)("div",{className:f()("index-module_searchWrapper__U1PB",e.extraClassName),children:[(0,m.jsx)(ek,{searchTerm:t,showCloseIcon:!0}),(0,m.jsxs)("div",{className:f()("index-module_searchResultsWrapper__gwfn",e.searchResultsWrapperClassName),children:[(0,m.jsx)("p",{children:P}),!a&&c[0]?.teasers?.length>0&&(0,m.jsxs)("div",{className:f()("index-module_filterWrapper__GzhH",e.filterWrapperClassName),children:[(0,m.jsxs)("p",{children:[I,":"," "]}),(0,m.jsx)(tp,{sortBy:C,value:L})," | ",(0,m.jsx)(tp,{sortBy:C,value:R})]})]})]}),(0,m.jsx)(tm.A,{hasMore:u,isInfinite:!0,list:b,listComponent:e.listComponent?e.listComponent:tc,listComponentProps:e.listComponentProps,loadAds:e=>{let a=(0,h.z0)("rendering.pageTags")||[],r=(0,h.z0)("rendering.canonicalUrl");void 0===N[e]&&(ta(a,r,e,"search_page",!0).then(()=>{}),N[e]=!0,S(N))},loadMoreRows:()=>{let e,a,r;g(!0),a=void 0!==o[(e=y+1)+1],r=[{teasers:o[e],topStories:!1,totalPages:o.length}],p(a),j(e),k([...b,...r]),g(!1)},loading:x,pageType:"section"}),(0,m.jsx)("div",{className:"index-module_bannerAdWrapperBottom__LE8w",children:(0,m.jsx)(v.X,{adName:"banner_pos3",pageType:"search_page"})})]})},tg=e=>{let a=e.teasers.map(e=>({date:new Date(e.publishedDate).toISOString(),desc:e.summary,hasGallery:e.hasGallery,hasVideo:e.videoUrl&&""!==e.videoUrl,headline:e.title,href:e.url,img:e.heroImageUrl,teaserObject:e,uuid:e.uuid})),r=e.facade?.content["page-data"]?.teaser??[],t=r?.find(e=>"top_stories"===e.componentInstanceId)?.teasers??[];return 0===a.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(j.A,{children:(0,m.jsxs)("div",{className:"RefinedSearchContainer-module_suggestions__cpLv",children:[(0,m.jsx)("h2",{children:"Suggestions"}),(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{children:"make sure all words are spelled correctly"}),(0,m.jsx)("li",{children:"Try fewer or more general keywords"}),(0,m.jsx)("li",{children:"Try different keywords"})]})]})}),(0,m.jsx)(rJ,{stories:t,title:"Today's top stories"})]}):(0,m.jsx)("div",{className:"RefinedSearchContainer-module_teaser-list__cT0y",children:a.map(e=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(rg,{...e,layout:"section-page",size:"heroSecondary",withDate:!0}),(0,m.jsx)("hr",{})]}))})},ty=e=>(0,m.jsx)(k.A,{additionalStyle:"RefinedSearchContainer-module_two-grid-container__dFDP",mainChildren:(0,m.jsx)(tg,{...e}),sideBarChildren:(0,m.jsx)(rC,{facade:e.facade,hideStaff:!0,hideTwitter:!0,isInfinite:!0,pageType:"section",showMostPopularList:["xl","l","m"]})}),tf=e=>(0,m.jsx)("div",{className:"RefinedSearchContainer-module_search-container-parent__SVrA",children:(0,m.jsx)(tx,{...e,extraClassName:"RefinedSearchContainer-module_search-container__wHiK",filterWrapperClassName:"RefinedSearchContainer-module_filter-wrapper__q67W",hideHeadAd:!0,listComponent:ty,listComponentProps:{facade:e.facade},searchResultsWrapperClassName:"RefinedSearchContainer-module_search-results-wrapper__MFaK"})}),tv=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{facade:e.facade,mainChild:(0,m.jsx)(tf,{...e})})});var tj=r(29400),tb=r(75548),tk=r(89625);class tN extends _.PureComponent{constructor(e){super(e),this.state={currentSidebar:this.props.currentSidebar,inlineTeaser:!1},this.updateDomRef=this.updateDomRef.bind(this),this.possibleHeightChange=this.possibleHeightChange.bind(this),this.staticItemProps={adZone:(0,h.z0)("rendering.adZone"),dfpAdUnitId:(0,h.z0)("rendering.dfpAdUnitId"),dfpNetworkId:(0,h.z0)("rendering.dfpNetworkId"),mobileOrWeb:globalThis.innerWidth<768?"Mobile":"Web",navInfo:(0,h.z0)("content.navigation.navInfo.children"),sectionTitle:(0,h.z0)("rendering.section.name").toUpperCase(),sectionUrl:(0,h.z0)("rendering.sectionUrl"),social:(0,h.z0)("rendering.site.social"),teaserFetchLimit:8,twitterConfig:(0,h.z0)("content.section_teaser_list.teaser.data.twitterConfig")}}componentDidMount(){this.setState({...this.state,inlineTeaser:globalThis.innerWidth<768})}updateDomRef(e){this.domRef=e,this.possibleHeightChange()}possibleHeightChange(){this.props.listHeightChanged&&this.props.listHeightChanged(this.props.pageIndex,this.domRef)}render(){let e=(0,h.z0)("content.section_teaser_list.teaser.data.isHighschoolSports"),{teaserList:a,pageIndex:r}=this.props,{languageHint:t}=(0,h.Hl)(),{hideNewsGallery:s}=(0,h.z0)("rendering.section.data.customJson")||{},i=t?.slice(0,2)?.toLowerCase(),l=h.pt.more;return"es"===i&&(l=(0,h.Ck)(h.pt.more)),0===r?(0,m.jsx)(tk.A,{...this.props,...this.state,lazyLoad:!1,listHeightChanged:this.props.listHeightChanged,reportHeight
10Change:this.possibleHeightChange,updateDomRef:this.updateDomRef}):(0,m.jsxs)("div",{...this.props.listHeightChanged?{ref:this.updateDomRef}:{},children:[(0,m.jsx)("div",{className:C.A.adBeforeContent,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"section",storyIndex:r},r)}),(0,m.jsx)(k.A,{adBeforeFooter:"",mainChildren:(0,m.jsx)(re.A,{componentId:"js-Section-List",reportHeightChange:this.possibleHeightChange,teaserList:a||[],title:`${l} ${this.staticItemProps.sectionTitle}`},r),pageDivider:[!e&&!s&&(0,m.jsx)(tj.A,{componentId:`js-Section-Gallery-${r}`,galleryOffset:r,hideIfNoMore:!0,reportHeightChange:this.possibleHeightChange},r)],sideBarChildren:(0,m.jsx)(tb.A,{inlineTeaser:this.state.inlineTeaser,pageIndex:r,pageType:"section"})})]})}}class tS extends _.PureComponent{constructor(e){super(e),this.loadMoreRows=()=>{this.setState({loading:!0});let e=(0,h.z0)("rendering.site.url"),a=this.staticItemProps.sectionUrl.slice(1);this.fetchMoreTeasers(e,a,{limit:this.teaserLimit,loading:!0,offset:this.state.offset}).then(()=>{})},this.teaserLimit=e.teaserLimit?e.teaserLimit:8,this.offsetMultiplier=e.offsetMultiplier||2,this.teaserListFromFacade=(0,h.z0)("content.page-data.teaser.section_teaser_list.teasers");let a=[];this.teaserListFromFacade&&this.teaserListFromFacade.length>0&&(a=this.teaserListFromFacade.splice(0,this.teaserLimit*this.offsetMultiplier+1)),this.state={displayedStories:a,hasMore:!0,inlineTeaser:globalThis?.innerWidth<768,loading:!1,offset:this.teaserLimit*this.offsetMultiplier+1,teaserList:[a]},this.staticItemProps={adZone:(0,h.z0)("rendering.adZone"),dfpAdUnitId:(0,h.z0)("rendering.dfpAdUnitId"),dfpNetworkId:(0,h.z0)("rendering.dfpNetworkId"),mobileOrWeb:globalThis?.innerWidth<768?"Mobile":"Web",pageTitle:(0,h.z0)("rendering.pageTitle")||document.title,sectionTitle:(0,h.z0)("rendering.section.name").toUpperCase(),sectionUrl:(0,h.z0)("rendering.sectionUrl"),social:(0,h.z0)("rendering.site.social"),teaserFetchLimit:this.teaserLimit},this.handleScrollTopAction=this.handleScrollTopAction.bind(this),this.fetchMoreTeasers=this.fetchMoreTeasers.bind(this),this.uniqueStoryList=[]}fetchMoreTeasers(e,a,r){return(0,ew.xf)(e,a,r).then(e=>{this.uniqueStoryList=(0,A.UQ)(this.state.displayedStories,e.data.data),this.uniqueStoryList.length>0?this.setState({displayedStories:[...this.state.displayedStories,...this.uniqueStoryList],hasMore:e.data.data.length>0,loading:!1,offset:this.state.offset+this.teaserLimit,teaserList:[...this.state.teaserList,this.uniqueStoryList]}):this.setState({hasMore:!1,loading:!1})})}handleScrollTopAction(){rf.G0.trackEvent("Super Section","More",this.staticItemProps.pageTitle)}render(){return(0,m.jsx)(tm.A,{hasMore:this.state.hasMore,isInfinite:!0,list:this.state.teaserList?this.state.teaserList:[[]],listComponent:this.props.listComponent?this.props.listComponent:tN,listComponentProps:this.props.listComponentProps,listScrollBottomAction:this.handleScrollTopAction,loadMoreRows:this.loadMoreRows,loading:this.state.loading,pageType:"section"})}}let tC={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"RefinedSectionContainer-module_darkreader--fallback__lQcO","darkreader--text":"RefinedSectionContainer-module_darkreader--text__OfXd","darkreader--invert":"RefinedSectionContainer-module_darkreader--invert__YmkL","darkreader--inline":"RefinedSectionContainer-module_darkreader--inline__Ts7C","darkreader--variables":"RefinedSectionContainer-module_darkreader--variables__ZC36","darkreader--root-vars":"RefinedSectionContainer-module_darkreader--root-vars__H0fG","darkreader--user-agent":"RefinedSectionContainer-module_darkreader--user-agent__w7EK","ad-container":"RefinedSectionContainer-module_ad-container__uEOR",section:"RefinedSectionContainer-module_section__R2_w","unset-bg":"RefinedSectionContainer-module_unset-bg__i68X",shadow:"RefinedSectionContainer-module_shadow__F5fa","mb-15":"RefinedSectionContainer-module_mb-15__TpGI","two-grid-container":"RefinedSectionContainer-module_two-grid-container__LtT5",uppercase:"RefinedSectionContainer-module_uppercase__TpKe",gradient:"RefinedSectionContainer-module_gradient__TMH8","refined-section":"RefinedSectionContainer-module_refined-section__Yd1G","news-in-photos":"RefinedSectionContainer-module_news-in-photos__XQ_q",container:"RefinedSectionContainer-module_container__OObA","section-header-container":"RefinedSectionContainer-module_section-header-container__NFZU","section-header-title":"RefinedSectionContainer-module_section-header-title__SWJm","section-header-hero":"RefinedSectionContainer-module_section-header-hero__PJqw","headline-desc":"RefinedSectionContainer-module_headline-desc__HeeP","refined-section-list-container":"RefinedSectionContainer-module_refined-section-list-container__M2uR",story:"RefinedSectionContainer-module_story__e51M","section-list-title":"RefinedSectionContainer-module_section-list-title__jagS","break-ad-container":"RefinedSectionContainer-module_break-ad-container__Gtbh","refined-section-list-component":"RefinedSectionContainer-module_refined-section-list-component__cnYW"},tw=({teaserList:e,showTitle:a,title:r,pageIndex:t})=>{let s=e?.slice(0,e.length/2),i=e?.slice(e.length/2);return(0,m.jsxs)("div",{children:[(0,m.jsxs)("div",{className:f()(tC["refined-section-list-container"],tC.shadow),children:[a?(0,m.jsx)("h2",{className:tC["section-list-title"],children:r}):null,s.map(e=>(0,m.jsx)("div",{className:tC.story,children:(0,m.jsx)(rg,{desc:e.summary,hasGallery:e.hasGallery,hasVideo:e.videoUrl?""!==e.videoUrl:null,headline:e.title,href:e.url,img:e.heroImageUrl,label:e.sponsored?"sponsored":null,layout:"section-page",size:"heroSecondary",teaserObject:e})},e.url))]}),(0,m.jsx)(B.A,{showOn:["xs","s"],children:(0,m.jsx)("div",{className:tC["break-ad-container"],children:(0,m.jsx)(v.X,{adIndex:t,adName:"banner_pos2",pageType:"section"},`banner-ad-5-${t}`)})}),(0,m.jsx)("div",{className:f()(tC["refined-section-list-container"],tC.shadow),children:i.map(e=>(0,m.jsx)("div",{className:tC.story,children:(0,m.jsx)(rg,{desc:e.summary,hasGallery:e.hasGallery,hasVideo:e.videoUrl?""!==e.videoUrl:null,headline:e.title,href:e.url,img:e.heroImageUrl,label:e.sponsored?"sponsored":null,layout:"section-page",size:"heroSecondary",teaserObject:e})},e.url))})]})},tT=({sectionTitle:e,mainStory:a})=>a?(0,m.jsxs)("div",{className:tC["section-header-container"],children:[(0,m.jsx)("h1",{className:tC["section-header-title"],children:e}),(0,m.jsx)("a",{href:a.url,children:(0,m.jsxs)("div",{className:tC["section-header-hero"],children:[a.label?(0,m.jsx)("div",{className:tC.label,children:a.label}):null,(0,m.jsx)("img",{alt:`Image for story: ${a.title}`,src:(0,rp.Q)(a.heroImageUrl,"heroPrimary",a)}),(0,m.jsx)("div",{className:tC.gradient}),(0,m.jsxs)("div",{className:tC["headline-desc"],children:[(0,m.jsx)("h2",{children:a.title}),(0,m.jsxs)("p",{children:[a.summary,(0,m.jsx)("span",{children:"Read More"})]})]})]})})]}):null,tA=e=>{let{pageIndex:a,sectionTitle:r,facade:t,teaserList:s}=e,i=(0,Q.A)(["content","page-data"],t),l=i?.teaser?.filter(e=>{if(e?.componentInstanceId==="section_teaser_list")return e}),n=_.useRef(null),o=a=>{n.current=a,e.listHeightChanged&&e.listHeightChanged(e.pageIndex,n)},d=l[0]?.teasers;return d&&0!==d.length?0===a?(0,m.jsx)("div",{...e.listHeightChanged?{ref:e=>{o(e)}}:{}
10,children:(0,m.jsx)(k.A,{additionalStyle:tC["two-grid-container"],mainChildren:(0,m.jsxs)("div",{className:tC.container,children:[(0,m.jsx)(tT,{mainStory:d[0],sectionTitle:r}),(0,m.jsx)(tw,{pageIndex:a,teaserList:d.slice(1,10)})]}),pageDivider:[(0,m.jsx)(tj.A,{componentId:`js-Section-Gallery-${a}`,extraClass:tC["news-in-photos"],galleryOffset:a,hideIfNoMore:!0},a)],sideBarChildren:(0,m.jsx)(rC,{facade:t,isInfinite:"true",pageIndex:a,pageType:"section",showAd1:!0,showMiniFooter:!0,showMostPopularList:["xl","l","m"],showStaffList:["xl","l","m"],showTwitterList:["xl","l","m"]})})}):(0,m.jsxs)("div",{className:tC["refined-section-list-component"],...e.listHeightChanged?{ref:e=>{o(e)}}:{},children:[(0,m.jsx)(B.A,{showOn:["xl","l","m"],children:(0,m.jsx)("div",{className:tC["break-ad-container"],children:(0,m.jsx)(v.X,{adIndex:a,adName:"banner_pos2",pageType:"section"},`ad-page-${a}`)})}),(0,m.jsx)(k.A,{adBeforeFooter:"",additionalStyle:tC["two-grid-container"],mainChildren:(0,m.jsx)("div",{className:tC.container,children:(0,m.jsx)(tw,{pageIndex:a,showTitle:!0,teaserList:s,title:`More ${r}`})}),pageDivider:a%2==0&&[(0,m.jsx)("div",{className:tC["page-divider"],children:(0,m.jsx)(tj.A,{componentId:`js-Section-Gallery-${a}`,extraClass:tC["news-in-photos"],galleryOffset:a,hideIfNoMore:!0},a)})],sideBarChildren:(0,m.jsx)(rC,{facade:t,isInfinite:!0,pageIndex:a,pageType:"section",showAd1:!0,showMiniFooter:!0,showMostPopularList:["xl","l","m"],showStaffList:["xl","l","m"],showTwitterList:["xl","l","m"]})})]}):null},tI=({facade:e})=>{let a=(0,Q.A)(["rendering","pageTitle"],e);return(0,m.jsx)("div",{className:tC["refined-section"],children:(0,m.jsx)(tS,{listComponent:tA,listComponentProps:{facade:e,sectionTitle:a},offsetMultiplier:1,teaserLimit:10})})},tL=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,headAdName:"premium",infiniteScroll:!0,mainChild:(0,m.jsx)(tI,{facade:e.facade}),pageType:"section"})}),tR=({name:e,role:a,image:r,href:t})=>(0,m.jsxs)("a",{className:"index-module_bio__oFho",href:t,children:[(0,m.jsx)("img",{alt:e,src:r}),(0,m.jsx)("h2",{className:"index-module_name__ILhs",children:e}),(0,m.jsx)("h3",{className:"index-module_role__ksp3",children:a})]}),tD=({bios:e})=>{let a=0;return(0,m.jsx)("div",{className:"RefinedStaffContainer-module_refined-bio-list__M37F",children:e.map((e,r)=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(tR,{href:e.href,image:e.image,name:e.name,role:e.role}),r%4==3&&(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)("div",{className:"RefinedStaffContainer-module_ad__
10X26z",children:(0,m.jsx)(v.X,{adIndex:a++,adName:"rightrail_pos1",pageType:"bio_landing_page"})})})]}))})},tW=({facade:e})=>{let a=e?.content["page-data"]?.teaser??[],r=((a?.find(e=>"refined_bio_section-01"===e.componentInstanceId)?.teasers??[])||[]).map(e=>({href:e.url,image:e.heroImageUrl,name:e.title,role:e.role,title:e.summary}));return(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["xl","l","m"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"bio_landing_page"})}),additionalStyle:"RefinedStaffContainer-module_two-grid-container__q32i",mainChildren:(0,m.jsxs)("div",{className:"RefinedStaffContainer-module_refined-staff-bios-list-container__b1cm",children:[(0,m.jsx)("h1",{children:"Meet our team"}),(0,m.jsx)(tD,{bios:r})]}),sideBarChildren:(0,m.jsx)(rC,{facade:e,hideStaff:!0,hideTwitter:!0,pageType:"bio_landing_page",showAd1:!0,showAd1Mobile:!0,showAd2:!0,showAd2Mobile:!0})})},tP=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,mainChild:(0,m.jsx)(tW,{facade:e.facade}),pageType:"bio_landing_page"})});var tH=r(87171),tF=r(11098),tU=r(12101),tE=r(69725),tM=r(15242),tB=r(14678),tO=r(33546);let tG={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"StoryDetail-module_darkreader--fallback__lIR2","darkreader--text":"StoryDetail-module_darkreader--text__lX1L","darkreader--invert":"StoryDetail-module_darkreader--invert__SDoo","darkreader--inline":"StoryDetail-module_darkreader--inline__TA8V","darkreader--variables":"StoryDetail-module_darkreader--variables__wJjx","darkreader--root-vars":"StoryDetail-module_darkreader--root-vars__bhip","darkreader--user-agent":"StoryDetail-module_darkreader--user-agent__qzfW","text-sm":"StoryDetail-module_text-sm__urWD","mb-15":"StoryDetail-module_mb-15__ruFo","text-base-light":"StoryDetail-module_text-base-light__KDeN",label:"StoryDetail-module_label__qzsw","sponsored-label":"StoryDetail-module_sponsored-label__bBFG","accessibility-button":"StoryDetail-module_accessibility-button__Efef","has-video":"StoryDetail-module_has-video__fbzO","has-gallery":"StoryDetail-module_has-gallery__IQfF","chevron-right":"StoryDetail-module_chevron-right__InqO","chevron-right2":"StoryDetail-module_chevron-right2__uvVr","story-detail":"StoryDetail-module_story-detail__U0Fa","no-hero":"StoryDetail-module_no-hero__JDsS","sponsored-banner":"StoryDetail-module_sponsored-banner__UItL",container:"StoryDetail-module_container__o0Ue",headline:"StoryDetail-module_headline__cNdN",social:"StoryDetail-module_social__VD6b","by-line":"StoryDetail-module_by-line__JiOn","user-way-button":"StoryDetail-module_user-way-button__dH2l","author-date":"StoryDetail-module_author-date__IWx9",author:"StoryDetail-module_author__JkGV","photos-preview":"StoryDetail-module_photos-preview__RtWg",hidden:"StoryDetail-module_hidden__Xsc_","overlay-image":"StoryDetail-module_overlay-image__RM3z",overlay:"StoryDetail-module_overlay__vA9M",text:"StoryDetail-module_text__vJ8R",content:"StoryDetail-module_content__lgml","story-text":"StoryDetail-module_story-text__xPY9",sticky:"StoryDetail-module_sticky__mcMj","social-link":"StoryDetail-module_social-link__cmtN","sd-embedded-media":"StoryDetail-module_sd-embedded-media__ufmh","embed-container":"StoryDetail-module_embed-container__Ap4o"},tz=({headline:e,content:a,date:r,author:t,story:s,canonicalUrl:i,sponsored:l,storyIndex:n,galleryLink:o})=>{let{galleryAllowed:d,heroImage:c,derivedImages:_,images:u,videos:p,audios:x,pageTags:g}=s,{protocol:y,hostname:v,sectionWithoutStoryUrl:j}=(0,h.SJ)(),b=Array.isArray(p)&&Array.isArray(x)&&[...p,...x],k=(0,tM.oR)(b),{title:N}=k?k[0]:"",{indexOfHeroImageInPackageMedia:S,heroImageFromPackageMedia:C,sanitizedImages:w,imageTotal:T}=tE.A.process({derivedImages:_,heroImage:c,images:u},y,v),{large16x9Url:A,caption:I,uuid:L,small16x9Url:R}=C;return(0,m.jsxs)("div",{className:f()(tG["story-detail"],c?"":tG["no-hero"]),children:[l?(0,m.jsx)("div",{className:tG["sponsored-banner"],children:"Special Advertising Content"}
10):null,c?(0,m.jsx)(tU.A,{allVideosAndAudios:k,altTag:I||N,baseGalleryLinkUrl:o,canonicalUrl:i,galleryAllowed:d,heroImage:c,heroImageIndex:S,hostname:v,imageUrl:A,pageTags:g,pageType:"story",protocol:y,section:j,storyUuid:s.uuid,uuid:L,videoThumb:R}):null,c?(0,m.jsx)("summary",{children:(0,m.jsx)(tH.A,{caption:c.image.caption,storyIndex:n})}):null,(0,m.jsxs)("div",{className:f()(tG.container),children:[(0,m.jsx)("div",{className:tG.social,children:(0,m.jsxs)("div",{className:tG.sticky,children:[(0,m.jsx)(tF.A,{canonicalUrl:i,commentingEnabled:!1,extraClass:f()(tG["social-link"]),headline:e,hoverColor:!0,pageType:"story",type:"facebook"}),(0,m.jsx)(tF.A,{canonicalUrl:i,commentingEnabled:!1,extraClass:f()(tG["social-link"]),headline:e,hoverColor:!0,pageType:"story",type:"twitter"}),(0,m.jsx)(tF.A,{canonicalUrl:i,commentingEnabled:!1,extraClass:f()(tG["social-link"]),headline:e,hoverColor:!0,pageType:"story",type:"pinterest"}),(0,m.jsx)(tF.A,{canonicalUrl:i,commentingEnabled:!1,extraClass:f()(tG["social-link"]),headline:e,hoverColor:!0,pageType:"story",type:"email"})]})}),(0,m.jsxs)("div",{children:[(0,m.jsx)("h1",{className:tG.headline,children:e}),(0,m.jsx)("hr",{}),(0,m.jsxs)("div",{className:tG["by-line"],children:[(0,m.jsxs)("div",{className:tG["author-date"],children:[(0,m.jsx)("div",{className:tG.author,children:t}),(0,m.jsx)("div",{children:r})]}),(0,m.jsx)(tO.A,{className:tG["user-way-button"],type:"story"})]}),c&&d?(0,m.jsxs)("div",{className:f()(tG["photos-preview"],0===w.length?tG.hidden:""),children:[w&&w[0]?(0,m.jsx)("a",{href:`${o}?photo=1`,children:(0,m.jsx)("img",{alt:w[0].caption,src:w[0].medium16x9Url})}):null,w&&w[1]?(0,m.jsx)("a",{href:`${o}?photo=2`,children:(0,m.jsx)("img",{alt:w[1].caption,src:w[1].medium16x9Url})}):null,w&&w[2]?(0,m.jsxs)("a",{className:tG["overlay-image"],href:o,children:[(0,m.jsx)("img",{alt:w[2].caption,src:w[2].medium16x9Url}),(0,m.jsxs)("div",{className:tG.overlay,children:[(0,m.jsx)("div",{className:tG.text,children:T}),(0,m.jsx)("div",{children:"View all photos"})]})]}):null]}):null,(0,m.jsx)("div",{className:tG.content,children:(0,m.jsx)(tB.A,{embedClassName:tG["embed-container"],storyIndex:n,storyProps:{richText:a},storyTextClass:tG["story-text"],text:a})})]})]}),(0,m.jsx)("div",{className:tG["more-section"],children:(0,m.jsx)(er.A,{canonicalUrl:i,isInfinite:!1,uuid:s.uuid})})]})},tV={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"RefinedStoryContainer-module_darkreader--fallback__j2pW","darkreader--text":"RefinedStoryContainer-module_darkreader--text__I07v","darkreader--invert":"RefinedStoryContainer-module_darkreader--invert__TROg","darkreader--inline":"RefinedStoryContainer-module_darkreader--inline__I_S_","darkreader--variables":"RefinedStoryContainer-module_darkreader--variables__kT5O","darkreader--root-vars":"RefinedStoryContainer-module_darkreader--root-vars__bIp_","darkreader--user-agent":"RefinedStoryContainer-module_darkreader--user-agent__BChF","ad-container":"RefinedStoryContainer-module_ad-container__IPhS",section:"RefinedStoryContainer-module_section__RUDW","unset-bg":"RefinedStoryContainer-module_unset-bg__GTXs",shadow:"RefinedStoryContainer-module_shadow__yPZX","mb-15":"RefinedStoryContainer-module_mb-15__seu5","two-grid-container":"RefinedStoryContainer-module_two-grid-container__WvAo",uppercase:"RefinedStoryContainer-module_uppercase__y7hi",gradient:"RefinedStoryContainer-module_gradient__qFrf"},t$=({facade:e})=>{let a,r,t,s,i,l,n,o=(0,Q.A)(["content","main_content","story","richText"],e),d=(0,Q.A)(["content","main_content","story","headline"],e),c=(0,Q.A)(["content","main_content","story","heroImage","image","jumbo16x9Url"],e),_=new Date((0,Q.A)(["content","main_content","story","publishedDateTimeLocal"],e)),u=["January","February","March","April","May","June","July","August","September","October","November","December"][_.getMonth()],h=`${u} ${_.getDate()}, ${_.getFullYear()}`,p=(0,Q.A)(["content","main_content","story","byLine"],e),x=(0,Q.A)(["content","main_content","story","canonicalUrl"],e),g=(0,Q.A)(["content","main_content","story","sponsored"],e),y=(0,Q.A)(["content","main_content","story"],e),f=(0,Q.A)(["rendering","fullyQualifiedGalleryUrl"],e),j=(0,Q.A)(["content","main_content","story","galleryAllowed"],e),b=f;try{b=f.includes("http")?new URL(f).pathname:new URL(`http://${f}`).pathname}catch{console.error("Could not create gallery URL from link ",f)}return a=(0,Q.A)(["rendering","site","url"],e),t=r=y.canonicalUrl||(0,Q.A)(["rendering","canonicalUrl"],e),s=`${(0,Q.A)(["rendering","sectionUrl"],e)}${r}`,l=""===(i=(0,Q.A)(["rendering","protocol"],e))?"/":`${i}://${a}`,"/"===t.charAt(0)&&(t=t.slice(1)),n={storyIdentifier:y.uuid,storySlug:t,storyType:"story",url:`${l}${s}`},ru.A.put("/api/rest/analytics/page/rendered",n,{headers:{"Content-Type":"application/json; charset=utf-8"}}).catch(e=>{console.error("Error sending trending data: ",e)}),(0,m.jsx)("div",{className:tV["story-container"],children:(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["m","l","xl"],children:(0,m.jsx)(v.X,{adName:"story_bottom",pageType:"story"})}
10),additionalStyle:tV["two-grid-container"],mainChildren:(0,m.jsx)(tz,{author:p,canonicalUrl:x,content:o,date:h,galleryAllowed:j,galleryLink:b,headline:d,img:c,logoUrl:(0,Q.A)(["rendering","site","faviconImageUrl"],e),sponsored:g,story:y,storyIndex:0}),sideBarChildren:(0,m.jsx)(rC,{facade:e,pageType:"ref_story",showAd1:!0,showAd1Mobile:!0,showAd2:!0,showAd2Mobile:!0,showAd3:!0,showStaffList:["xl","l","m","s"],showTwitterList:["xl","l","m","s"]})})})},tX=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(rz,{displayHeadAd:!0,facade:e.facade,headAdName:"story_top",mainChild:(0,m.jsx)(t$,{facade:e.facade}),pageType:"ref_story"})}),tq=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:tx,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var tY=r(16703),tK=r(94752),tJ=r(45819);let tZ={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__Yv12","darkreader--text":"index-module_darkreader--text__gpIP","darkreader--invert":"index-module_darkreader--invert__tXM5","darkreader--inline":"index-module_darkreader--inline__ncpx","darkreader--variables":"index-module_darkreader--variables__Ot3P","darkreader--root-vars":"index-module_darkreader--root-vars__mnag","darkreader--user-agent":"index-module_darkreader--user-agent__XFbw",bioCarouselContainer:"index-module_bioCarouselContainer__FbjE",navArrowWrapper:"index-module_navArrowWrapper__fDFK",leftNavArrow:"index-module_leftNavArrow__vjLA",rightNavArrow:"index-module_rightNavArrow__RrO7",carousel:"index-module_carousel__XIDS",slideContainer:"index-module_slideContainer__yBTE",slide:"index-module_slide__RKeh",innerSlide:"index-module_innerSlide__Fq5W"},tQ=()=>{let e=(0,h.z0)("content.page-data")?.teaser?.find(e=>"component-teaser-bio_list-v1-01"===e.componentInstanceId)??{},a=e?.teasers??[],r=(0,eg.N)("(max-width: 1023px)"),[t,s]=(0,_.useState)(0),[i,l]=(0,ar.A)({align:"start",loop:!0,skipSnaps:!1,slidesToScroll:r?1:4,startIndex:0}),n=(0,_.useCallback)(()=>{l&&s(l.selectedScrollSnap())},[l]);return(0,_.useEffect)(()=>{l&&l.on("select",n)},[l,n]),(0,m.jsxs)("div",{className:tZ.bioCarouselContainer,id:"js-BioCarousel-Container",children:[l?.canScrollPrev()?(0,m.jsx)("div",{className:f()(tZ.navArrowWrapper,tZ.leftNavArrow),onClick:l?.scrollPrev,children:(0,m.jsx)("img",{alt:"navigate to bios on left",className:tZ.carouselArrow,src:"/resources/defaults/news_3.0/icons/ui/sbg-arrow-left-black-border.svg"})}):null,(0,m.jsx)("div",{className:tZ.carousel,ref:i,children:(0,m.jsx)("div",{className:tZ.slideContainer,children:a?a.map((e,a)=>(0,m.jsx)("div",{className:tZ.slide,children:(0,m.jsx)("div",{className:tZ.innerSlide,children:(0,m.jsx)(O,{image:e.medium16x9Url,talentName:e.title,talentTitle:e.role,titleColor:"#CCCCCC",url:e.url},a)},a)},a)):null})}),l?.canScrollNext()?(0,m.jsx)("div",{className:f()(tZ.navArrowWrapper,tZ.rightNavArrow),onClick:l?.scrollNext,children:(0,m.jsx)("img",{alt:"navigate to bios on right",className:tZ.carouselArrow,src:"/resources/defaults/news_3.0/icons/ui/sbg-arrow-right-black-border.svg"})}):null]})},t0={en:{affiliateText:"Television affiliate owned and operated by",baseOwner:"Sinclair Broadcast Group",ownerBrandingService:"and receives certain services from an affiliation of",siteDescription:"Sinclair, Inc. is one of the largest and most diversified television broadcasting companies in the country today. Sinclair owns and operates, programs or provides sales services to 163 television stations in 77 markets, after pending transactions. Sinclair's television group reaches approximately 38.7% of US television households and includes FOX, ABC, MyTV, CW, CBS, NBC, Univision and Azteca affiliates.",stationPrefix:"is",stationSuffix:"station and"},es:{affiliateText:"Television propiedad y operada por",baseOwner:"Sinclair Broadcast Group",ownerBrandingService:"y recibe ciertos servicios de una filial de",siteDescription:"Sinclair, Inc. es una de las compa\xf1\xedas de transmisi\xf3n de televisi\xf3n m\xe1s grandes y diversificadas del pa\xeds en la actualidad. Sinclair posee y opera, programa o brinda servicios de venta a 163 estaciones de televisi\xf3n en 77 mercados, luego de transacciones pendientes. El grupo de televisi\xf3n de Sinclair llega a aproximadamente el 38,7% de los hogares con televisi\xf3n de EE. UU. e incluye a las filiales de FOX, ABC, MyTV, CW, CBS, NBC, Univision y Azteca.",stationPrefix:"es una estaci\xf3n con sede en",stationSuffix:"y una afiliada de"}},t1=e=>(0,h.WD)(e)?"an":"a",t2=({state:e="",network:a="",siteBranding:r="",className:t="",language:s="en",customJson:i={about:"",overrideAboutSectionFirstLine:"",overrideSiteDescription:"",ownerBranding:"",useThisFullStateNameForAbout:""}})=>{let l;if(i.about)return i.about.split("\n").filter(e=>""!==e).map(e=>(0,m.jsx)("p",{className:t||"",children:e}));let n=i.useThisFullStateNameForAbout?.length>2,o=n?i.useThisFullStateNameForAbout:e,d=n?`${o}-based`:`${o} based`,c="es"===s,_=t0[c?"es":"en"],u=(l=i.ownerBranding?`${i.ownerBranding} ${_.ownerBrandingService} ${_.baseOwner}`:_.baseOwner,c?`${_.stationPrefix} ${o} ${_.stationSuffix} ${a} ${_.affiliateText} ${l}. `:`${_.stationPrefix} ${t1(o)} ${d} ${_.stationSuffix} ${t1(a)} ${a} ${_.affiliateText} ${l}. `);return(0,m.jsxs)("p",{className:t,"data-testid":"about-contact",children:[i.overrideAboutSectionFirstLine?`${i.overrideAboutSectionFirstLine} `:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("strong",{children:r})," ",u]}),i.overrideSiteDescription?`${i.overrideSiteDescription}`:`${_.siteDescription}`]})};t2.propTypes={className:ej().string,customJson:ej().shape({about:ej().string,overrideAboutSectionFirstLine:ej().string,overrideSiteDescription:ej().string,ownerBranding:ej().string,useThisFullStateNameForAbout:ej().string}
10),language:ej().string,network:ej().string,siteBranding:ej().string,state:ej().string};let t6=({address:e,className:a})=>(0,m.jsx)(m.Fragment,{children:Array.isArray(e)&&(0,m.jsx)("address",{className:f()("ContactAddress-module_addressContainer__R_GR",a),children:e.map(e=>(0,m.jsx)("span",{className:"ContactAddress-module_addressItem__RDQz",children:e}))})});t6.propTypes={address:ej().array.isRequired,className:ej().string},t6.defaultProps={address:[""]};let t3=({text:e,url:a,type:r,className:t})=>{let{textColorThree:s}=(0,ey.D)(),i=s?{color:`${s}`}:{};return(0,m.jsx)("a",{className:f()("ContactLink-module_link__ORzp",t),href:a,rel:"noreferrer",style:i,target:"phone"===r||"email"===r?"":"_blank",children:e})};t3.propTypes={className:ej().string,text:ej().string.isRequired,type:ej().string,url:ej().string.isRequired},t3.defaultProps={text:"",url:""};let t4="ContactDetail-module_contactText__SzL6",t8=({title:e,text:a,type:r,color:t,className:s})=>{var i,l;let n=t?{color:`${t}`}:{};return(0,m.jsxs)("div",{className:f()("ContactDetail-module_contactDetailContainer__GONV",s),"data-testid":"contact-detail-parent",children:[(0,m.jsxs)("span",{className:"ContactDetail-module_contactTitle__RkKA","data-testid":"contact-detail-span",style:n,children:[e,":"]}),(i=a,"address"===(l=r)?(0,m.jsx)(t6,{address:i}):"phone"===l?(0,m.jsx)(t3,{className:t4,text:i,type:l,url:`tel:${i}`}):"email"===l?(0,m.jsx)(t3,{className:t4,text:i,type:l,url:`mailto:${i}`}):Array.isArray(i)?i.map(e=>(0,m.jsx)("span",{className:t4,children:e})):(0,m.jsx)("span",{className:t4,children:i}))]})};t8.propTypes={className:ej().string,color:ej().string,text:ej().oneOfType([ej().string,ej().array]),title:ej().string,type:ej().string},t8.defaultProps={};let t9="index-module_line__pNN7",t5="index-module_secondaryLine__SNs3",t7="index-module_contactListItem__IGwQ",se=()=>{let e=(0,h.z0)("rendering.section.data.customJson")||{},{name:a,state:r,network:t}=(0,h.z0)("rendering.site"),s=e?.siteBranding||a,{languageHint:i}=(0,h.Hl)(),l=i?.slice(0,2)?.toLowerCase(),n=s?.toUpperCase(),o=`${"es"===l?"ACERCA DE":"ABOUT"} ${e?.customStationListInAboutSectionTitle||n}`,d=(0,h.Ck)(h.pt.seeMore),c=(0,h.Ck)(h.pt.mainPhone),_=(0,h.Ck)(h.pt.mainFax),u=(0,h.Ck)(h.pt.newsTipline),p=e.pressReleaseTextOverride??(0,h.Ck)(h.pt.sendAllPressReleaseTo);return(0,m.jsx)("div",{className:"index-module_stationContactContainer__j_zj",id:"js-StationContact-Container",children:(0,m.jsxs)(j.A,{className:"index-module_panelWrapper__fiqH",children:[(0,m.jsxs)("div",{className:"index-module_titleBar__o3Sr",children:[(0,m.jsx)("h2",{children:o}),!0!==e.hideAboutSeeMore&&(0,m.jsx)("div",{className:"index-module_moreContainer__oBXl",children:(0,m.jsx)(tK.A,{style:{left:16,marginTop:0,position:"relative",top:0},text:d,url:e.contactUrlOverride?e.contactUrlOverride:"/station/contact"})})]}),(0,m.jsx)("span",{className:t9}),(0,m.jsx)(t2,{className:"index-module_aboutText__tJlY",customJson:e,language:l,network:t,siteBranding:s,state:r}),(0,m.jsx)("span",{className:f()(t9,t5)}),(0,m.jsxs)("div",{className:"index-module_contactList__wvpJ",children:[e.mainPhone?(0,m.jsx)(t8,{className:t7,text:e.mainPhone,title:c,type:"phone"}):null,e.mainFax?(0,m.jsx)(t8,{className:t7,text:e.mainFax,title:_}):null,e.newsTipline?(0,m.jsx)(t8,{className:t7,text:e.newsTipline,title:e.newsTiplineName||u,type:"phone"}):null]}),(0,m.jsx)("span",{className:f()(t9,t5)}),e.pressReleaseEmail?(0,m.jsx)(t8,{className:"index-module_pressRelease__yleB",color:"#D1132C",text:e.pressReleaseEmail,title:p,type:"email"}):null,!0!==e.hideAboutSeeMore&&(0,m.jsx)("div",{className:"index-module_xsMoreContainer__MYZQ",children:(0,m.jsx)(tK.A,{style:{bottom:10},text:"See More",url:e.contactUrlOverride?e.contactUrlOverride:"/station/contact"})})]},1)})},sa=()=>{let e=encodeURIComponent((0,h.z0)("rendering.section.data.customJson.stationAddress"));return(0,m.jsx)("div",{className:"index-module_stationMapContainer__vCLv",id:"js-StationMap-Container",children:(0,m.jsx)("div",{className:"index-module_googleMap__fZVz",children:(0,m.jsx)("iframe",{allowfullscreen:!0,frameBorder:"0",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",src:`https://www.google.com/maps/embed/v1/place?key=AIzaSyAaasROX7XnW2wpmj4VY_PuaEnzZ7l8aDk 11 &q=${e}`})})})},sr={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__sB4_","darkreader--text":"index-module_darkreader--text__buyq","dar
11kreader--invert":"index-module_darkreader--invert__GVKK","darkreader--inline":"index-module_darkreader--inline__Ni38","darkreader--variables":"index-module_darkreader--variables__c4f1","darkreader--root-vars":"index-module_darkreader--root-vars__iWsH","darkreader--user-agent":"index-module_darkreader--user-agent__z9P0",stationContainer:"index-module_stationContainer__NZNK",mobileHero:"index-module_mobileHero__qKx3",staticHero:"index-module_staticHero__VJED",parallaxContent:"index-module_parallaxContent__AAff",stationBiosContainer:"index-module_stationBiosContainer__qVPf",titleBar:"index-module_titleBar__vuCe",upperSeeMore:"index-module_upperSeeMore__FEWe",bottomSeeMore:"index-module_bottomSeeMore__sGVH",adBeforeContent:"index-module_adBeforeContent__I93j",adBeforeFooter:"index-module_adBeforeFooter__wCDZ",mobileAd:"index-module_mobileAd__i0iS",topRightRailAd:"index-module_topRightRailAd__FLZ4",secondaryBioContainer:"index-module_secondaryBioContainer__rj9u",parallaxOverride:"index-module_parallaxOverride__Jhc7"};var st=r(13866);let ss=()=>{var e,a,r,t,s,i,l,n,o;let d=(0,h.z0)("content.page-data")?.teaser?.find(e=>"contests_teaser_list"===e.componentInstanceId)??{},c=(0,eg.N)("(min-width: 1024px)"),_=(0,eg.N)("(min-width: 768px) and (max-width: 1023px)"),u=(0,eg.N)("(max-width: 767px)"),p=d.teasers??[],x=(0,h.z0)("rendering.section.data.customJson.segmentImages"),g=(0,h.z0)("rendering.section.data.customJson"),y=(e=>{let{languageHint:a}=(0,h.Hl)(),r=a?.slice(0,2)?.toLowerCase(),t=h.pt.featuredSegments;"es"===r&&(t=(0,h.Ck)(h.pt.featuredSegments));let s={data:{},title:t};return s.teasers=e?.map((e,a)=>({index:a,large36x25Url:`/resources/${e.image}`,title:"",type:"stationFeaturedSegments",url:e.url})),s})(x),f=(0,h.z0)("rendering.section.data.customJson.social"),b=(0,h.z0)("rendering.site.callLetters").toLowerCase(),S=`/resources/assets/${b}/images/station-hero/${b}-hero.jpg`,C=`/resources/assets/${b}/images/station-hero/${b}-hero-m.jpeg`,{languageHint:w}=(0,h.Hl)(),A=w?.slice(0,2)?.toLowerCase(),I=(0,h.z0)("rendering.section.data.customJson.peopleUrlOverride")||"/station/people",L=(0,h.z0)("rendering.section.data.customJson.contestsUrlOverride")||d?.data?.moreUrl||"/contests",R=h.pt.stayConnected,D=h.pt.meetOurTeam,W=h.pt.seeMore;"es"===A&&(R=(0,h.Ck)(h.pt.stayConnected),D=(0,h.Ck)(h.pt.meetOurTeam),W=(0,h.Ck)(h.pt.seeMore));let P=[(0,m.jsxs)("div",{className:sr.stationSidebar,children:[c?(0,m.jsx)(j.A,{className:sr.topRightRailAd,children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"station"})}):null,(0,m.jsx)(tJ.A,{componentId:"js-StationSocialWidget-Container",social:f,title:R}),(0,m.jsx)("div",{className:sr.stationTrending,children:(0,m.jsx)(T.A,{adType:"Native",showOnMobile:!0,storyIndex:0},0)}),c?(0,m.jsx)(j.A,{className:sr.topRightRailAd,children:(0,m.jsx)(v.X,{adName:"rightrail_pos2",pageType:"station"})}):null,_&&!c?(0,m.jsx)("div",{className:sr.mobileAd,children:(0,m.jsx)(v.X,{adName:"rightrail_pos2",pageType:"station"})}):null]})];return(0,m.jsxs)("div",{className:sr.stationContainer,id:"js-Station-Container",children:[(0,m.jsx)("div",{className:sr.stationParallax,id:"js-Parallax-Container",children:(e=c,a=u,r=sr.mobileHero,t=sr.staticHero,s=C,i=sr.parallaxContent,l=S,n=g?.parallaxOverride,o=sr.parallaxOverride,e?n?(0,m.jsx)("div",{className:o,children:(0,m.jsx)("img",{alt:"Station about page image",src:n})}):(0,m.jsx)(st.Parallax,{bgImage:l,strength:100,children:(0,m.jsx)("div",{className:i})}):a?(0,m.jsx)("div",{className:r,children:(0,m.jsx)("img",{alt:"Station about page image",src:s})}):n?(0,m.jsx)("div",{className:o,children:(0,m.jsx)("img",{alt:"Station about page image",src:n})}):(0,m.jsx)("div",{className:t,children:(0,m.jsx)("img",{alt:"Station about page image",src:l})}))}),(0,m.jsxs)("div",{className:sr.stationBiosContainer,id:"js-StationBios-Container",children:[(0,m.jsxs)("div",{className:sr.secondaryBioContainer,children:[(0,m.jsxs)("div",{className:sr.titleBar,children:[(0,m.jsx)("h2",{children:D}),(0,m.jsx)("div",{className:sr.upperSeeMore,children:(0,m.jsx)(tK.A,{style:{color:"#FFFFFF",left:16,marginTop:0,position:"relative",top:0},text:W,url:I})})]}),(0,m.jsx)(tQ,{})]}),(0,m.jsx)("div",{className:sr.bottomSeeMore,children:(0,m.jsx)(tK.A,{text:W,url:I})})]}),(0,m.jsx)("div",{className:sr.adBeforeContent,children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"station"})}),(0,m.jsx)(k.A,{adBeforeFooter:"",className:sr.PageGrid,mainChildren:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(se,{}
11),u?(0,m.jsx)("div",{className:sr.mobileAd,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"station"})}):null,g&&g?.hideSegments!==!0?(0,m.jsx)(ef.A,{componentId:"js-FeaturedSegments-Container",data:y,disableSecondaryList:!0,isFeaturedSegments:!0,mobileAttributeOverrideSecondary:N.A.mobilePrimary,noSeeMore:!0}):null,!c&&(0,m.jsx)("div",{className:sr.mobileAd,children:(0,m.jsx)(v.X,{adName:_?"rightrail_pos1":"banner_pos3",pageType:"station"})}),g&&g?.hideContests!==!0?(0,m.jsx)(re.A,{componentId:"js-StationContestTeasers-Container",isListSection:!0,teaserList:p||[],title:d?.title?.toUpperCase(),url:L},0):null]}),sideBarChildren:P}),g&&g?.hideMap!==!0?(0,m.jsx)(sa,{}):null,(0,m.jsx)(B.A,{showOn:["xl","l","m","s"],children:(0,m.jsx)("div",{className:sr.adBeforeFooter,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"station"})})}),(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)("div",{className:sr.adBeforeFooter,children:(0,m.jsx)(v.X,{adName:"banner_pos4",pageType:"station"})})})]})},si=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:ss,...e,showFooterBottom:!0,...e.facade,userMetaData:e.userInfo})});var sl=r(54429),sn=r(33179),so=r(90810),sd=r(53085);let sc=e=>{let a,r,t={adZone:(0,h.z0)("rendering.adZone"),customHtml:(0,h.z0)("rendering.section.data.injectedMarkup"),customJson:(0,h.z0)("rendering.section.data.customJson"),dfpAdUnitId:(0,h.z0)("rendering.dfpAdUnitId"),dfpNetworkId:(0,h.z0)("rendering.dfpNetworkId"),inlineTeaser:globalThis.innerWidth<768,lazyLoad:e.lazyLoad,mobileOrWeb:globalThis.innerWidth<768?"Mobile":"Web",navInfo:(0,h.z0)("content.navigation.navInfo.children"),sectionTitle:((a=(0,h.z0)("rendering.fullyQualifiedUrl")||"").includes("/topic")?a.split("topic/").at(-1):a.split("/").at(-1)).toUpperCase().replaceAll("_"," "),sectionUrl:(0,h.z0)("rendering.sectionUrl"),sidebarSection:"",smBreakpoint:globalThis.innerWidth<=1023,social:(0,h.z0)("rendering.site.social"),teaserFetchLimit:8,twitterConfig:(0,h.z0)("content.section_teaser_list.teaser.data.twitterConfig"),uuid:(0,h.z0)("rendering.section.uuid"),xlBreakpoint:globalThis.innerWidth>=1900},s=[[(r=(0,h.z0)("content.page-data.teaser").filter(e=>e.componentInstanceId.includes("list_section_teaser_list")))&&0!==r.length?(0,m.jsx)(re.A,{adId:"banner_pos1",adPosition:2,adType:"Display",componentId:"js-Section-List",lazyLoad:e.lazyLoad,teaserList:r[0].teasers?r[0].teasers.slice(0,8):[],title:t.sectionTitle}):null]],i=0,l=(()=>{let e=[],{customConfigObj:a,customHtml:r}=(0,h.QO)(t.customHtml),l=t.customJson?.sidebarLinks;return s.map((s,n)=>{(t.customJson?.isSponsored||a?.isSponsored)&&e.push((0,sl.$k)(n,t,!1,"story")),0===n?r.length>0||l?.links||a?.links?function(e){let{customConfigObj:a}=(0,h.QO)(e.customHtml),r=e.customJson?.isSponsored||a?.isSponsored||!1,t=e.sectionTitle&&"string"==typeof e.sectionTitle?e.sectionTitle:"",{inlineTeaser:s}=e;return(0,h.z0)("content.page-data.teaser").map((a,i)=>{if("col1_vertical_list"!==a.componentInstanceId){var l;let n,o,{Component:d,props:c}=(l=a.componentInstanceId,o=Object.keys(n={col1_vertical_list:{Component:sd.A,props:{Id:"Subsection_8"}},section_teaser_list:{Component:sn.A,props:{Id:"Hero",adId:"banner_pos1",adType:s?"Display":"",isAdVisible:s,isSponsored:r}},subsection_with_4_teasers:{Component:so.A,props:{Id:"Subsection_4"}},subsection_with_7_teasers:{Component:sd.A,props:{Id:"Subsection_7"}}}).filter(e=>l.includes(e)),n[o]?n[o]:null);return(0,m.jsx)(d,{componentId:`js-Section-${c.Id}-${i}`,filterId:a.componentInstanceId,lazyLoad:e.lazyLoad,teaserList:a.teasers?a.teasers:[],title:a.title||t,...c})}})}(t).length>1?e.push((0,sl.Y1)(n,t,!1,"story")):e.push((0,sl.yh)(n,t,!1,"story")):(i++,e.push((0,sl.xt)(n,t,!1,"story"))):1===n&&(1===i?e.push([(0,sl.PT)(n,t,!1,"story"),(0,sl.Pc)(n,t,!1,"story")]):e.push([(0,sl.xt)(n,t,!1,"story"),(0,sl.Pc)(n,t,!1,"story")]))}),e})();return e.renderSection({mainSectionCmps:s,sidebarSectionCmps:l})},sm={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__jwGr","dar
11kreader--text":"index-module_darkreader--text__AMn1","darkreader--invert":"index-module_darkreader--invert__cuEQ","darkreader--inline":"index-module_darkreader--inline__jNXn","darkreader--variables":"index-module_darkreader--variables__YABU","darkreader--root-vars":"index-module_darkreader--root-vars__s0vc","darkreader--user-agent":"index-module_darkreader--user-agent__H4ah",moreContainer:"index-module_moreContainer__noBd",sectionTeaserList:"index-module_sectionTeaserList__o6HL",sidebarPrimary:"index-module_sidebarPrimary__LdIT",listSectionPadding:"index-module_listSectionPadding__PPHX",top:"index-module_top__bbWA",heroTeaserContainer:"index-module_heroTeaserContainer__tRyb",sectionHeroRightTeasers:"index-module_sectionHeroRightTeasers__XaaF",heroLeftContainer:"index-module_heroLeftContainer__Waw6",sectionHeroContainer:"index-module_sectionHeroContainer__q02l",headline:"index-module_headline__zhj5",bottom:"index-module_bottom__ffg_",moreBtnContainer:"index-module_moreBtnContainer__Crtf",moreBtn:"index-module_moreBtn__IddC",adWrapper:"index-module_adWrapper__MLko",footerAds:"index-module_footerAds__dI1L",adAfterContent:"index-module_adAfterContent__gvRE",adBeforeContent:"index-module_adBeforeContent__ynmI",pencilAdContainer:"index-module_pencilAdContainer__nEk0",bannerTop:"index-module_bannerTop__vL5G",sectionPremium:"index-module_sectionPremium___iDB",premiumAdFallback:"index-module_premiumAdFallback__N0fH",customHtmlContainer:"index-module_customHtmlContainer__fICG",twitterWrapper:"index-module_twitterWrapper__tOU4"},s_=e=>[(0,m.jsxs)("div",{className:sm.pageWrapper,...e.listHeightChanged?{ref:e.updateDomRef}:{},children:[(0,m.jsx)(v.X,{adName:e.inlineTeaser?null:"wallpaper",pageType:"story"}),(0,m.jsx)(B.A,{showOn:["s"],children:(0,m.jsx)("div",{className:f()(sm.bannerTop,sm.pencilAdContainer),children:(0,m.jsx)(v.X,{adName:"banner_pos2"})})}),(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:sm.premiumAdFallback}),showOn:["m","l","xl"],children:(0,m.jsx)("div",{className:f()(sm.sectionPremium,sm.pencilAdContainer),children:(0,m.jsx)(v.X,{adName:"premium"})})}
11),(0,m.jsx)(sc,{...e,renderSection:e=>e.mainSectionCmps.map((a,r)=>(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"section"})}),mainChildren:a,sideBarChildren:e.sidebarSectionCmps[r]}))})]})];class su extends _.PureComponent{constructor(e){super(e),this.getSectionTitle=()=>{let e=(0,h.z0)("rendering.fullyQualifiedUrl")||"";return e.includes("/topic")?e.split("topic/").at(-1):e.split("/").at(-1)},this.state={currentSidebar:this.props.currentSidebar,inlineTeaser:globalThis.innerWidth<768,pageIndex:this.props.pageIndex,teaserList:this.props.teaserList},this.updateDomRef=this.updateDomRef.bind(this),this.possibleHeightChange=this.possibleHeightChange.bind(this),this.staticItemProps={adZone:(0,h.z0)("rendering.adZone"),dfpAdUnitId:(0,h.z0)("rendering.dfpAdUnitId"),dfpNetworkId:(0,h.z0)("rendering.dfpNetworkId"),mobileOrWeb:globalThis.innerWidth<768?"Mobile":"Web",navInfo:(0,h.z0)("content.navigation.navInfo.children"),sectionTitle:this.getSectionTitle().toUpperCase().replaceAll("_"," "),sectionUrl:(0,h.z0)("rendering.sectionUrl"),social:(0,h.z0)("rendering.site.social"),teaserFetchLimit:8,twitterConfig:(0,h.z0)("content.section_teaser_list.teaser.data.twitterConfig")}}updateDomRef(e){this.domRef=e,this.possibleHeightChange()}possibleHeightChange(){this.props.listHeightChanged&&this.props.listHeightChanged(this.props.pageIndex,this.domRef)}render(){let{teaserList:e,pageIndex:a}=this.props,{languageHint:r}=(0,h.Hl)(),t=r?.slice(0,2)?.toLowerCase(),s=h.pt.more;return"es"===t&&(s=(0,h.Ck)(h.pt.more)),0===a?(0,m.jsx)(s_,{...this.props,...this.state,lazyLoad:!1,listHeightChanged:this.props.listHeightChanged,reportHeightChange:this.possibleHeightChange,updateDomRef:this.updateDomRef}):(0,m.jsxs)("div",{...this.props.listHeightChanged?{ref:this.updateDomRef}:{},children:[(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:C.A.middleAdFallback}),showOn:["m","l","xl"],children:(0,m.jsx)("div",{className:C.A.adBeforeContent,children:(0,m.jsx)(v.X,{adIndex:a,adName:"banner_pos2"},a)})}),(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)(v.X,{adIndex:a,adName:"banner_pos2",pageType:"section"})}),mainChildren:(0,m.jsx)(re.A,{componentId:"js-Section-List",reportHeightChange:this.possibleHeightChange,teaserList:e||[],title:`${s} ${this.staticItemProps.sectionTitle}`},a),sideBarChildren:(0,m.jsx)(tb.A,{inlineTeaser:this.state.inlineTeaser,pageIndex:a,pageType:"story"})})]})}}let sh=e=>{let a=(0,h.z0)("rendering.fullyQualifiedUrl")||"",r=((0,h.z0)("content.page-data.teaser")[0]?.teasers||[]).slice(0,8),t=a.includes("/topic")?a.split("topic/").at(-1):a.split("/").at(-1),[s,i]=(0,_.useState)(!0),[l,n]=(0,_.useState)(!1),[o,d]=(0,_.useState)(8),[c,u]=(0,_.useState)([r]),[p,x]=(0,_.useState)(r),g={adZone:(0,h.z0)("rendering.adZone"),dfpAdUnitId:(0,h.z0)("rendering.dfpAdUnitId"),dfpNetworkId:(0,h.z0)("rendering.dfpNetworkId"),mobileOrWeb:globalThis?.innerWidth<768?"Mobile":"Web",pageTitle:t||document.title,sectionTitle:t.toUpperCase(),sectionUrl:t,social:(0,h.z0)("rendering.site.social"),teaserFetchLimit:8};return(0,m.jsx)(tm.A,{hasMore:s,isInfinite:!0,list:c||[[]],listComponent:e.listComponent?e.listComponent:su,listComponentProps:e.listComponentProps,listScrollBottomAction:()=>{rf.G0.trackEvent("Super Section","More",g.pageTitle)},loadAds:e=>{ta((0,h.z0)("rendering.pageTags")||[],(0,h.z0)("rendering.canonicalUrl"),e,"section",!0).then(()=>{})},loadMoreRows:()=>{var e;n(!0);let r=(0,h.z0)("rendering.site.url"),t=a.includes("/topic")?g.sectionUrl:(0,h.z0)("rendering.sectionUrl").slice(1);e={limit:8,loading:!0,offset:o},(a.includes("/topic")?(0,ew.mr)(r,t,e):(0,ew.xf)(r,t,e)).then(e=>{let a=(0,A.UQ)(p,e.data.data);a.length>0?(i(e.data.data.length>0),n(!1),d(o+8),u([...c,a]),x([...p,...a])):(i(!1),n(!1))})},loading:l,pageType:"section"})},sp=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(U.A,{ComponentContainer:sh,...e,...e.facade,userMetaData:e.userInfo})});var sx=r(19772),sg=r(31391);let sy=e=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(eU.A,{disableScroll:!0,theme:"light"}),(0,m.jsxs)("div",{className:"index-module_sectionWrapper__hpJT",children:[(0,m.jsx)("div",{className:"index-module_alertsWrapper__IZ6d",children:(0,m.jsx)(sg.A,{})}),(0,m.jsx)(ep,{}),(0,m.jsx)("div",{className:"index-module_footerContainer__gplY",children:(0,m.jsx)(eE.A,{...e.facade})})]})]}),sf=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(sy,{...e})}),sv="GET_VODS",sj="FULLSCREEN",sb="EMPTY_UNSEEN_STREAM",sk="LIVE_VIDEO",sN="SELECT_VOD_VIDEO",sS="SELECT_VIDEO",sC="LOADING",sw="IS_FETCHING",sT="DONE_FETCHING",sA="ERROR_FETCHING",sI="LOAD_PLAYLIST",sL="LOAD_CAROUSELS",sR="STATION_SCHEDULE",sD="FETCHING_PROGRAM",sW="DONE_FETCHING_PROGRAM",sP="FETCH_CAROUSEL_VIDEOS",sH="DONE_FETCHING_CAROUSEL_VIDEOS",sF="SET_ACTIVE_PLAYLIST";var sU=r(91856);function sE(e){let a={"Live-broadcast":1,"Live-event":2,"Live-headline":3,"Live-national":4,VOD:5};return e.sort((e,r)=>{let t=e.videoType||"VOD",s=r.videoType||"VOD";return a[t]>a[s]?1:a[t]<a[s]?-1:0}),e}function sM(e,a){let r=!1;for(let t=0;t<a.length;t++)r?(r=!1,a[t].isNext=!0,a[t].isActive=!1):a[t].mediaid==(e.mediaid||e.uuid)?(a[t].isActive=!0,a[t].isNext=!1,r=!0):(a[t].isNext=!1,a[t].isActive=!1);return[...a]}globalThis.sinclairVideo=globalThis.sinclairVideo||void 0;let{AK:sB,S0:sO,a0:sG,ns:sz,F5:sV,gE:s$,fV:sX,CN:sq,U8:sY,RN:sK,EL:sJ,BE:sZ,xg:sQ,oQ:s0,jR:s1,ro:s2,PD:s6,GH:s3}=d,s4={vod_teasers:[],live_teasers:[],schedule:[],activeLabel:"What's New",loadingCarousels:!0,unSeenStreams:[],scheduleLo
11ading:!0,playlist:[],carousels:[],isFullScreen:!1,error:null,isPlaying:!1,isLoading:!0,selectedTeaser:{}};var s8=r(70899);let s9="GET_VODS",s5="FULLSCREEN",s7="EMPTY_UNSEEN_STREAM",ie="LIVE_VIDEO",ia="SELECT_VOD_VIDEO",ir="SELECT_VIDEO",it="LOADING",is="IS_FETCHING",ii="DONE_FETCHING",il="ERROR_FETCHING",io="LOAD_PLAYLIST",id="LOAD_CAROUSELS",ic="STATION_SCHEDULE",im="FETCHING_PROGRAM",i_="DONE_FETCHING_PROGRAM",iu="FETCH_CAROUSEL_VIDEOS",ih="DONE_FETCHING_CAROUSEL_VIDEOS",ip="SET_ACTIVE_PLAYLIST";var ix=r(9005),ig=r(65846),iy=r(11894);function iv(e,a){return{type:ir,payload:e,user:a}}function ij(e){return{type:s5,payload:e}}function ib(e){return[].concat.apply([],e.filter(Boolean))}let ik=(e=[])=>({type:ie,payload:e}),iN=e=>({type:io,payload:e});function iS(e){let a=(0,h.z0)(e);if(a)return a.filter(e=>e.videoUrl||e.mp4Url)}async function iC(){let e=iS("content.video-data-06.teaser.teasers");e||(e=iS("content.video-data-01.teaser.teasers"));let a=await function(e){if(!e||e?.length>=10)return Promise.resolve();let{customConfigObj:a}=(0,h.QO)((0,h.z0)("rendering.section.data.injectedMarkup")||(0,h.z0)("presentation.customHtml.injectedMarkup")),r=a["video-section"]?a["video-section"]:"/news/local",t=(0,h.z0)("rendering.site.url");return Promise.resolve((0,ix.wh)(t,r,200).then(({data:e})=>e.data.filter(e=>e.videoUrl)))}(e);return a?Promise.resolve([...e,...a]):Promise.resolve(e)}function iw(e,a,r,t,s){let i={};return i.teaser={},i.teaser.position=t,i.teaser.teasers=e,i.teaser.data={},i.teaser.data.moreUrl=s,i.teaser.componentInstanceId=r,i.teaser.title=a,i.teaser}async function iT(e){let a=(0,h.z0)("rendering.site.url"),{id:r,type:t,title:s,position:i,limit:l,path:n}=e;return"more"==t?Promise.resolve(iw((await (0,ix.wh)(a,n,l)).data.data.filter(e=>e.videoUrl||e.mp4Url),s,r,i,n)):Promise.resolve(iw((await (0,ix.GR)(a,l)).data.teasers.filter(e=>e.videoUrl||e.mp4Url),s,r,i,n))}let iA=({canScrollLeft:e,onScrollLeft:a,canScrollRight:r,onScrollRight:t})=>(0,m.jsxs)("div",{className:"ScrollButtons-module_ScrollButtonsContainer__jTZl",id:"scroll-buttons",children:[(0,m.jsx)("button",{className:"ScrollButtons-module_ScrollButtonLeft__k9es",disabled:!e,id:"scroll-left",onClick:a,children:(0,m.jsx)("img",{alt:"Left chevron icon to navigate left",role:"presentation",src:"/resources/assets/national/images/icons/right-chevron.svg"})}),(0,m.jsx)("button",{disabled:!r,id:"scroll-right",onClick:t,children:(0,m.jsx)("img",{alt:"Right chevron icon to navigate right",role:"presentation",src:"/resources/assets/national/images/icons/right-chevron.svg"})})]});function iI(e,a,r){if(void 0!==e){let t=r.querySelector("#playlist-Items");t&&t.scroll({behavior:"smooth",left:e*a,top:0})}}let iL={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"TeaserList-module_darkreader--fallback__k9Qo","darkreader--text":"TeaserList-module_darkreader--text__R9IC","darkreader--invert":"TeaserList-module_darkreader--invert__wzDk","darkreader--inline":"TeaserList-module_darkreader--inline__iCP3","darkreader--variables":"TeaserList-module_darkreader--variables__zyLL","darkreader--root-vars":"TeaserList-module_darkreader--root-vars__w1Nc","darkreader--user-agent":"TeaserList-module_darkreader--user-agent__LtUT",activeTeaser:"TeaserList-module_activeTeaser__V9bO",WatchPlaylistList:"TeaserList-module_WatchPlaylistList___Pt5",TeaserWrapper:"TeaserList-module_TeaserWrapper__Xj0O"},iR=({teaserData:e,componentId:a,handleTeaserClick:r,imageIndex:t})=>{let[s,i]=(0,_.useState)(-1),[l,n]=(0,_.useState)(""),o=f()({"VideoTeaser-module_title__kZg7":!0}),d=f()({"VideoTeaser-module_isActive__Skch":e.isActive,"VideoTeaser-module_liveTeaser__vUmX":e.isLive});return(0,_.useEffect)(()=>{void 0!==t&&n({...e,image:e.image});let a=setInterval(()=>{if(e.isActive&&-1===s){let a=(0,eM.d)();a&&a.player.on("time",a=>(a=>{if(e.isActive){let{currentTime:e,duration:r}=a;i(r>0?100*(e/r).toFixed(2):100)}})(a))}},1e3);return()=>clearInterval(a)},[]),(0,m.jsx)("div",{className:d,id:a,onClick:()=>r(e),children:(0,m.jsxs)("div",{className:"VideoTeaser-module_teaserContainer__MYMS",children:[(0,m.jsxs)("div",{className:"VideoTeaser-module_imageContainer__UvoH",children:[(0,m.jsx)("img",{alt:e.title,className:"VideoTeaser-module_teaserImage__GbNU",src:e.medium16x9Url?e.medium
1116x9Url:void 0===t?e.image:l.image}),e.isLive?(0,m.jsx)("div",{className:"VideoTeaser-module_live__B4Ie",children:"LIVE"}):null,!e.isLive&&e.videoDuration?(0,m.jsx)("div",{className:"VideoTeaser-module_videoDuration__irO4",children:(0,m.jsx)("p",{children:e.videoDuration})}):null,(0,m.jsx)("div",{className:"VideoTeaser-module_PlayIcon__uTqN"}),(0,m.jsx)("div",{className:"VideoTeaser-module_ProgressBar__i6r3",style:{width:`${s}%`}})]}),(0,m.jsxs)("div",{className:"VideoTeaser-module_headlineContainer__fMyu",children:[(0,m.jsx)("div",{className:o,children:(0,m.jsx)("p",{children:e.title})}),(0,m.jsx)("div",{className:"VideoTeaser-module_dateContainer__ZhOs",children:(0,m.jsx)("span",{className:"VideoTeaser-module_publishedSince__Ggs2",children:e.isLive?"LIVE NOW":e.publishedSince})})]})]})})};iR.propTypes={componentId:ej().string,onTeaserClick:ej().func,teaserData:ej().shape({image:ej().string,isActive:ej().bool,isLive:ej().bool,isNext:ej().bool,medium16x9Url:ej().string,publishedSince:ej().string,title:ej().string.isRequired,videoDuration:ej().string})},iR.defaultProps={componentId:"js-VideoTeaser-Container",teaserData:{title:"Default Title"}};let iD=({teaser:e,handleTeaserClick:a,themeColor:r,handleTeaserActive:t,imageIndex:s})=>{let i=!1;(0,_.useEffect)(()=>{!i&&e.isActive&&(t(),i=!0)},[e.isActive]);let l=f()({[iL.activeTeaser]:e.isActive,[iL.liveTeaser]:e.isLive});return(0,m.jsx)("li",{className:f()(iL.PlaylistTeaser,l),children:(0,m.jsx)(iR,{handleTeaserClick:a,imageIndex:s,teaserData:e,themeColor:r})},e.index)},iW=()=>(()=>{let e=[];for(let a=0;a<10;++a)e.push((0,m.jsxs)("div",{className:"PlaceholderList-module_emptyPlaylistVideoItem__HfA4",children:[(0,m.jsx)("div",{className:"PlaceholderList-module_emptyThumbnail__z9IP"}),(0,m.jsxs)("div",{className:"PlaceholderList-module_emptyDescription__IYiq",children:[(0,m.jsx)("div",{className:"PlaceholderList-module_emptyBigText__wV4n"}),(0,m.jsx)("div",{className:"PlaceholderList-module_emptySmallText__cKok"})]})]},`${a}-empty-item`));return e})().map((e,a)=>(0,m.jsx)("li",{className:"PlaceholderList-module_PlaylistTeaser__dlOF",children:e},a)),iP=({list:e,themeColor:a,handleTeaserClick:r,handleTeaserActive:t})=>{if(0===e.length)return(0,m.jsxs)("ul",{className:iL.WatchPlaylistList,children:[" ",(0,m.jsx)(iW,{})]});let s=(0,_.useRef)(null),i=!1;return(0,m.jsx)("ul",{className:iL.WatchPlaylistList,id:"playlist-Items",children:e.map((e,l)=>(0,m.jsxs)("div",{className:iL.TeaserWrapper,ref:s,children:[(0,m.jsx)(iD,{handleTeaserActive:()=>t(function(e,a,r,t){if(null!==e.current){let{offsetTop:s}=e.current,{height:i,x:l,width:n}=e.current.getBoundingClientRect();return{height:i,idx:r,index:a,isLive:t,offsetFromLeft:l,offsetTop:s,width:n}}}(s,e.index,l,e.isLive)),handleTeaserClick:r,idx:l,imageIndex:e.isLive||i?void 0:l,teaser:e,themeColor:a},e.mediaid),i=!e.isLive]}))})},iH=({brandColorTwo:e,playlistData:a,onTeaserClick:r})=>{let t=(0,_.useRef)(null),[s,i]=(0,_.useState)(!1),[l,n]=(0,_.useState)(!0),[o,d]=(0,_.useState)(0),[c,u]=(0,_.useState)(0),h=(0,e0.wA)();return(0,_.useEffect)(()=>{i(o>0),n(a.length-o>=3)},[o,a]),(0,m.jsxs)("div",{id:"latest-news-wrapper",ref:t,children:[(0,m.jsxs)("div",{className:"LatestNewsWrapper-module_TeaserListHeader__c_rm",id:"teaser-least-header",children:[(0,m.jsx)("div",{className:"LatestNewsWrapper-module_LatestNews__X3H6",id:"latest-news-text",children:(0,m.jsx)("h3",{children:"Latest News"})}),(0,m.jsx)("div",{className:"LatestNewsWrapper-module_ScrollButtonsWrapper__NXP8",id:"scroll-buttons-wrapper",children:(0,m.jsx)(iA,{canScrollLeft:s,canScrollRight:l,onScrollLeft:()=>{let e;iI(e=Math.max(0,o-3),c,t.current),d(e)},onScrollRight:()=>{let e;iI(e=Math.min(a.length-1,o+3),c,t.current),d(e)}})})]}),(0,m.jsx)(iP,{handleTeaserActive:e=>{if(e){var a=t.current;if(e){let r=a.querySelector("#playlist-Items");r&&r.scroll(function(e){let{width:a,idx:r}=e;return{behavior:"smooth",left:(r+1)*a-a,top:0}}(e))}let{index:r=0,width:s=0}=e;d(r),u(s)}},handleTeaserClick:e=>{(0,eG.Xq)({category:"Video Playlist",title:e.title}),h(iv(e,"user")),r()},list:a,themeColor:e})]})},iF="emblaCarouselArrowButtons-module_embla_button__Wuoo",iU=e=>{let{children:a,...r}=e;return(0,m.jsxs)("button",{className:iF,type:"button",...r,children:[(0,m.jsx)("img",{alt:"Left chevron icon to navigate to left of carousel",className:"",role:"presentation",src:"/resources/assets/national/images/icons/blue-chevron-left.svg"}),a]})},iE=e=>{let{children:a,...r}=e;return(0,m.jsxs)("button",{className:iF,type:"button",...r,children:[(0,m.jsx)("img",{alt:"Right chevron icon to navigate to right of carousel",className:"",role:"presentation",src:"/resources/assets/national/images/icons/blue-chevron-right.svg"}),a]})},iM=e=>{let{children:a,...r}=e;return(0,m.jsx)("button",{className:f()("emblaCarouselDotButton-module_embla_dot__L3jy",e.selectedIndex&&"emblaCarouselDotButton-module_embla_dot_selected__VUUR"),type:"button",...r,children:a})},iB=JSON.parse('{"componentInstanceId":"section_teaser_2","title":"2024 Presidential Candidates","data":{"moreUrl":"/news/from-the-desk"},"teasers":[{"categories":["From The Desk","News"],"title":"Review: \'Fast X\' sticks to the formula, gives fans exactly what they want ","storyUuid":"09a9bb82-a502-4ebd-bbf5-97b81d57917c","url":"/news/from-the-desk/review-fast-x-furious-vin-diesel-michelle-rodriguez-john-cena-jason-statham-charlize-theron-brie-larson","summary":"\'Fast X\' is a long string of movie cliches, car crashes, punch ups, and scenery chewing. Fans will love it. ","publishedDate":1684366239000,"publishedDateISO8601":"2023-05-17T19:30:39.000-04:00","updatedDateISO8601":"2023-05-17T23:06:49.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":null,"hasGallery":true,"videoUrl":null,"data":null,"tags":null,"videoDuration":null,"hasHeroImage":true,"heroImageUrl":"/resources/media/5bc5c57b-57f7-4eb8-bfaa-e5c122a95817-large16x9_2558_D071_00245RV2.jpg?1684365859449","large16x9Url":"/resources/media/5bc5c57b-57f7-4eb8-bfaa-e5c122a95817-large16x9_2558_D071_00245RV2.jpg?1684365859449","renditionImage":"/resources/media/5bc5c57b-57f7-4eb8-bfaa-e5c122a95817-jumbo36x25_2558_D071_00245RV2.jpg?1684365859449"},{"categories":["From The Desk","News"],"title":"Heartwarming Homecoming: Military mom surprises son at school during spring concert","storyUuid":"7ef12455-683f-46c9-b31e-5ca14e1922e5","url":"/news/from-the-desk/heartwarming-homecoming-military-mom-surprises-son-at-school-during-spring-concert-emotional-reunion-loxahatchee-florid
11a-acreage-pines-elementary-school-deployed","summary":"A mother and son were finally reunited after six months apart.","publishedDate":1684355227000,"publishedDateISO8601":"2023-05-17T16:27:07.000-04:00","updatedDateISO8601":"2023-05-17T16:29:35.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":"https://x-default-stgec.uplynk.com/ausw/slices/8d7/34d28c6069b34f1d96307c80809697d7/8d7697a7b14244468240bc0dde365ff1/poster_e0e9d99e330f46c0991927fdbcab156b.jpg","hasGallery":true,"videoUrl":"https://content.uplynk.com/8d7697a7b14244468240bc0dde365ff1.m3u8?tc=1&exp=1690954882&rn=186961883&ct=a&cid=8d7697a7b14244468240bc0dde365ff1&hlsver=7&sig=bd599c38032225965783fb511c98689173eef294e1c22eca14137a6a49442797","data":null,"tags":null,"videoDuration":56.83200000000002,"hasHeroImage":true,"heroImageUrl":"/resources/media/c9909d47-d08e-4761-bfc6-de7e8ed43e5d-large16x9_thumb_21490.png?1684354928549","large16x9Url":"/resources/media/c9909d47-d08e-4761-bfc6-de7e8ed43e5d-large16x9_thumb_21490.png?1684354928549","renditionImage":"/resources/media/c9909d47-d08e-4761-bfc6-de7e8ed43e5d-jumbo36x25_thumb_21490.png?1684354928549"},{"categories":["From The Desk","News"],"title":"Collins will fill Cuomo\'s old CNN slot, Hannity rumored to replace Carlson on Fox","storyUuid":"9d8af060-bd93-401d-913d-d3a771c20be0","url":"/news/from-the-desk/cnns-kaitlan-collins-will-fill-chris-cuomos-old-slot-sean-hannity-rumored-to-replace-tucker-carlson-on-fox-cable-news-shakeups-poppy-harlow-drudge-report-mediaite","summary":"A few major cable network programs will soon have new hosts.","publishedDate":1684353711000,"publishedDateISO8601":"2023-05-17T16:01:51.000-04:00","updatedDateISO8601":"2023-05-17T16:04:11.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":null,"hasGallery":true,"videoUrl":null,"data":null,"tags":null,"videoDuration":null,"hasHeroImage":true,"heroImageUrl":"/resources/media/9542e3ba-da78-4c5b-9fbb-7f1eba3fb88d-large16x9_AP21338821021147.jpg?1638736345914","large16x9Url":"/resources/media/611487a9-c4cc-4eec-919f-850f8c4ae1a8-large16x9_AP23137542143425.jpg?1684353556131","renditionImage":"/resources/media/611487a9-c4cc-4eec-919f-850f8c4ae1a8-jumbo36x25_AP23137542143425.jpg?1684353556131"},{"categories":["Top Videos"],"title":"House votes to refer resolution to expel embattled George Santos to Ethics Committee","storyUuid":"75c9e861-de6e-44b9-a03d-1d830ea8f11d","url":"/top-videos/house-votes-to-refer-resolution-to-expel-embattled-george-santos-to-ethics-committee-republicans-gop-democrats-politics","summary":"House members on Wednesday voted to refer a resolution to expel embattled New York Rep. George Santos to the Ethics Committee. ","publishedDate":1684360212000,"publishedDateISO8601":"2023-05-17T17:50:12.000-04:00","updatedDateISO8601":"2023-05-17T18:06:41.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":"https://x-default-stgec.uplynk.com/auso/slices/157/34d28c6069b34f1d96307c80809697d7/1578e803521043cb86e435860ca217ea/poster_b85be96fc7d5458a9dfef00827e5c46d.png","hasGallery":true,"videoUrl":"https://content.uplynk.com/1578e803521043cb86e435860ca217ea.m3u8?tc=1&exp=1690954882&rn=1724479251&ct=a&cid=1578e803521043cb86e435860ca217ea&hlsver=7&sig=da59ef6d3085d419b0027c595c7a521050d6279e0d9f29e1f3f0314ee617c423","data":null,"tags":null,"videoDuration":741.12,"hasHeroImage":true,"heroImageUrl":"/resources/media/f6d5644a-83ac-45e7-91be-a1c6e790fbfe-large16x9_AP23130698055486.jpg?1683828278633","large16x9Url":"/resources/media/f6d5644a-83ac-45e7-91be-a1c6e790fbfe-large16x9_AP23130698055486.jpg?1683828278633","renditionImage":"/resources/media/f6d5644a-83ac-45e7-91be-a1c6e790fbfe-jumbo36x25_AP23130698055486.jpg?1683828278633"},{"categories":["Politics","News"],"title":"House hearings lay groundwork for top issues in the 2024 campaign","storyUuid":"5df6309b-e7e4-487b-94c8-b0d1cb5d45ec","url":"/news/politics/house-of-representatives-hearings-republican-majority-democrat-minority-presidential-campaign-issues-transgender-rights-lgbtq-community-riley-gaines-swimming-women-sports","summary":"Lawmakers appear to be laying out a framework of issues rising to the top of the political priority list for Republicans ahead of the 2024 campaign.","publishedDate":1684355427000,"publishedDateISO8601":"2023-05-17T16:30:27.000-04:00","updatedDateISO8601":"2023-05-17T16:30:27.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":"https://x-default-stgec.uplynk.com/ausw/slices
11/48b/34d28c6069b34f1d96307c80809697d7/48b1473fd70847b4a98077b7924dec6b/poster_8559622ac64f488280a7436706fa64f4.jpg","hasGallery":true,"videoUrl":"https://content.uplynk.com/48b1473fd70847b4a98077b7924dec6b.m3u8?tc=1&exp=1690954882&rn=671053564&ct=a&cid=48b1473fd70847b4a98077b7924dec6b&hlsver=7&sig=d765a81ebddd9caee78109faafefbb4ba2b3da30e3fd5da27531c9d80606958b","data":null,"tags":null,"videoDuration":125.69600000000008,"hasHeroImage":true,"heroImageUrl":"/resources/media/b5ee486b-5a16-4893-b893-a4dde2b99176-large16x9_AP23109769968537.jpg?1682022051348","large16x9Url":"/resources/media/b5ee486b-5a16-4893-b893-a4dde2b99176-large16x9_AP23109769968537.jpg?1682022051348","renditionImage":"/resources/media/b5ee486b-5a16-4893-b893-a4dde2b99176-jumbo36x25_AP23109769968537.jpg?1682022051349"},{"categories":["Politics","News"],"title":"NYC mayor at odds with the White House on migrant crisis","storyUuid":"98738543-2800-4b80-ab05-0b2840f46be4","url":"/news/politics/nyc-mayor-eric-adams-at-odds-with-the-white-house-president-joe-biden-on-migrant-crisis-title-42-mexico-border-immigration-illegal-crossings-asylum-encounters","summary":"The much-talked about end of Title 42, a controversial immigration law allowing quick expulsion of immigrants based on COVID concerns, has come and gone.While ","publishedDate":1684350125000,"publishedDateISO8601":"2023-05-17T15:02:05.000-04:00","updatedDateISO8601":"2023-05-17T15:02:05.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":"https://x-default-stgec.uplynk.com/ausw/slices/6b9/34d28c6069b34f1d96307c80809697d7/6b9e2f0c6e30415080cc56fd3be8e74e/poster_802c92c5f7e04073a81fa2676f590930.jpg","hasGallery":true,"videoUrl":"https://content.uplynk.com/6b9e2f0c6e30415080cc56fd3be8e74e.m3u8?tc=1&exp=1690954882&rn=1587743825&ct=a&cid=6b9e2f0c6e30415080cc56fd3be8e74e&hl
11sver=7&sig=3ea8a422ec57b7d4ff4d952ca0eb8c598f693a6c37e84780146fcdd08df3dd52","data":null,"tags":null,"videoDuration":121.72800000000008,"hasHeroImage":true,"heroImageUrl":"/resources/media/23f452fd-0054-4198-ac5a-81d9261cd87c-large16x9_AP23040540570208.jpg?1675990845792","large16x9Url":"/resources/media/23f452fd-0054-4198-ac5a-81d9261cd87c-large16x9_AP23040540570208.jpg?1675990845792","renditionImage":"/resources/media/23f452fd-0054-4198-ac5a-81d9261cd87c-jumbo36x25_AP23040540570208.jpg?1675990845792"},{"categories":["Politics","News"],"title":"What does the Durham probe mean for 2024 race?","storyUuid":"f977bea6-e581-497b-ab4c-661ec51097ed","url":"/news/politics/what-does-the-john-durham-probe-mean-for-2024-race-donald-trump-russia-investigation-steele-dossier-fbi-election-department-of-justice","summary":"(WASHINGTON DC) - May 16, 2023In a town built on politics, they can be hard to avoidor leave out.Which according to that highly critical report by special coun","publishedDate":1684266688000,"publishedDateISO8601":"2023-05-16T15:51:28.000-04:00","updatedDateISO8601":"2023-05-16T15:51:28.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":"https://x-default-stgec.uplynk.com/ausw/slices/011/34d28c6069b34f1d96307c80809697d7/011a004df063433d9c778db6f704a75a/poster_851a65a4bbb94088a14789ed80cadc8f.jpg","hasGallery":false,"videoUrl":"https://content.uplynk.com/011a004df063433d9c778db6f704a75a.m3u8?tc=1&exp=1690954882&rn=1748675384&ct=a&cid=011a004df063433d9c778db6f704a75a&hlsver=7&sig=abfaf5761acad355962c997722ec1740144e0a5835a8de92d644aa7b6e182b4d","data":null,"tags":null,"videoDuration":128.51200000000009,"hasHeroImage":true,"heroImageUrl":"/resources/media/1e0b8db9-6ff2-4b4e-ba8d-59198dc6d81b-large16x9_AP23135712194498.jpg?1684247272267","large16x9Url":"/resources/media/1e0b8db9-6ff2-4b4e-ba8d-59198dc6d81b-large16x9_AP23135712194498.jpg?1684247272267","renditionImage":"/resources/media/1e0b8db9-6ff2-4b4e-ba8d-59198dc6d81b-jumbo36x25_AP23135712194498.jpg?1684247272267"},{"categories":["Politics","News"],"title":"GOP lawmakers calling for FBI reforms following release of Durham report","storyUuid":"a5e23c3f-8153-4f78-bda4-8ac2b7ec5a2f","url":"/news/politics/gop-lawmakers-calling-for-fbi-reforms-following-release-of-special-counsel-john-durham-report-department-of-justice-donald-trump-russia-collusion-investigation-crossfire-hurricane-political-bias","summary":"The FBI appears to be n the crosshairs of GOP lawmakers once again.","publishedDate":1684271185000,"publishedDateISO8601":"2023-05-16T17:06:25.000-04:00","updatedDateISO8601":"2023-05-16T17:06:25.000-04:00","teaserStatus":null,"sponsored":false,"videoThumbUrl":"https://x-default-stgec.uplynk.com/ausw/slices/e3c/34d28c6069b34f1d96307c80809697d7/e3c7fb2cb1ff43379f5da0bdc4ddb658/poster_5d3680d6ea34481fb668420a3bdffe5f.jpg","hasGallery":false,"videoUrl":"https://content.uplynk.com/e3c7fb2cb1ff43379f5da0bdc4ddb658.m3u8?tc=1&exp=1690954882&rn=1394588067&ct=a&cid=e3c7fb2cb1ff43379f5da0bdc4ddb658&hlsver=7&sig=8fb64d833080955aa10c3ed7e9520bfbed869f9ccd7f8a56fbfb97cbc4c4d89e","data":null,"tags":null,"videoDuration":131.5840000000001,"hasHeroImage":true,"heroImageUrl":"/resources/media/eaf1b48a-fafb-44ac-b16c-7c9b560c359e-large16x9_AP23067750479027.jpg?1678353281883","large16x9Url":"/resources/media/eaf1b48a-fafb-44ac-b16c-7c9b560c359e-large16x9_AP23067750479027.jpg?1678353281883","renditionImage":"/resources/media/eaf1b48a-fafb-44ac-b16c-7c9b560c359e-jumbo36x25_AP23067750479027.jpg?1678353281883"}]}'),iO=(0,_.memo)(({teaser:e})=>(0,m.jsxs)("a",{className:"portraitTeaser-module_teaserContainer__UxhK",href:e.url,children:[(0,m.jsx)("img",{alt:`Image for story: ${e.title}`,className:"portraitTeaser-module_image__uASu",src:(0,I.b)(e?.large16x9Url,"236px","3x4")}),(0,m.jsx)("span",{className:"portraitTeaser-module_title__rOp9",children:e.title})]})),iG=(0,_.memo)(({componentId:e})=>{let[a,r]=(0,ar.A)({breakpoints:{"(max-width: 1023px)":{dragFree:!0}},containScroll:"trimSnaps",loop:!1,slidesToScroll:5}),{prevBtnDisabled:t,nextBtnDisabled:s,onPrevButtonClick:i,onNextButtonClick:l}=(e=>{let[a,r]=(0,_.useState)(!0),[t,s]=(0,_.useState)(!0),i=(0,_.useCallback)(()=>{e&&e.scrollPrev()},[e]),l=(0,_.useCallback)(()=>{e&&e.scrollNext()},[e]),n=(0,_.useCallback)(e=>{r(!e.canScrollPrev()),s(!e.canScrollNext())},[]);return(0,_.useEffect)(()=>{e&&(n(e),e.on("reInit",n),e.on("select",n))},[e,n]),{nextBtnDisabled:t,onNextButtonClick:l,onPrevButtonClick:i,prevBtnDisabled:a}})(r),{selectedIndex:n,scrollSnaps:o,onDotButtonClick:d}=(e=>{let[a,r]=(0,_.useState)(0),[t,s]=(0,_.useState)([]),i=(0,_.useCallback)(a=>{e&&e.scrollTo(a)},[e]),l=(0,_.useCallback)(e=>{s(e.scrollSnapList())},[]),n=(0,_.useCallback)(e=>{r(e.selectedScrollSnap())},[]);return(0,_.useEffect)(()=>{e&&(l(e),n(e),e.on("reInit",l),e.on("reInit",n),e.on("select",n))},[e,l,n]),{onDotButtonClick:i,scrollSnaps:t,selectedIndex:a}})(r);return(0,_.useEffect)(()=>{r&&r.slideNodes()},[r]),(0,m.jsxs)("div",{className:"portraitTeaserCarousel-module_portraitCarouselContainer__hRVT",id:e,children:[(0,m.jsxs)("header",{className:"portraitTeaserCarousel-module_teaserHeader__UFJ0",children:[(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_sectionTitle__y408",children:(0,m.jsxs)("a",{href:iB?.data?.moreUrl,children:[i
11B?.title,(0,m.jsx)("img",{alt:"Right chevron icon to see more from section",className:"portraitTeaserCarousel-module_chevron__Y0AQ",role:"presentation",src:"/resources/assets/national/images/icons/red-chevron-right.svg"})]})}),(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_divider__nqFo"})]}),(0,m.jsxs)("div",{className:"portraitTeaserCarousel-module_carouselContainer__JeS1",children:[(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_embla_button_left__mCcc",children:r?.canScrollPrev()?(0,m.jsx)(iU,{disabled:t,onClick:i}):null}),(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_embla__q3KB",ref:a,children:(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_embla_container__FuSV",children:iB.teasers.map((e,a)=>(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_embla_slide__iVil",children:(0,m.jsx)(iO,{teaser:e})},a))})}),(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_embla_button_right__a2x6",children:r?.canScrollNext()?(0,m.jsx)(iE,{disabled:s,onClick:l}):null})]}),(0,m.jsx)("div",{className:"portraitTeaserCarousel-module_embla_dots__bHm7",children:o.map((e,a)=>(0,m.jsx)(iM,{onClick:()=>d(a),selectedIndex:a===n},a))})]})}),iz=({color:e})=>(0,m.jsx)("aside",{className:"index-module_videoPlaceholderContainer__Chnm",children:(0,m.jsx)("header",{children:(0,m.jsx)(eB,{color:e,height:80,width:80})})});var iV=r(26375);function i$(e,a,r){iV.Ay.trackEvent(e,a,r)}let iX=!1,iq=["sharingFacebook","sharingTwitter","sharingEmail","sharingEmbed","playlistItem","fullscreen","ready"],iY=({playlist:e,selectedVideo:a,color:r,teaserOverlayRemoved:i,muteSettingsVal:l})=>{let n=(0,e0.wA)(),o={autostart:!0,config:{...function(){let{prebidWrapper:e}=(0,h.Hl)();return{advertising:{client:"googima"},cast:{},controls:!1,displaytitle:!1,mute:!0,nextUpDisplay:!1,prebid:{configUrl:e},skin:{name:"watch"}}}()},streaming:!1},[d]=(0,_.useState)(a?.isLive||!a?.url),[c,u]=(0,_.useState)(!1),p=(0,e0.d4)(e=>e.isUserRequested),x=!1,g=(e=>{if(e&&null!==e.match(/^(?:\d{1,2}:){2}\d{1,2}$|^\d{1,2}:\d{1,2}$/)){let a=e.split(":");return 2===a.length?60*Number.parseInt(a[0])+Number.parseInt(a[1]):3600*Number.parseInt(a[0])+60*Number.parseInt(a[1])+Number.parseInt(a[2])}return 0})(a?.videoDuration);function y(e,a,r,s){let[i,l]=e;"ready"===i.type&&l&&(l.playlist.index=l.playlist.seek(r),l.playlist.update([...s])),function(e,a){if("fullscreen"===e.type&&i$("Full Screen",e.fullscreen?"launch":"exit",a.title),!a.isLive&&"fullscreen"!==e.type){var r;let s=e.type;"pause"===e.type?(t=a.mediaid,iX=!0):"play"===e.type&&(iX&&t===a.mediaid&&(s="resume",iX=!1),t=""),e.type&&"playlistItem"!==e.type&&i$("On Demand",s,a.title),e.method&&"link"!==e.method&&i$("shareMenu","click",(r=e.method)&&"string"==typeof r?r.charAt(0).toUpperCase()+r.slice(1):r)}}(...e),"playlistItem"!==i.type||a?"fullscreen"===i.type&&(0,e0.vA)(()=>{n(ij(i.fullscreen)),i.fullscreen||n({type:s7})}):n(iv(function(e){let{...a}=e;return a}(i.item)))}return(0,_.useEffect)(()=>{if((s=(0,eM.d)())&&!x){let{player:e}=s;if(!l)try{let{adbreak1:a}=rf.gp.getAdvertising(!0,!0,!0);e.playAd(a.tag)}catch(e){throw e.message}}},[i]),((0,_.useEffect)(()=>{(async function(){if((await e).length>0){if(a.adschedule={},u(!0),(s=(0,eM.d)())&&!x){let{player:e}=s;e.on("meta",a=>{if("program-date-time"===a.metadataType&&a.currentTime>1&&g>=900)try{let{adbreak1:a}=rf.gp.getAdvertising(!0,!0,!0);e.playAd(a.tag)}catch(e){throw e.message}}),x=!0}s&&p&&function(e,a,r){let t=e.playlist.seek(a);if(-1===t){e.playlist.update([...r]);let t=e.playlist.seek(a);e.playlist.play(t)}else e.playlist.play(t)}(s,a,e)}})().then(()=>{})},[a.mediaid]),c)?(0,m.jsx)("div",{className:d?"hideShareOnSmall":"",children:(0,m.jsx)(eM.A,{container:"js-Video-Container",enableGA:!0,gaEventHandler:(...r)=>new y(r,p,a,e),gaPlayerEvents:iq,playerSettings:o,playlist:e})}):(0,m.jsx)(iz,{color:r})};iY.defaultProps={selectedVideo:{}};let iK=({onClick:e,teaserClicked:a})=>{let[r,t]=(0,_.useState)(!0);return(0,m.jsx)("span",{style:{display:a?"none":""},children:(0,m.jsx)("div",{className:f()("VideoTeaserOverlay-module_MuteButtonContainer__XPbq"),style:r?{}:{display:"none",height:0,marginBottom:0},children:(0,m.jsx)("button",{className:f()(!r||a?"VideoTeaserOverlay-module_displayButton__jUF1":""),onClick:()=>{e(),t(!1)},children:(0,m.jsx)("img",{alt:"Mute",className:"VideoTeaserOverlay-module_MuteIcon__mthV",src:"/resources/assets/national/images/icons/sbg-unmute.svg"})})})})},iJ=({overlayComp:e,teaserClicked:a,selectedVideo:r,muteSettings:t,muteSettingsVal:s})=>{let[i,l]=(0,_.useState)(!0),[n,o]=(0,_.useState)({});(0,_.useEffect)(()=>
11{if(a||!i){o({MozTransition:"margin-top 0.6s ease-out",OTransition:"margin-top 0.6s ease-out",WebkitTransition:"margin-top 0.6s ease-out",marginTop:0,msTransition:"margin-top 0.6s ease-out"});try{let{player:e}=(0,eM.d)();e&&e.setMute(!1)}catch(e){console.error(`The error is: ${e.message} Video Player component, unMuteVideo().`)}try{let{player:e}=(0,eM.d)();e&&e.setControls(!0)}catch(e){console.error(`The error is: ${e.message}Video Player component, showControls().`)}}else o({})},[i,a]);let d=(0,e0.d4)(e=>e.playlist),c=(0,e0.d4)(e=>e.isLoading),u=(0,e0.d4)(e=>e.unSeenStreams);return(0,m.jsxs)("div",{className:"VideoTeaserOverlay-module_Container__vtKK",id:"VideoComponentsWrapper",children:[(0,m.jsx)("div",{className:"VideoTeaserOverlay-module_MainCompContainer__M_RU",id:"MainColCmp",children:(0,m.jsx)(iY,{eventList:["playlistItem"],isFullScreen:!0,isLoading:c,muteSettingsVal:s,playlist:d,selectedVideo:r,teaserOverlayRemoved:!i||a,unSeenStreams:u})}),(0,m.jsxs)("div",{className:"VideoTeaserOverlay-module_OverlayContainer__rU5I",id:"OverlayCompCont",style:n,children:[(0,m.jsx)(iK,{onClick:()=>{i$("Video Player","unmute",r.title),l(!1),t()},teaserClicked:a}),(0,m.jsx)("div",{className:"VideoTeaserOverlay-module_OverlayComponent___fU1",id:"OverlayComp",children:e})]})]})};iJ.propTypes={mainComp:ej().node,overlayComp:ej().node,teaserClicked:ej().bool},iJ.defaultProps={teaserClicked:!1};var iZ=r(39901),iQ=r(92870),i0=r(58393);let i1=async(e,a,r)=>await (0,i0.Zl)(e,a,r),i2=e=>Array.isArray(e)&&e.every(i2),i6=(0,iZ.y)({actions:{fetchLiveStreamStatus:(e,a,r)=>async({getState:t,setState:s})=>{if(t().isPending)return;s({isPending:!0});let i=(await i1(e,a,r)).filter(Boolean),l=i.filter(e=>!e.isLive);s({data:[...i.filter(e=>e.isLive),...l],isPending:!1})}},initialState:{data:null,error:null,isPending:!1}}),i3=(0,iQ.ab)(i6);var i4=r(11694);let i8=e=>a=>{let{headlineFeedEnabled:r}=(0,h.Hl)(),t=(0,h.z0)("rendering.site.callLetters"),s=(0,h.z0)("rendering.environment").toLowerCase(),{data:l}=!["MTMO","ADTO"].includes(t)&&function(e,a){let[r,t]=i3(),{ffLVSStationMapping:s}=(0,em.h)();return(0,_.useEffect)(()=>(r.data||t.fetchLiveStreamStatus(e,a,s),i=setTimeout(()=>{t.fetchLiveStreamStatus(e,a,s)},6e4),()=>clearTimeout(i)),[r,t]),r}(t,s)||{data:[],isPending:!1};if(null!==l){let s=[r?l.filter(e=>(e.videoType.includes("Live-broadcast")||"NATIONAL"===e.stream)&&e.isLive):l.filter(e=>e.videoType.includes("Live-broadcast")&&e.isLive)],i=i2(s);("highschool_sports_watch-News3_v1"===(0,h.z0)("rendering.section.templateId")||"high_school_sports_hoops-News3_v1"===(0,h.z0)("rendering.section.templateId"))&&l.filter(e=>e.stream.includes("_EVENT"));let n=r&&!i?(0,i4.nG)(s[0])[0]:l.find(e=>e.stream===t)||{},{isLive:o=!1,mediaid:d}=n;return(0,m.jsx)(e,{stream:l,...a,broadcastId:d,callLetter:n.stream,isLiveBroadcast:o,liveCount:i?0:s.length})}return null};var i9=r(63347),i5=r(60279),i7=r(83641);function le(e,a){return{type:sS,payload:e,user:a}}function la(e){return[].concat.apply([],e.filter(Boolean))}let lr=(e=[])=>({type:sk,payload:e}),lt=e=>({type:sI,payload:e});async function ls(){let{customConfigObj:e}=(0,h.QO)((0,h.z0)("rendering.section.data.injectedMarkup")||(0,h.z0)("presentation.customHtml.injectedMarkup")),a=e["video-section"]?e["video-section"]:"/top-videos",r=e["video-limit"]?e["video-limit"]:30,t=(0,h.z0)("rendering.site.url");try{let e=await (0,ix.xf)(t,a,{type:"video",limit:r,offset:0}),s=(0,i9.A)((0,i5.A)((0,i7.A)("mediaid")),e.data.data.map(e=>(e.mediaid=(0,iy.t$)(e.videoUrl||e.url||e.mp4Url),e)),null);return Promise.resolve(s)}catch(e){return Promise.resolve()}}function li(e,a,r,t,s){let i={};return i.teaser={},i.teaser.position=t,i.teaser.teasers=e,i.teaser.data={},i.teaser.data.moreUrl=s,i.teaser.componentInstanceId=r,i.teaser.title=a,i.teaser}async function ll(e){let a=(0,h.z0)("rendering.site.url"),{id:r,type:t,title:s,position:i,limit:l,path:n}=e;return"more"==t?Promise.resolve(li((await (0,ix.wh)(a,n,l)).data.data.filter(e=>e.videoUrl||e.mp4Url),s,r,i,n)):Promise.resolve(li((await (0,ix.GR)(a,l)).data.teasers.filter(e=>e.videoUrl||e.mp4Url),s,r,i,n))}let ln="index-module_mobileAdContainer__QP2K",lo=i8(e=>
11{let{facade:a}=e,r=(0,e0.wA)(),t=(0,e0.d4)(e=>e.playlist),s=(0,e0.d4)(e=>e.unSeenStreams),i=(0,e0.d4)(e=>e.isLoading),l=(0,e0.d4)(e=>e.selectedTeaser),n=(0,e0.d4)(e=>e.schedule),o=(0,eg.N)("(max-width: 767px)"),d=(0,h.z0)("rendering.site.callLetters"),{brandColorTwo:c}=(0,h.z0)("rendering.site"),{portraitCarouselEnabled:u}=(0,h.Hl)();(0,_.useEffect)(()=>{let a;r((a=e.stream,async(e,r)=>{let{carousels:t}=r(),{customConfigObj:s={config:[]}}=(0,h.QO)((0,h.z0)("rendering.section.data.injectedMarkup")||(0,h.z0)("presentation.customHtml.injectedMarkup"));if(t.length>0)(0,e0.vA)(()=>{e(lr(a)),e(lt("update")),e({type:sT})});else{let r,t,i;e({type:sP});let l=[];l.active=!0,l.teasers=await Promise.all([(t=(0,h.z0)("content.weather.video.video")||void 0)?(t.videoUrl=t.mp4Url,t.title="Latest Weathercast",t.videoDuration=t.duration,t.jumbo16x9Url=t.thumbUrl,t.hideStoryLink=!0,t.url=`/watch?video=${t.externalId}`,Promise.resolve([t])):Promise.resolve(void 0),(i=(0,h.z0)("rendering.site.callLetters"),(0,tr.bF)(i).then(({data:e})=>{if(e.assets){let a=e.assets.reduce((e,a)=>e.created_date>a.created_date?e:a);return"string"==typeof a&&(a=JSON.parse(a)),a.jumbo16x9Url=a.poster_url,a.videoDuration=a.duration,a.mediaid=a.assetId,a.title="Latest News Broadcast",a.videoUrl=a.playback_url,a.hideStoryLink=!0,a.playback_url=null,a.url=`/watch?video=${a.assetId}`,Promise.resolve([a])}}).catch(()=>Promise.resolve())),ls()]).then(e=>la(e)),(r=[l,...s&&s.hideDefaultCarousels?[]:(0,h.z0)("content.page-data.teaser").filter(e=>"video-data-06"!==e.componentInstanceId)]).map(e=>((0,iy.Mp)(e),e)),Promise.all([function(){let{customConfigObj:e={config:[]}}=(0,h.QO)((0,h.z0)("rendering.section.data.injectedMarkup")||(0,h.z0)("presentation.customHtml.injectedMarkup")),a=e&&e.hideDefaultCarousels?[]:[{type:"trending",id:"popular-videos",title:"Most Popular",position:3,limit:50}];return Promise.all(la([e?.config??[],...a]).map(e=>ll(e))).then(e=>e)}()]).then(t=>{t[0].map(e=>((0,iy.Mp)(e),r.splice(e.position?e.position:r.length,0,e))),(0,e0.vA)(()=>{e({type:sL,payload:r}),e({type:sH}),e({type:sw}),e({type:sv}),e(lr(a)),e(lt()),e({type:sT}),e(le())})}).catch(()=>{(0,e0.vA)(()=>{e({type:sL,payload:r}),e({type:sH}),e({type:sw}),e({type:sv}),e(lr(a)),e(lt()),e({type:sT}),e(le())})})}})).then(()=>{}),(0,s8.z7)(e.stream)},[e.stream]);let[p,x]=(0,_.useState)(!1),[g,y]=(0,_.useState)(!0),j=(e,a)=>(0,m.jsx)("div",{className:e,children:(0,m.jsx)(v.X,{adName:a,pageType:"tnd_home"})}),b=e?.facade?.content["page-data"]?.teaser??[],k={section1Data:b?.find(e=>"section_teaser_1"===e.componentInstanceId)??{},section2Data:b?.find(e=>"section_teaser_2"===e.componentInstanceId)??{},section3Data:b?.find(e=>"section_teaser_3"===e.componentInstanceId)??{},section4Data:b?.find(e=>"section_teaser_4"===e.componentInstanceId)??{},section5Data:b?.find(e=>"section_teaser_5"===e.componentInstanceId)??{},section6Data:b?.find(e=>"section_teaser_6"===e.componentInstanceId)??{},section7Data:b?.find(e=>"section_teaser_7"===e.componentInstanceId)??{}};return(0,m.jsxs)("div",{className:f()("index-module_container__yQ7R"),id:"HomePageContainer",children:[(0,m.jsx)(eU.A,{theme:"dark"}),(0,m.jsx)("div",{className:"index-module_videoPlayerContainer__rDGP",id:"VideoPlayerContainer",children:(0,m.jsx)(iJ,{mainComp:(0,m.jsx)(iY,{color:c,eventList:["playlistItem"],isFullScreen:!0,isLoading:i,playlist:t,selectedVideo:l,unSeenStreams:s}),muteSettings:()=>{y(!1)},muteSettingsVal:g,overlayComp:(0,m.jsx)(iH,{onTeaserClick:()=>void x(!0),playlistData:t,scheduleData:n,selectedVideo:l}),selectedVideo:l,teaserClicked:p})}),(0,m.jsx)("div",{className:"index-module_alertsWrapper__IsvY",children:(0,m.jsx)(sg.A,{})}),!o&&j("index-module_topAdContainer__Ix32","banner_pos1"),(0,m.jsxs)("div",{className:"index-module_teaserSections__CZ3K",id:"TeaserSections",children:[(0,m.jsx)(eR,{data:k.section1Data,sectionType:k.section1Data?.data?.sectionType??1,teaserAttributes:eD}),o?j(ln,"banner_pos1"):null,u?(0,m.jsx)(iG,{teaserList:e?.facade?.content?.portrait_teaser}):null,(0,m.jsx)(eR,{data:k.section2Data,sectionType:k.section2Data?.data?.sectionType??2,teaserAttributes:eW}),!o&&j("index-module_midAdContainer__dRcL","banner_pos2"),(0,m.jsx)(eR,{data:k.section3Data,sectionType:k.section3Data?.data?.sectionType??3,teaserAttributes:eP}
11),o?j(ln,"banner_pos2"):null,(0,m.jsx)(eR,{data:k.section4Data,sectionType:k.section4Data?.data?.sectionType??4,teaserAttributes:eH}),(0,m.jsx)(eR,{data:k.section5Data,sectionType:k.section5Data?.data?.sectionType??2,teaserAttributes:eW}),b?.find(e=>"section_teaser_6"===e.componentInstanceId)?(0,m.jsx)(eR,{data:k.section6Data,sectionType:k.section6Data?.data?.sectionType??3,teaserAttributes:eP}):null,o?j(ln,"banner_pos3"):null,k.section7Data?(0,m.jsx)(eR,{data:k.section7Data,sectionType:k.section7Data?.data?.sectionType??3,teaserAttributes:eP}):null]}),!o&&j("index-module_bottomAdContainer__R3Bq","banner_pos3"),(0,m.jsx)(eE.A,{...a,callLetters:d,componentId:"js-PageFooter-Container"})]})}),ld=aV(function(e=s4,a){switch(a.type){case sB:let r,{activeCarousel:t,activeLabel:s}={activeCarousel:[...(r=e.carousels.filter(e=>e.active)[0]).teasers],activeLabel:r.title},i=[...rf.ky.formatVideoPayloadWithAds(t,{},{injectionKey:1})];return{...e,vod_teasers:e.vod_teasers.concat(a.payload),playlist:i,activeLabel:s};case sz:return{...e,live_teasers:a.payload};case s6:return{...e,carousels:[...function(e,a){for(let r=0;r<a.length;r++)a[r].active=a[r].componentInstanceId===e;return[...a]}(a.payload,e.carousels)]};case sQ:return{...e,schedule:a.payload};case sG:return{...e,isFullScreen:a.payload};case sV:return{...e,isLoading:!0};case s2:return{...e,loadingCarousels:!0};case s3:return{...e,loadingCarousels:!1};
11case sK:return{...e,selectedTeaser:a.payload};case sJ:var l,n,o,d,c,m;let _=e.selectedTeaser||e.playlist[0],{list:u,selectedVideo:h,unSeenStreams:p}=(l=e.live_teasers,n=e.playlist,o=_,d=e.unSeenStreams,c=e.isFullScreen,m=a.payload,l.map((e,a)=>{var r;if(e.isLive){let a=n.find(a=>a.stream===e.stream);if(a){let e=(0,sU.A)(e=>e.stream===a.stream)(n),r=(0,sU.A)(e=>e.stream===a.stream)(l);n[e].image=l[r].image}else e.adschedule=rf.gp.generateLiveVideoAdsConfig(e.videoType),n.push(e),m&&sinclairVideo&&globalThis?.sinclairVideo().playlist.update([...sE(n)]),c&&d.push(e)}else n.map((a,r)=>{if(a.stream&&a.stream===e.stream&&(n.splice(r,1),globalThis?.sinclairVideo())){let a=globalThis?.sinclairVideo();if(a.playlist.update([...sE(n)]),e.isActive){let e=a.playlist.seek();a.playlist.play(e)}}});r=o,e.stream!==r.stream||e.isLive||sM(o=n.filter(e=>e.isNext)[0]||n[0],n)}),Object.assign({},{list:sE(n),selectedVideo:o,unSeenStreams:d}));return sM(h,u),{...e,playlist:[...u],selectedTeaser:h,unSeenStreams:p};case sX:let x=a.payload||e.playlist[0],g=e.playlist.filter(e=>e.mediaid==(x.mediaid||x.uuid))[0]||x;return sM(g,e.playlist),{...e,selectedTeaser:g,isUserRequested:a.user};case sZ:return{...e,carousels:a.payload};case sO:return{...e,unSeenStreams:[]};case s$:return{...e,isLoading:!0};case sq:return{...e,isLoading:!1};case s0:return{...e,scheduleLoading:!0};case s1:return{...e,scheduleLoading:!1};case sY:return{...e,isLoading:!1,error:a.payload};default:return e}}),lc=e=>(0,m.jsx)(e0.Kq,{store:ld,children:(0,m.jsx)(lo,{...e})}),lm=e=>(0,m.jsxs)(E.A,{...e,skin:"watch",children:[" ",(0,m.jsx)(lc,{...e})]}),l_=e=>{let a=(0,h.z0)("presentation.componentInstances")||{},r=a?.section?.settings?.data?.isInfinite??!0;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(eU.A,{disableScroll:!0,theme:"light"}),(0,m.jsxs)("div",{className:"index-module_sectionWrapper__Rg1L",children:[(0,m.jsx)("div",{className:"index-module_alertsWrapper__V8zo",children:(0,m.jsx)(sg.A,{})}),(0,m.jsx)(tS,{...e})]}),!r&&(0,m.jsx)(eE.A,{...e.facade})]})},lu=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(l_,{...e})});r(77377);var lh=r(16719),lp=r.n(lh),lx=r(49518),lg=r.n(lx),ly=r(50654);let lf=e=>{let a=(0,h.z0)("presentation.componentInstances")||{},r=a?.aud_story_detail?.settings?.data?.isInfinite??!0;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(eU.A,{disableScroll:!0,theme:"light"}),(0,m.jsxs)("div",{className:"index-module_storyWrapper__VBNx",children:[(0,m.jsx)("div",{className:"index-module_alertsWrapper__br8H",children:(0,m.jsx)(sg.A,{})}),(0,m.jsx)(ly.A,{itemsPerFetch:5,...e,isInfinite:r})]}),!r&&(0,m.jsx)(eE.A,{...e.facade})]})};lp().polyfill(),lg().polyfill();class lv extends _.PureComponent{render(){return(0,m.jsx)(lf,{...this.props})}}var lj=r(13230),lb=r(60639),lk=r(31063);let{AK:lN,S0:lS,a0:lC,ns:lw,F5:lT,gE:lA,fV:lI,CN:lL,U8:lR,RN:lD,EL:lW,BE:lP,xg:lH,oQ:lF,jR:lU,ro:lE,PD:lM,GH:lB}=c,lO={vod_teasers:[],live_teasers:[],schedule:[],activeLabel:"What's New",loadingCarousels:!0,unSeenStreams:[],scheduleLoading:!0,playlist:[],carousels:[],isFullScreen:!1,error:null,isPlaying:!1,isLoading:!0,selectedTeaser:{}};function lG(e=lO,a){switch(a.type){case lN:let{activeCarousel:r,activeLabel:t}=(0,i4.Rp)(e.carousels),s=[...rf.ky.formatVideoPayloadWithAds(r,{},{injectionKey:1})];return{...e,vod_teasers:e.vod_teasers.concat(a.payload),playlist:s,activeLabel:t};case lw:return{...e,live_teasers:a.payload};case lM:return{...e,carousels:[...(0,i4.kX)(a.payload,e.carousels)]};case lH:return{...e,schedule:a.payload};case lC:return{...e,isFullScreen:a.payload};case lT:return{...e,isLoading:!0};case lE:return{...e,loadingCarousels:!0};case lB:return{...e,loadingCarousels:!1};
11case lD:return{...e,selectedTeaser:a.payload};case lW:let i=e.selectedTeaser||e.playlist[0],{list:l,selectedVideo:n,unSeenStreams:o}=(0,i4.uL)(e.live_teasers,e.playlist,i,e.unSeenStreams,e.isFullScreen,a.payload);return(0,i4.iw)(n,l),{...e,playlist:[...l],selectedTeaser:n,unSeenStreams:o};case lI:let d=a.payload||e.playlist[0],c=e.playlist.filter(e=>e.mediaid==(d.mediaid||d.uuid))[0]||d;return(0,i4.iw)(c,e.playlist),{...e,selectedTeaser:c,isUserRequested:a.user};case lP:return{...e,carousels:a.payload};case lS:return{...e,unSeenStreams:[]};case lA:return{...e,isLoading:!0};case lL:return{...e,isLoading:!1};case lF:return{...e,scheduleLoading:!0};case lU:return{...e,scheduleLoading:!1};case lR:return{...e,isLoading:!1,error:a.payload};default:return e}}var lz=r(82282);let lV="WatchShareButton-module_shareButton__qlCc",l$="WatchShareButton-module_shareIcon__w5is",lX={email:{color:"#03AFB0",name:"Email"},embed:{color:"#3AB44B",name:"Embed"},facebook:{color:"#39579A",name:"Facebook"},instagram:{color:"#E1306C",name:"Instagram"},pinterest:{color:"#BD081C",name:"Pinterest"},twitter:{color:"#000000",name:"Twitter"},youtube:{color:"#FF0000",name:"YouTube"}},lq=e=>Object.hasOwn(lX,e)?lX[e].color:null,lY=({type:e,title:a,shareUrl:r,embedCode:t,siteUrl:s,providerClickHandler:i})=>{var l,n;let o,d=e?{color:lq(e),link:((e,a)=>{if(!e)return null;switch(e.toLowerCase().trim()){case"facebook":return"https://www.facebook.com/sharer/sharer.php?u=";case"twitter":return`https://twitter.com/intent/tweet?text=${a}&url=`;case"email":return encodeURI(`mailto:?subject=${a}&body=`);default:return""}})(e,a),style:{"--hover-background":`${lq(e)}`},type:e}:{color:"#808080",link:"#",style:"",type:""},c=Object.hasOwn(lX,l=d.type)?lX[l].name:"";return"embed"===d.type?(0,m.jsx)("div",{className:lV,onClick:()=>{let e;(e=document.createElement("textarea")).value=t,e.setAttribute("readonly",""),e.setAttribute("aria-hidden","true"),e.style={left:"-9999px",position:"absolute"},document.body.append(e),e.select(),document.execCommand("copy"),e.remove(),i("Embed")},style:d.style,title:c,children:d.type?(0,m.jsx)("img",{className:l$,src:`${s}/resources/defaults/news_3.0/icons/social/${d.type}.svg`}):null}):(0,m.jsx)("a",{className:lV,href:`${d.link}${(n=d.type,o=`${s}${r}`,"email"===n.toLowerCase().trim()?decodeURIComponent(`${o}`):encodeURIComponent(`${o}`))}`,onClick:()=>{i(c)},rel:"noreferrer",style:d.style,target:"email"===d.type?"":"_blank",title:c,children:d.type?(0,m.jsx)("img",{className:l$,src:`${s}/resources/defaults/news_3.0/icons/social/${d.type}.svg`}):null})};lY.propTypes={embedCode:ej().string,providerClickHandler:ej().func,shareUrl:ej().string,siteUrl:ej().string,title:ej().string,type:ej().string.isRequired},lY.defaultProps={siteUrl:"https://demonews3.com"};let lK=({providers:e,title:a,shareUrl:r,embedCode:t,siteUrl:s,enableGA:i,gaEventHandler:l})=>{let[n,o]=(0,_.useState)(!1);function d(e){var a;"embed"===e.toLowerCase().trim()&&(o(!0),setTimeout(()=>{o(!1)},1e3)),i&&l&&l("shareMenu","click",(a=e)&&"string"==typeof a?a.charAt(0).toUpperCase()+a.slice(1):a)}return(0,m.jsx)("div",{className:"Share-module_shareContainer__AXzi",children:n?(0,m.jsx)("p",{className:"Share-module_copiedText__oZoT",children:"Copied"}):e.map((e,i)=>"embed"===e?(0,m.jsx)(lY,{embedCode:t,providerClickHandler:d,siteUrl:s,title:a,type:e},i):(0,m.jsx)(lY,{providerClickHandler:d,shareUrl:r,siteUrl:s,title:a,type:e},i))})};lK.propTypes={embedCode:ej().string,enableGA:ej().bool,gaEventHandler:ej().func,providers:ej().array.isRequired,shareUrl:ej().string,siteUrl:ej().string,title:ej().string},lK.defaultProps={providers:[],siteUrl:"https://demonews3.com"};let lJ={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"Title-module_darkreader--fallback__iwzf","darkreader--text":"Title-module_darkreader--text__Iop2","darkreader--invert":"Title-module_darkreader--invert__gpRa","darkreader--inline":"Title-module_darkreader--inline__jNRe","darkreader--variables":"Title-module_darkreader--variables__JNIR","darkreader--root-vars":"Title-module_darkreader--root-vars__c5zl","darkreader--user-agent":"Title-module_darkreader--user-agent__Pia0",titleWrapper:"Title-module_titleWrapper__fjVJ",titleContainer:"Title-module_titleContainer__p79E",storyTitle:"Title-module_storyTitle__zVuz",titleText:"Title-module_titleText__jS6z",badgeContainer:"Title-module_badgeContainer__USoj",live:"Title-module_live__oi_i",premium:"Title-module_premium__PDrf",readStoryContainer:"Title-module_readStoryContainer__jW6M",readStoryLink:"Title-module_readStoryLink__wXT_",readStoryChevron:"Title-module_readStoryChevron__viyP",darkBackgroun
11d:"Title-module_darkBackground__lT6a",hssWatchBackground:"Title-module_hssWatchBackground__hojv"};var lZ=r(61301);let lQ=({titleData:e,componentId:a,siteUrl:r,color:t,customStyle:s,enableGA:i,gaEventHandler:l})=>{var n;let o={"--hyperlink-color":`${t}`},d="hssWatchBackground"===s?lJ.hssWatchBackground:lJ.darkBackground,c=(0,eg.N)("(max-width: 767px)")&&e.isLive?(n=e.title)&&n.length>75?`${n.slice(0,75).trim()}...`:n:e.title;return(0,m.jsxs)("div",{className:f()(lJ.titleWrapper,s,d),id:a,children:[(0,m.jsx)("div",{className:lJ.titleContainer,children:(0,m.jsxs)("div",{className:lJ.storyTitle,children:[e.isLive?(0,m.jsx)("div",{className:lJ.badgeContainer,children:(0,m.jsx)("div",{className:lJ.live,children:(0,m.jsx)("span",{className:lJ.badgeText,children:"Live"})})}):null,(0,m.jsx)("span",{className:lJ.titleText,children:c}),e.isLive||!e.url||e.hideStoryLink?null:(0,m.jsx)("div",{className:lJ.readStoryContainer,children:(0,m.jsxs)("a",{className:lJ.readStoryLink,href:e.url,onClick:()=>{var a;return a=e.title,void(i&&l&&l("Read Story","select",a))},style:o,children:["Read Story",(0,m.jsx)(lz.A,{className:lJ.readStoryChevron,color:t,height:"12px",width:"7px"})]})})]})}),!e.isLive&&e.mediaid&&e.url?(0,m.jsx)(lK,{embedCode:function(e="MEDIAID"){return encodeURIComponent(`<iframe src="https://sinclairstoryline.com/resources/embeds/jw8-embed.html?client=googima&file=${(0,lZ.d)()}/${e}/hls/index.m3u8&autostart=false" width="640" height="360" frameborder="0" scrolling="auto" loading="lazy"></iframe>`)}(e.mediaid),enableGA:i,gaEventHandler:l,providers:["facebook","twitter","email","embed"],shareUrl:e.url,siteUrl:r,title:e.title}):null]})};lQ.propTypes={color:ej().string,componentId:ej().string,enableGA:ej().bool,gaEventHandler:ej().func,path:ej().string,siteUrl:ej().string,titleData:ej().shape({isLive:ej().bool,mediaid:ej().string,title:ej().string.isRequired,url:ej().string})},lQ.defaultProps={color:"#1B89FF",componentId:"js-Title-Container",enableGA:!1,siteUrl:"https://demonews3.com",titleData:{title:"Default Title"}};let l0=({mainColumnCmp:e,sidebarCmp:a,backgroundColor:r,sponsorship:t,title:s,gameSchedule:i})=>(0,m.jsxs)("div",{className:"VideoApp-module_WatchAppContainer__ZhZt",id:"VideoAppContainer",style:{background:`${r}`},children:[t?(0,m.jsx)("div",{className:"VideoApp-module_WatchSponsorshipHeader__S2VA",children:t}):null,(0,m.jsxs)("div",{className:"VideoApp-module_WatchComponentsWrapper__ypHN",id:"VideoComponentsWrapper",children:[(0,m.jsxs)("div",{className:"VideoApp-module_WatchVideoPlayerSection__lxjf",id:"MainColumn",children:[(0,m.jsx)("div",{className:"VideoApp-module_WatchPlayer__E3_c",id:"MainColCmp",children:e}),(0,m.jsx)("div",{className:"VideoApp-module_WatchTitle__oPXy",id:"MainColTitle",children:s})]}),(0,m.jsx)("div",{className:"VideoApp-module_WatchPlaylistSection__HEWk",id:"SidebarColumn",children:a})]}),i?(0,m.jsx)("div",{className:"VideoApp-module_GameScheduleButton__ATCM",children:i}):null]});l0.propTypes={backgroundColor:ej().string,playlist:ej().node,title:ej().node,videoPlayer:ej().node},l0.defaultProps={backgroundColor:"background: radial-gradient(circle at 0% 5%, rgb(0, 0, 0) 0%, rgb(0, 94, 46) 65%, rgb(0, 0, 0) 100%)"};var l1=r(89797),l2=r(82246);let l6=({TabListOne:e,TabListTwo:a,themeColor:r,activeTabState:t,tabEl:s,style:i})=>(0,m.jsx)(l2.Ay,{elementRef:e=>s(e),maximalThumbYSize:76,style:i||"",thumbYProps:{renderer:e=>{let{elementRef:a,...t}=e;return(0,m.jsx)("span",{...t,className:"thumbY",ref:a,style:{backgroundColor:`${r}`}})}},trackYProps:{renderer:e=>{let{elementRef:a,...r}=e;return(0,m.jsx)("span",{...r,className:"trackY",ref:a})}},children:"schedule"===t||"market"===t?a:e}),l3=({title:e,url:a})=>(0,m.jsx)("a",{href:a,children:(0,m.jsx)("div",{className:"MarketItem-module_marketItemContainer__M41e",id:e,children:(0,m.jsx)("div",{className:"MarketItem-module_titleContainer__Sbhp",id:"title-container",children:(0,m.jsx)("div",{children:e})})})});l3.propTypes={scheduleItemData:ej().shape({title:ej().string,url:ej().string}).isRequired};let l4=({marketData:e,index:a})=>e?(0,m.jsx)("ul",{className:"MarketList-module_marketListContainer__UQyv",id:a,children:Object.values(e).map(e=>(0,m.jsxs)("button",{className:"MarketList-module_marketItemContainer__bAtN",children:[(0,m.jsx)("a",{href:e.url}),(0,m.jsx)(l3,{title:e.title,url:e.url})]},e.title))}):null;l4.propTypes={index:ej().number,marketData:ej().arrayOf(ej().shape({title:ej().string,url:ej().string})).isRequired};let l8=({marketData:e,tabEl:a,activeTab:r,themeColor:t,enableCustomScroll:s,portalList:i,playlistGAEventHandler:l})=>{let[n]=(0,_.useState)(0),o=globalThis?.innerWidth>1023;return(0,_.useEffect)(()=>{l&&l("High School Market List","Choose new location",e[n]?.name)}
11,[n]),(0,m.jsxs)(m.Fragment,{children:[o&&s?(0,m.jsx)(l6,{TabListTwo:(0,m.jsx)(l4,{index:n,marketData:e}),activeTabState:r,style:{height:"100%"},tabEl:a,themeColor:t}):null,!(o&&s)&&(0,m.jsx)("div",{className:i,children:(0,m.jsx)(l4,{index:n,marketData:e})})]})};l8.propTypes={componentId:ej().string,marketPicker:ej().arrayOf(ej().shape({title:ej().string,url:ej().string})).isRequired},l8.defaultProps={componentId:"js-MarketList-Container"};let l9=({onClick:e})=>(0,m.jsxs)("div",{className:"CloseIcon-module_closeIcon__Xw9G",id:"js-closeIcon-Container",onClick:e,children:[(0,m.jsx)("span",{}),(0,m.jsx)("span",{})]});l9.propTypes={onClick:ej().func};let l5=({scheduleItemData:e,componentId:a})=>(0,m.jsxs)("div",{className:"ScheduleItem-module_scheduleItemContainer__ppXh",id:a,children:[(0,m.jsx)("div",{className:"ScheduleItem-module_itemTimeContainer__S5Ju",id:"time-container",children:(0,m.jsxs)("div",{className:"ScheduleItem-module_timeBox__WIXe",children:[(0,m.jsx)("span",{className:"ScheduleItem-module_hour__dvHY",children:e.hour}),(0,m.jsxs)("div",{className:"ScheduleItem-module_stackedTime__wrYP",children:[(0,m.jsx)("span",{className:"ScheduleItem-module_minute__D68W",children:"00"!==e.minute&&e.minute}),(0,m.jsx)("span",{className:"ScheduleItem-module_period__Ruyg",children:e.period})]})]})}),(0,m.jsx)("div",{className:"ScheduleItem-module_itemTitleContainer__QhVO",id:"title-container",children:(0,m.jsx)("div",{children:e.title})}),e.live?(0,m.jsx)(e$,{className:"ScheduleItem-module_liveBadge__eOXP"}):null]});l5.propTypes={componentId:ej().string,scheduleItemData:ej().shape({hour:ej().string,live:ej().bool,minute:ej().string,period:ej().string,title:ej().string}).isRequired},l5.defaultProps={componentId:"js-ScheduleItem-Container"};let l7={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"ScheduleList-module_darkreader--fallback__lclh","darkreader--text":"ScheduleList-module_darkreader--text__oz2Y","darkreader--invert":"ScheduleList-module_darkreader--invert__HJSD","darkreader--inline":"ScheduleList-module_darkreader--inline__h5My","darkreader--variables":"ScheduleList-module_darkreader--variables__SC1B","darkreader--root-vars":"ScheduleList-module_darkreader--root-vars__zLM8","darkreader--user-agent":"ScheduleList-module_darkreader--user-agent__fTyu",scheduleContainer:"ScheduleList-module_scheduleContainer__pgk1"},ne=({scheduleListData:e,componentId:a})=>(0,m.jsx)("ul",{className:l7.scheduleContainer,id:a,children:e?.map((e,a)=>(0,m.jsx)("li",{className:l7.scheduleItem,children:(0,m.jsx)(l5,{scheduleItemData:e})},a))});ne.propTypes={componentId:ej().string,scheduleListData:ej().arrayOf(ej().shape({icon:ej().string,name:ej().string,shows:ej().arrayOf(ej().shape({hour:ej().string,live:ej().bool,minute:ej().string,period:ej().string,title:ej().string}))})).isRequired},ne.defaultProps={componentId:"js-ScheduleList-Container"};let na="Schedule-module_stationName__cCy1",nr=({scheduleData:e,tabEl:a,activeTab:r,themeColor:t,enableCustomScroll:s,showCloseIcon:i,onClose:l,portalHeader:n,portalList:o,playlistGAEventHandler:d})=>{let c=(0,eg.N)("(min-width: 1024px)"),u=e.length>1,[h,p]=(0,_.useState)(0),x=f()({[na]:!0,"Schedule-module_stationNameActive__Bw7v":!0}),g=f()({"Schedule-module_stationNamesContainer__NKLz":!0,"Schedule-module_stationNamesWithCloseIcon__k4aL":i,"Schedule-module_stationNamesWithoutCloseIcon__n0ji":!i});(0,_.useEffect)(()=>{d&&d("Watch Now Schedule","Electronic Program Guide",e[h].name)},[h]);let y=(0,ey.D)(),v=y?.textColorThree?`#80${y.textColorThree.split("#")[0]}`:null;return(0,m.jsxs)(m.Fragment,{children:[!c&&i||u?(0,m.jsxs)("div",{className:f()("Schedule-module_scheduleHeaderBar__Nt5c",n),style:{backgroundColor:t},children:[u?(0,m.jsx)("span",{className:g,children:e?.map((e,a)=>(0,m.jsx)("span",{className:a==h?x:na,onClick:()=>p(a),style:{backgroundColor:a==h?v:null},children:e.name},a))}):null,i?(0,m.jsx)(l9,{onClick:l}):null]}):null,c&&s?(0,m.jsx)(l6,{TabListTwo:(0,m.jsx)(ne,{scheduleListData:e[h]?.shows}),activeTabState:r,style:{height:u?"calc(100% - 40px)":"100%"},tabEl:a,themeColor:t}):(0,m.jsx)("div",{className:o,children:(0,m.jsx)(ne,{scheduleListData:e[h]?.shows})})]})};
11nr.propTypes={componentId:ej().string,scheduleData:ej().arrayOf(ej().shape({icon:ej().string,name:ej().string,shows:ej().arrayOf(ej().shape({hour:ej().string,live:ej().bool,minute:ej().string,period:ej().string,title:ej().string}))})).isRequired},nr.defaultProps={componentId:"js-Schedule-Container"};var nt=r(98477);let ns=({scheduleData:e,brandColorTwo:a,playlistGAEventHandler:r,setOpenSchedule:t})=>{let s={"--fullScreenGradientColor":`radial-gradient(circle at 0% 5%, rgb(0, 0, 0) 0%, ${a} 65%, rgb(0, 0, 0) 100%)`},i=document.querySelector("#WatchPageContainer"),{body:l}=document,n=document.documentElement.style.getPropertyValue("--scroll-y");return l.style.position="fixed",l.style.top=`-${n}`,window.scrollTo(0,0),(0,nt.createPortal)((0,m.jsx)("div",{className:"SchedulePortal-module_fullscreenSchedule__bZbO",id:"js-FullscreenSchedulePortal-Container",style:s,children:(0,m.jsx)(nr,{brandColorTwo:a,onClose:()=>{t(!1),l.style.position="",l.style.top="",window.scrollTo(0,0),(0,eM.d)().player.play()},playlistGAEventHandler:r,portalHeader:"SchedulePortal-module_portalHeader__Ab6j",portalList:"SchedulePortal-module_portalList__GnJB",scheduleData:e,showCloseIcon:!0})}),i)};ns.propTypes={brandColorTwo:ej().string,playlistGAEventHandler:ej().func,scheduleData:ej().arrayOf(ej().shape({icon:ej().string,name:ej().string,shows:ej().arrayOf(ej().shape({hour:ej().string,live:ej().bool,minute:ej().string,period:ej().string,title:ej().string}))})).isRequired},ns.defaultProps={brandColorTwo:"#072665"};let ni=({scheduleData:e,brandColorTwo:a,textColorThree:r,playlistGAEventHandler:t})=>{let s,[i,l]=(0,_.useState)(!1),n=e.length>1,o=JSON.parse(JSON.stringify(e));for(let e of o)n?e.shows.splice(3):e.shows.splice(4);let d=`linear-gradient(180deg, ${a}00 0%, ${a}80 33.55%, ${a} 100%)`;return s=f()({"SchedulePreview-module_gradientSingle__tqNF":!n,"SchedulePreview-module_gradientDuopoly__LFoB":n}),i?(0,m.jsx)(ns,{brandColorTwo:a,playlistGAEventHandler:t,scheduleData:e,setOpenSchedule:l}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(nr,{playlistGAEventHandler:t,scheduleData:o}),(0,m.jsx)("div",{className:s,id:"truncatedSchedGradient",style:{background:d},children:(0,m.jsx)("button",{className:"SchedulePreview-module_previewButton__p2XM",onClick:()=>{l(!0),(0,eM.d)().player.pause()},style:{background:`${r}`},children:"View Full Schedule"})})]})};ni.propTypes={brandColorTwo:ej().string,playlistGAEventHandler:ej().func,scheduleData:ej().arrayOf(ej().shape({icon:ej().string,name:ej().string,shows:ej().arrayOf(ej().shape({hour:ej().string,live:ej().bool,minute:ej().string,period:ej().string,title:ej().string}))})).isRequired,textColorThree:ej().string},ni.defaultProps={brandColorTwo:"#072665",textColorThree:"#1b89ff"};let nl=({className:e,color:a="#FFFFFF",width:r="13px",height:t="19px"})=>(0,m.jsx)("div",{className:e,children:(0,m.jsxs)("svg",{height:t,version:"1.1",viewBox:"0 0 13 19",width:r,xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("title",{children:"Location Icon"}),(0,m.jsx)("g",{fill:"none",fillRule:"evenodd",id:"Symbols",stroke:"none",strokeWidth:"1",children:(0,m.jsx)("g",{fill:a,fillRule:"nonzero",id:"Level-2/Weather/Location-XS",transform:"translate(-120.000000, -5.000000)",children:(0,m.jsx)("g",{id:"Location-Icon",transform:"translate(120.000000, 5.000000)",children:(0,m.jsx)("path",{d:"M11.9574965,3.20014313 C10.8233623,1.24291949 8.80890822,0.0471749878 6.56878065,0.00147821045 C6.47315321,-0.000492736816 6.37690529,-0.000492736816 6.28124135,0.00147821045 C4.04115028,0.0471749878 2.02669618,1.24291949 0.892525525,3.20014313 C-0.266756458,5.2007276 -0.298474109,7.6038233 0.807665295,9.62846063 L5.44169081,18.1103592 C5.44377125,18.1141186 5.4458517,18.117878 5.44800514,18.1216009 C5.65188868,18.4759699 6.01713441,18.6875182 6.425084,18.6875182 C6.83299708,18.6875182 7.19824281,18.4759334 7.40208986,18.1216009 C7.4042433,18.117878 7.40632374,18.1141186 7.40840419,18.1103592 L12.0424297,9.62846063 C13.1484961,7.6038233 13.1167785,5.2007276 11.9574965,3.20014313 Z M6.425011,8.46779169 C4.97596327,8.46779169 3.79708131,7.28890973 3.79708131,5.839862 C3.79708131,4.39081427 4.97596327,3.21193231 6.425011,3.21193231 C7.87405873,3.21193231 9.05294069,4.39081427 9.05294069,5.839862 C9.05294069,7.28890973 7.87409523,8.46779169 6.425011,8.46779169 Z",id:"Shape"})})})})]})}),nn="TabView-module_WatchSidebarShow__VnNF",no="TabView-module_WatchSidebarHide__uSav",nd="TabView-module_WatchSidebarShowTab__LDD8",nc="TabView-module_WatchSidebarHideTab__nlNu",nm="TabView-module_WatchSidebarTab__z5fw",n_=({TabListOne:e,TabListTwo:a,activeTab:r,themeColor:t,tabEl:s,hasSchedule:i,hasMarketP
11icker:l})=>{let[n,o]=(0,_.useState)(r),d=globalThis?.innerWidth>1023;return(0,m.jsxs)("div",{className:"TabView-module_WatchSidebar__f_71",children:[function(e,a,r,t,s,i){let l="rgba(237,237,237,0)",{city:n,state:o}=(0,h.z0)("rendering.site"),d=`${n}, ${o}`,c=f()(nm,{[nd]:"whatsnew"===a,[nc]:"whatsnew"!==a}),_=f()(nm,[nd,"schedule"===a],[nc,"schedule"!==a]),u=f()("TabView-module_MarketPickerTab__wLJz",[nd,"market"===a],[nc,"market"!==a]);return(0,m.jsxs)("div",{className:"TabView-module_WatchSidebarTabs__hsIA",children:[(0,m.jsx)("div",{className:c,style:{borderBottom:`1px solid ${"schedule"===a?l:r}`},children:(0,m.jsx)("button",{className:"whatsnew",onClick:()=>e("whatsnew"),style:{backgroundColor:`${"schedule"===a?l:r}`},children:t})}),s?(0,m.jsx)("div",{className:_,style:{borderBottom:`1px solid ${"schedule"===a?r:l}`},children:(0,m.jsxs)("button",{className:"schedule",onClick:()=>e("schedule"),style:{backgroundColor:`${"schedule"===a?r:l}`,width:"121px"},children:[(0,m.jsx)("img",{alt:"Schedule Icon",className:"TabView-module_WatchSidebarScheduleIcon__GGl4",src:"//sinclairstoryline.com/resources/defaults/news_3.0/icons/ui/sbg-list_w.svg"})," ","Schedule"]})}):null,i?(0,m.jsx)("div",{className:u,style:{borderBottom:`1px solid ${"market"===a?r:l}`},children:(0,m.jsx)("button",{className:"TabView-module_market__Yeg0",onClick:()=>e("market"),style:{backgroundColor:`${"market"===a?r:l}`},children:(0,m.jsxs)("div",{className:"TabView-module_locationContainer__Z6Yx",children:[(0,m.jsx)("div",{className:"TabView-module_iconMargin__MCzH",children:(0,m.jsx)(nl,{className:"TabView-module_locationIcon__rkK_",color:"white"})}),(0,m.jsx)("div",{className:"TabView-module_locationTextContainer__tHlX",children:(0,m.jsxs)("div",{className:"TabView-module_locationTextBox__JpzF",children:[(0,m.jsx)("div",{className:"TabView-module_currentLocation__p_jl",children:d}),(0,m.jsx)("div",{className:"TabView-module_changeLocation__mhBa",children:"Change your location"})]})})]})})}):null]})}(o,n,t,r,i,l),function(...e){let[a,r,t,s,i,l]=e,n="TabView-module_WatchSidebarContent__5An0",o=f()(n,{[nn]:"schedule"!==s&&"market"!==s,[no]:"schedule"===s||"market"===s}),d=f()(n,{[nn]:"schedule"===s,[no]:"schedule"!==s}),c=f()(n,{[nn]:"market"===s,[no]:"market"!==s});return(0,m.jsxs)("div",{className:"schedule"===s?d:"market"===s?c:o,children:[" ",l?"schedule"===s||"market"===s?r:(0,m.jsx)(l6,{TabListOne:a,TabListTwo:r,activeTabState:s,tabEl:i,themeColor:t}):(0,m.jsx)("div",{className:"market"===s?"TabView-module_hideBarMarket__Ns66":"TabView-module_hideBar___lS7",ref:i,children:"schedule"===s?r:a})]})}(e,a,t,n,s,d)]})},nu=({teaserData:e,componentId:a,handleTeaserClick:r,themeColor:t})=>{let s={"--hoverColor":`linear-gradient(90deg, ${t} 0%, rgba(9, 52, 76, 0) 100%)`},i=f()({"VideoTeaser-module_title__t9_4":!0}),l=f()({"VideoTeaser-module_isActive__LFPU":e.isActive,"VideoTeaser-module_liveTeaser__Kfxs":e.isLive});return(0,m.jsxs)("div",{className:f()("VideoTeaser-module_container__j_67",l),id:a,onClick:()=>r(e),children:[(0,m.jsx)("div",{className:"VideoTeaser-module_VideoTeaserBackground__Uq_g",style:s}),(0,m.jsx)("div",{className:"VideoTeaser-module_VideoTeaserLiveAnimation__Ppku"}),(0,m.jsxs)("div",{className:"VideoTeaser-module_teaserContainer__Uyyo",children:[(0,m.jsxs)("div",{className:"VideoTeaser-module_imageContainer__HB0l",children:[(0,m.jsx)("img",{alt:e.title,className:"VideoTeaser-module_teaserImage___pr1",src:e.medium16x9Url?e.medium16x9Url:e.image}),e.isLive?(0,m.jsx)("div",{className:"VideoTeaser-module_live__zImc",children:"LIVE"}):null,e.isNext?(0,m.jsx)("div",{className:"VideoTeaser-module_upNext__sL8W",children:"UP NEXT"}):null,e.isActive?(0,m.jsx)("div",{className:"VideoTeaser-module_nowPlaying__lQUR",children:"NOW PLAYING"}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"VideoTeaser-module_playIconContainer__siTi",children:(0,m.jsx)("div",{className:"VideoTeaser-module_playIcon__aR2i"})}),!e.isLive&&e.videoDuration?(0,m.jsx)("div",{className:"VideoTeaser-module_videoDuration__HDrq",children:e.videoDuration}):null]})]}),(0,m.jsx)("div",{className:"VideoTeaser-module_MobileLiveAnimation__El6U"}),(0,m.jsxs)("div",{className:"VideoTeaser-module_headlineContainer__AmYW",children:[(0,m.jsx)("div",{className:"VideoTeaser-module_dateContainer__GNca",children:(0,m.jsx)("span",{className:"VideoTeaser-module_publishedSince__fVYf",children:e.isLive?"LIVE NOW":e.publishedSince})}),(0,m.jsx)("div",{className:i,children:(0,m.jsx)("p",{children:e.title})})]})]})]})};
11nu.propTypes={componentId:ej().string,onTeaserClick:ej().func,teaserData:ej().shape({image:ej().string,isActive:ej().bool,isLive:ej().bool,isNext:ej().bool,medium16x9Url:ej().string,publishedSince:ej().string,title:ej().string.isRequired,videoDuration:ej().string})},nu.defaultProps={componentId:"js-VideoTeaser-Container",teaserData:{title:"Default Title"}};let nh={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"TeaserList-module_darkreader--fallback__T2mt","darkreader--text":"TeaserList-module_darkreader--text__xUgr","darkreader--invert":"TeaserList-module_darkreader--invert__AJo0","darkreader--inline":"TeaserList-module_darkreader--inline__aSyR","darkreader--variables":"TeaserList-module_darkreader--variables__EqR3","darkreader--root-vars":"TeaserList-module_darkreader--root-vars__W8iO","darkreader--user-agent":"TeaserList-module_darkreader--user-agent__tCP2",WatchSidebarBackground:"TeaserList-module_WatchSidebarBackground__cLGL",WatchSidebarContent:"TeaserList-module_WatchSidebarContent__FqnW",activeTeaser:"TeaserList-module_activeTeaser__I2JW",WatchSidebar:"TeaserList-module_WatchSidebar__Rmpt",WatchPlaylistList:"TeaserList-module_WatchPlaylistList__ta_U",PlaylistTeaser:"TeaserList-module_PlaylistTeaser__JS0E",WatchSidebarShow:"TeaserList-module_WatchSidebarShow__paqV",WatchSidebarHide:"TeaserList-module_WatchSidebarHide__BlqH",WatchSidebarHeader:"TeaserList-module_WatchSidebarHeader__zmsR",WatchSidebarTabs:"TeaserList-module_WatchSidebarTabs__U1nd",WatchSidebarShowTab:"TeaserList-module_WatchSidebarShowTab__nL1F",WatchSidebarHideTab:"TeaserList-module_WatchSidebarHideTab__prvB",WatchSidebarScheduleIcon:"TeaserList-module_WatchSidebarScheduleIcon__iahZ",WatchSidebarTab:"TeaserList-module_WatchSidebarTab__JiON"},np=({teaser:e,handleTeaserClick:a,themeColor:r,elFunction:t,idx:s,isDesktop:i})=>{let l=(0,_.useRef)(null);(0,_.useEffect)(()=>{e.isActive&&t(eX(l,e.index,s,e.isLive))},[e.isActive,i]);let n=f()({[nh.activeTeaser]:e.isActive,[nh.liveTeaser]:e.isLive});return(0,m.jsx)("li",{className:f()(nh.PlaylistTeaser,n),ref:l,children:(0,m.jsx)(nu,{handleTeaserClick:a,teaserData:e,themeColor:r})},e.index)},nx=()=>(()=>{let e=[];for(let a=0;a<10;++a)e.push((0,m.jsxs)("div",{className:"PlaceholderList-module_emptyPlaylistVideoItem__eRIB",children:[(0,m.jsx)("div",{className:"PlaceholderList-module_emptyThumbnail__nR1t"}),(0,m.jsxs)("div",{className:"PlaceholderList-module_emptyDescription__Y0om",children:[(0,m.jsx)("div",{className:"PlaceholderList-module_emptyBigText__yQT0"}),(0,m.jsx)("div",{className:"PlaceholderList-module_emptySmallText__V4Sm"})]})]},`${a}-empty-item`));return e})().map((e,a)=>(0,m.jsx)("li",{className:"PlaceholderList-module_PlaylistTeaser__Em3g",children:e},a)),ng=({list:e,themeColor:a,handleTeaserClick:r,elFunction:t,isDesktop:s})=>0===e.length?(0,m.jsxs)("ul",{className:nh.WatchPlaylistList,children:[" ",(0,m.jsx)(nx,{})]}):(0,m.jsx)("ul",{className:nh.WatchPlaylistList,id:"playlist-Items",children:e.map((e,i)=>(0,m.jsx)(np,{elFunction:t,handleTeaserClick:r,idx:i,isDesktop:s,teaser:e,themeColor:a},e.mediaid))}),ny=({activeTab:e,brandColorTwo:a,textColorThree:r,playlistData:t,scheduleData:s,marketData:i,selectTeaserFunction:l,enableScrollTo:n,playlistGAEventHandler:o,selectedVideo:d})=>{let c;console.debug("[Playlist] - selectedVideo: ",d);let[u,h]=(0,_.useState)(null),p=(0,eg.N)("(min-width: 1024px)");return s&&s.length>0?c=p?(0,m.jsx)(nr,{activeTab:"schedule",enableCustomScroll:!0,playlistGAEventHandler:o,scheduleData:s,tabEl:e=>{h(e)},themeColor:a}):(0,m.jsx)(ni,{brandColorTwo:a,playlistGAEventHandler:o,scheduleData:s,textColorThree:r}):i&&(c=(0,m.jsx)(l8,{activeTab:"market",enableCustomScroll:!0,marketPicker:i,playlistGAEventHandler:o,tabEl:e=>{h(e)},themeColor:a})),(0,m.jsx)(n_,{TabListOne:(0,m.jsx)(ng,{elFunction:e=>n?function(e,a){let r=window?.matchMedia("(min-width: 1024px)").matches;if(e){let t=a.querySelector(r?".ScrollbarsCustom-Scroller":"#playlist-Items");t&&t.scroll(function(e,a){let{offsetTop:r,height:t,width:s,idx:i,isLive:l}=e,n={behavior:"smooth",left:l?0:(i+1)*s,top:0};
11return a&&(n.left=0,n.top=l?0:r+t),n}(e,r))}}(e,u):()=>{},handleTeaserClick:l,isDesktop:p,list:t,themeColor:a}),TabListTwo:c,activeTab:e,hasMarketPicker:i?.length>0,hasSchedule:s?.length>0,tabEl:e=>{h(e)},themeColor:a})};ny.propTypes={activeTab:ej().string,brandColorTwo:ej().string,enableScrollTo:ej().bool,marketData:ej().arrayOf(ej().shape({title:ej().string,url:ej().string})),playlistData:ej().arrayOf(ej().shape({adschedule:ej().shape({adbreak1:ej().shape({offset:ej().string.isRequired,tag:ej().string.isRequired})}),file:ej().string.isRequired,image:ej().string,title:ej().string})),playlistGAEventHandler:ej().func,scheduleData:ej().arrayOf(ej().shape({icon:ej().string,name:ej().string,shows:ej().arrayOf(ej().shape({hour:ej().string,live:ej().bool,minute:ej().string,period:ej().string,title:ej().string}))})),selectTeaserFunction:ej().func,textColorThree:ej().string},ny.defaultProps={activeTab:"whatsnew",brandColorTwo:"#072665",enableScrollTo:!0,playlistData:[{}],scheduleData:[{}],textColorThree:"#1b89ff"};let nf=({activeTab:e,brandColorTwo:a,playlistData:r,scheduleData:t,marketData:s})=>{let i=(0,e0.wA)();return(0,m.jsx)(ny,{activeTab:e,brandColorTwo:a,marketData:s,playlistData:r,playlistGAEventHandler:eG.Xq,scheduleData:t,selectTeaserFunction:a=>{(0,eG.Xq)("Video Playlist",e,a.title),i(iv(a,"user"))}})};r(88472);var nv=r(12394);let nj=({carousels:e,stream:a})=>{let r=(0,e0.wA)(),t=(0,eg.N)("(max-width: 1023px)"),s=(0,e0.d4)(e=>e.loadingCarousels);return e.map((e,i)=>s||e.active?null:(0,m.jsx)(nv.A,{componentId:`js-${e.componentInstanceId}`,filterData:{teaser:e},page:"watch",position:0===i?1:i,switchPlaylist:s=>{let i;window.scrollTo({behavior:"smooth",top:30*!t}),r((i=e.componentInstanceId,e=>{(0,e0.vA)(()=>{e({type:ip,payload:i}),e({type:s9}),e(ik(a)),e(iN("update")),e(iv(s,"user"))})}))}},i))},nb={isLiveBlock:"LiveBox-module_isLiveBlock__kKjV",widgetBox:"LiveBox-module_widgetBox__RO9f",live:"LiveBox-module_live__zPND",widgetBackground:"LiveBox-module_widgetBackground__dAgF",titleBar:"LiveBox-module_titleBar__ogV8",subtitle:"LiveBox-module_subtitle__GmjD",closeWindow:"LiveBox-module_closeWindow__yEBP",videoBox:"LiveBox-module_videoBox__wI9m",closeBtn:"LiveBox-module_closeBtn__fSNM",transparentPointerOverlay:"LiveBox-module_transparentPointerOverlay__a7CQ"},nk={config:{autostart:!0,controls:!1,displaytitle:!1,mute:!0}},nN=({video:e,playVideo:a,closeWidget:r})=>{let{file:t,image:s,title:i,mediaid:l}=e;return(0,m.jsxs)("div",{className:nb.widgetBox,onClick:()=>{r(e),a(e)},children:[(0,m.jsx)("div",{className:nb.liveBoxPlayer,children:(0,m.jsx)(eM.A,{container:`widget-live-video-container-${l}`,playerSettings:nk,playlist:[{file:t,image:s,title:i}],style:nb.videoBox})}),(0,m.jsx)(lQ,{componentId:"js-Notification-Title",customStyle:nb.titleBar,titleData:e}),(0,m.jsx)("div",{className:nb.widgetBackground}),(0,m.jsx)("div",{className:nb.transparentPointerOverlay}),(0,m.jsx)(rE,{className:nb.closeBtn,onClose:a=>(a.stopPropagation(),r(e))})]})};nN.propTypes={closeWidget:ej().func.isRequired,playVideo:ej().func.isRequired,video:ej().shape({file:ej().string.isRequired,image:ej().string,mediaid:ej().string.isRequired,title:ej().string}).isRequired};let nS="LiveNotification-module_liveVideoList__BKhv",nC=(e,a,r)=>{e&&!a.includes(e.mediaid)&&r([...a,...e.mediaid])},nw=({liveVideoList:e,playVideoHandler:a,customStyle:r=nS})=>{let[t,s]=(0,_.useState)([]);return(0,_.useEffect)(()=>{nC()},[e,t]),(0,m.jsxs)("div",{className:r,children:[e.map(e=>t.includes(e.mediaid)?null:(0,m.jsx)(nN,{closeWidget:()=>nC(e,t,s),playVideo:a,video:e},`watchnow-box-video-${e.mediaid}`))," "]})};nw.propTypes={customStyle:ej().string,liveVideos:ej().arrayOf(ej().shape({file:ej().string.isRequired,image:ej().string,title:ej().string})),playVideoHandler:ej().func.isRequired};let nT=["sharingFacebook","sharingTwitter","sharingEmail","sharingEmbed","playlistItem","fullscreen","ready"],nA=({playlist:e,selectedVideo:a,color:r,isFullScreen:t,unSeenStreams:s})=>{let i=(0,e0.wA)(),o={config:{...(0,eG.PW)()},streaming:!1},[d]=(0,_.useState)((0,eG.M3)(a)),[c,u]=(0,_.useState)(!1),h=(0,e0.d4)(e=>e.isUserRequested);return((0,_.useEffect)(()=>{(async function(){(await e).length>0&&(u(!0),(n=(0,eM.d)())&&h&&function(e,a,r){let t=e.playlist.seek(a);if(-1===t){let t=r.findIndex(e=>e.mediaid===a.mediaid);e.playlist.load(r,t)}else e.playlist.play(t)}(n,a,e))})().then(()=>{})},[a.mediaid]),t&&(l=document.querySelector("#js-Video-Container")),c)?[(0,m.jsx)("div",{className:d?"hideShareOnSmall":"",children:(0,m.jsx)(eM.A,{container:"js-Video-Container",enableGA:!0,gaEventHandler:(...r)=>(function(e,a,r,t){let[s,l]=e;"ready"===s.type&&l&&(l.playlist.index=l.playlist.seek(r),l.playlist.update([...t])),(0,eG.a5)(...e),"playlistItem"!==s.type||a?"fullscreen"===s.type&&(0,e0.vA)(()=>{i(ij(s.fullscreen)),s.fullscreen||i({type:s7})}):i(iv((0,eG.im)(s.item)))})(r,h,a,e),gaPlayerEvents:nT,playerSettings:o,playlist:e})}),l&&(0,nt.createPortal)(t?(0,m.jsx)("div",{className:"index-module_LiveNotificationContainer__uet6",children:(0,m.jsx)(nw,{liveVideoList:s,playVideoHandler:e=>i(iv(e,"mini"))})}):null,l)]:(0,m.jsx)(eO,{color:r})},nI="index-module_WatchAdWrapper__wEXV",nL=i8(e=>{let{brandColorTwo:a,textColorThree:r}=(0,h.z0)("rendering.site"),{protocol:t,hostname:s,fullPathname:i}=(0,h.SJ)(),{facade:l}=e,n=(0,e0.wA)(),o=(0,e0.d4)(e=>e.carousels),d=(0,e0.d4)(e=>e.activeLabel),c=(0,e0.d4)(e=>e.playlist),u=(0,e0.d4)(e=>e.isFullScreen),p=(0,e0.d4)(e=>e.unSeenStreams),x=(0,e0.d4)(e=>e.isLoading),g=(0,e0.d4)(e=>e.selectedTeaser),y=(0,e0.d4)(e=>e.schedule),j=(0,h.z0)("rendering.section.data.injectedMarkup"),{ffLVSStationMapping:b}=(0,em.h)(),k=`radial-gradient(circle at 0% 5%, rgb(0, 0, 0) 0%, ${a} 65%, rgb(0, 0, 0) 100%)`;return(0,_.useEffect)(()=>{n(((e,a=!1)=>async(a,r)=>{let{carousels:t}=r(),{customConfigObj:s={config:[]}}=(0,h.QO)((0,h.z0)("rendering.section.data.injectedMarkup")||(0,h.z0)("presentation.customHtml.injectedMarkup")),i=(0,h.z0)("content.video-data-01.data.displayLatestWeatherCast");if(t.length>0)(0,e0.vA)(()=>{a(ik(e)),a(iN("update")),a({type:ii})});else{let r;a({type:iu});let t=(0,h.z0)("content.page-data.teaser")[0];t.active=!0,t.teasers=await function(e=!0,a=!1){let r,t,s,i,l;return Promise.all([e?(r=(0,h.z0)("content.weather.video.video")||void 0,t=(0,h.Ck)(h.pt.latestWeathercast),r?(r.videoUrl=r.url||r.mp4Url,r.title=t,r.videoDuration=r.duration,r.jumbo16x9Url=r.thumbUrl,r.hideStoryLink=!0,r.url=`/watch?video=${r.externalId}`,Promise.resolve([r])):Promise.resolve(void 0)):"",a?"":(s=(0,h.z0)("rendering.site.callLetters"),i=(i=(0,h.z0)("rendering.environment")?(0,h.z0)("rendering.environment"):"prod").toLowerCase(),l=(0,h.Ck)(h.pt.latestNewsBroadcast),(0,tr.bF)(s,i).then(({data:e})=>
11{if(e.assets){let a=e.assets.reduce((e,a)=>e.created_date>a.created_date?e:a);return"string"==typeof a&&(a=JSON.parse(a)),a.jumbo16x9Url=a.poster_url,a.videoDuration=a.duration,a.mediaid=a.assetId,a.title=l,a.videoUrl=a.playback_url,a.hideStoryLink=!0,a.playback_url=null,a.url=`/watch?video=${a.assetId}`,Promise.resolve([a])}}).catch(()=>Promise.resolve())),iC()]).then(e=>ib(e))}(i,void 0),(r=[t,...s&&s.hideDefaultCarousels?[]:!1===i?(0,h.z0)("content.page-data.teaser").filter(e=>"video-data-01"!==e.componentInstanceId):(0,h.z0)("content.page-data.teaser").filter(e=>"video-data-06"!==e.componentInstanceId)]).map(e=>((0,iy.Mp)(e),e)),Promise.all([function(e,a){let{customConfigObj:r={config:[]}}=(0,h.QO)(e||(0,h.z0)("rendering.section.data.injectedMarkup")||(0,h.z0)("presentation.customHtml.injectedMarkup")),t=(0,h.Ck)(h.pt.mostPopular),s=r&&(r.hideDefaultCarousels||a?.hideDefaultCarousels||a?.hideMostPopular)?[]:[{type:"trending",id:"popular-videos",title:t,position:3,limit:50}];return Promise.all(ib([r?.config??[],...s]).map(e=>iT(e))).then(e=>e)}(void 0,void 0)]).then(t=>{t[0].map(e=>((0,iy.Mp)(e),r.splice(e.position?e.position:r.length,0,e))),(0,e0.vA)(()=>{a({type:id,payload:r}),a({type:ih}),a({type:is}),a({type:s9}),a(ik(e)),a(iN()),a({type:ii}),a(iv())})}).catch(()=>{(0,e0.vA)(()=>{a({type:id,payload:r}),a({type:ih}),a({type:is}),a({type:s9}),a(ik(e)),a(iN()),a({type:ii}),a(iv())})})}})(e.stream,j)).then(()=>{}),(0,s8.z7)(e.stream)},[e.stream]),(0,_.useEffect)(()=>{n(async e=>{var a,r;let t;e({type:im}),(a=(0,h.z0)("rendering.site.callLetters"),r=(0,h.z0)("rendering.site.url"),t=[],Object.values(b[a]??{}).filter(Boolean).forEach((e,a)=>{t.push((0,tr.Xo)({uuid:e},r).then(e=>{let a;return a=[],e.channel.forEach(r=>{let t={name:r["display-name"],icon:r.icon.src,shows:[]};e.programme.filter(e=>e.channel===r.id).splice(0,30).forEach(e=>{let a=(0,ig.m8)(e.start,"h mm a").split(" "),s=e.category?.map(e=>e.value);if(e.channel===r.id){let r={hour:a[0],minute:a[1],period:a[2],title:e.title.value,live:(0,A.Sf)(s,["Local Programming"])||(0,A.Sf)(s,["News","Live"])};t.shows.push(r)}}),a.push(t)}),a}
11).catch(e=>{console.error("Schedule Data Failed HTTP Request Failed!",e)}))}),Promise.all(t)).then(a=>{e({type:ic,payload:ib(a)}),e({type:i_})}).catch(()=>{e({type:i_})})}).then(()=>{})},[n]),(0,m.jsxs)("div",{className:f()("index-module_container__n_19"),id:"WatchPageContainer",children:[(0,m.jsx)(l0,{backgroundColor:k,mainColumnCmp:(0,m.jsx)(nA,{color:a,eventList:["playlistItem"],isFullScreen:u,isLoading:x,playlist:c,selectedVideo:g,unSeenStreams:p}),sidebarCmp:(0,m.jsx)(nf,{activeTab:d,brandColorTwo:a,playlistData:c,scheduleData:y,selectedVideo:g}),title:(0,m.jsx)(lQ,{color:r,enableGA:!0,gaEventHandler:eG.Xq,path:i,siteUrl:`${t}//${s}`,titleData:g||c[0]})}),(0,m.jsxs)("div",{className:"index-module_WatchBottom__AL1v",children:[(0,m.jsx)("div",{className:"index-module_WatchCarousels__twP6",id:"WatchCarousels",children:(0,m.jsx)(nj,{carousels:o,stream:e.stream})}),(0,m.jsxs)("div",{className:"index-module_WatchFooterWrapper__Pe8D",id:"WatchFooterWrapper",children:[(0,m.jsx)(B.A,{showOn:["s","m","l","xl"],children:(0,m.jsx)("div",{className:nI,id:"WatchAdWrapper",children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"watch_page"})})}),(0,m.jsx)(B.A,{showOn:["xs"],children:(0,m.jsx)("div",{className:nI,id:"WatchAdWrapper",children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:"watch_page"})})}),(0,m.jsx)(l1.A,{...l,componentId:"js-PageFooter-Container"})]})]})]})}),nR=aV(lG),nD=e=>(0,m.jsx)(e0.Kq,{store:nR,children:(0,m.jsx)(nL,{...e})}),nW=e=>(0,m.jsxs)(E.A,{...e,skin:"watch",children:[" ",(0,m.jsx)(lk.A,{...e.facade,...e,userMetaData:e.userInfo}),(0,m.jsx)(lb.A,{}),(0,m.jsx)(nD,{...e})]});var nP=r(68790),nH=r(71738),nF=r(75166),nU=r(46864),nE=r(20717);let nM={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__vziP","darkreader--text":"index-module_darkreader--text__tzjJ","darkreader--invert":"index-module_darkreader--invert__Kc_l","darkreader--inline":"index-module_darkreader--inline__xuGp","darkreader--variables":"index-module_darkreader--variables__RzIf","darkreader--root-vars":"index-module_darkreader--root-vars__p29x","darkreader--user-agent":"index-module_darkreader--user-agent__uPnT",titleWrapper:"index-module_titleWrapper__a25P",titleLocation:"index-module_titleLocation__ZNMO",todaysMainWrapper:"index-module_todaysMainWrapper__qmIy",todaysMain:"index-module_todaysMain__iAEl",todaysMainTruncated:"index-module_todaysMainTruncated__artU",iconDown:"index-module_iconDown__rjXI",seeMore:"index-module_seeMore__QWrx",iconUp:"index-module_iconUp__yTaR",shadow:"index-module_shadow__lAQQ",moreLinkWeather:"index-module_moreLinkWeather__ygDB",todaysAside:"index-module_todaysAside__Pf7o",todaysAsideWrapper:"index-module_todaysAsideWrapper__xc3V",sunPos:"index-module_sunPos__FNDw",sunriseSunset:"index-module_sunriseSunset__qgTR",sunContainer:"index-module_sunContainer__IIzc",sunrisePre:"index-module_sunrisePre__yCQh",sunsetPre:"index-module_sunsetPre__H51Z",sunPosInner:"index-module_sunPosInner__a7Mo",sunImageAdjust:"index-module_sunImageAdjust__hwpL",sunArc:"index-module_sunArc__bApW",sunArcInner:"index-module_sunArcInner__e6Fc",sunConnectorDots:"index-module_sunConnectorDots__MzcO",leftDot:"index-module_leftDot__VgA8",rightDot:"index-module_rightDot__t6QE",sunTimeContainer:"index-module_sunTimeContainer__BF5J",sunriseTime:"index-module_sunriseTime__eNMm",sunsetTime:"index-module_sunsetTime__wihn",recordsWrapper:"index-module_recordsWrapper__wQ8M",recordsTitle:"index-module_recordsTitle__QSfH",records:"index-module_records__dhH7",record:"index-module_record__n4FQ",recordTitle:"index-module_recordTitle__NU3n",recordValue:"index-module_recordValue__L2LK",recordYear:"index-module_recordYear__zU2V",recordHigh:"index-module_recordHigh__T3IJ",recordHighIcon:"index-module_recordHighIcon__DX39",recordLow:"index-module_recordLow__kVp1",recordLowIcon:"index-module_recordLowIcon__YXRd",title:"index-module_title__LGNH",todaysWrapper:"index-module_todaysWrapper__Iv1J"},nB=(e,a,r)=>({curr:e-a,diff:r-a}),nO=e=>{let a=(0,ig.F2)(),[r,t]=(0,_.useState)(!1),s=(0,_.useRef)();(0,_.useEffect)(()=>{s.current.clientHeight>600&&t(!0)},[]);let{cityStateName:i,todaysUpdate:l,sunrise:n,sunset:o,phraseDay:d,phraseNight:c,recordHighTemperatureF:u,recordLowTemperatureF:p,recordHighTemperatureDate:x,recordLowTemperatureDate:g,isMobile:y}=e,j=(0,ig.El)(n),b=(0,ig.El)(o),k=(0,ig.r7)(n),N=(0,ig.r7)(o),S=Date.now(),C=new Date(a.year,a.month,a.day,j.hour,j.min).getTime(),w=new Date(a.year,a.month,a.day,b.hour,b.min).getTime(),T=((e,a,r)=>{let t;if(e<a)t=0;else if(e>r)t=100;else{let{diff:s,curr:i}=nB(e,a,r);t=100*i/s}return t})(S,C,w),A=((e,a,r)=>{let{diff:t,curr:s}=nB(e,a,r);return e<a?0:e>r?180:180/Math.PI*Math.acos((t/2-s)/(t/2))})(S,C,w),I={mozTransform:`rotate(${A}deg) translateX(-101px) rotate(${A}deg)`,msTransform:`rotate(${A}deg) translateX(-101px) rotate(${A}deg)`,oTransform:`rotate(${A}deg) translateX(-101px) rotate(${A}deg)`,transform:`rotate(${A}deg) translateX(-101px) rotate(${A}deg)`,webkitTransform:`rotate(${A}deg) translateX(-101px) rotate(${A}deg)`},L={width:`${T}%`},R=x.slice(0,4),D=g.slice(0,4),W=r&&y,P=W?nM.todaysMainTruncated:nM.todaysMain,{languageHint:H}=(0,h.Hl)(),F=H?.slice(0,2)?.toLowerCase(),U=(0,h.Ck)(h.pt.latestForecast),E=(0,h.Ck)(h.pt.today),M=(0,h.Ck)(h.pt.tonight),B=(0,h.Ck)(h.pt.seeMore),O=(0,h.Ck)(h.pt.sunrise),G=(0,h.Ck)(h.pt.sunset),z="Today's Record Temperature",V="Record High",$=R,X="Record Low",q=D;
11return"es"===F&&(z="Temperatura r\xe9cord de hoy",V="R\xe9cord De Temperaturas M\xe1ximas",X="R\xe9cord De Temperaturas M\xednimas","Invalid date"===R&&($=(0,h.Ck)(R)),"Invalid date"===D&&(q=(0,h.Ck)(D))),(0,m.jsxs)("div",{className:nM.TodaysWeatherWrapper,children:[(0,m.jsx)("div",{className:nM.titleWrapper,children:(0,m.jsxs)("div",{className:nM.title,children:[U," ",(0,m.jsx)("span",{className:nM.titleLocation,children:i}),y?(0,m.jsx)(v.X,{adName:"sponsored_logo",pageType:"weather"}):null]})}),(0,m.jsxs)("div",{className:nM.todaysMainWrapper,children:[(0,m.jsxs)("div",{className:f()(P,{[nM.shadow]:W}),id:"wrapperRef",ref:s,children:[!y&&(0,m.jsx)(v.X,{adName:"sponsored_banner",pageType:"weather"}),l&&(0,m.jsx)(ea.A,{customHtml:l,isRichText:!0})||(0,m.jsxs)(m.Fragment,{children:[d?(0,m.jsxs)("div",{children:[(0,m.jsx)("strong",{children:E}),(0,m.jsx)("br",{}),d]}):null,c?(0,m.jsxs)("div",{children:[(0,m.jsx)("strong",{children:M}),(0,m.jsx)("br",{}),c]}):null]})]}),W?(0,m.jsx)("section",{className:nM.seeMore,onClick:()=>{t(!r)},children:(0,m.jsx)(tK.A,{iconStyle:f()({[nM.iconDown]:r}),isCentered:!0,style:{marginTop:-10},text:B,url:"javascript:;"})}):null,(0,m.jsx)("div",{className:nM.todaysAsideWrapper,children:(0,m.jsxs)("ul",{className:nM.todaysAside,children:[(0,m.jsxs)("li",{className:nM.sunriseSunset,children:[(0,m.jsxs)("div",{className:nM.sunContainer,children:[(0,m.jsx)("div",{className:nM.sunrisePre,children:O}),(0,m.jsx)("div",{className:nM.sunArc,children:(0,m.jsx)("div",{className:nM.sunArcInner,style:L})}),(0,m.jsxs)("div",{className:nM.sunPos,style:I,children:[(0,m.jsx)("div",{className:nM.sunImageAdjust,children:(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/weather/sbg-sun-wg.svg"})}),(0,m.jsx)("div",{className:nM.sunPosInner})]}),(0,m.jsx)("div",{className:nM.sunsetPre,children:G})]}),(0,m.jsxs)("div",{className:nM.sunConnectorDots,children:[(0,m.jsx)("div",{className:nM.leftDot}),(0,m.jsx)("div",{className:nM.rightDot})]}),(0,m.jsxs)("div",{className:nM.sunTimeContainer,children:[(0,m.jsx)("div",{className:nM.leftCol,children:(0,m.jsx)("div",{className:nM.sunriseTime,children:k})}),(0,m.jsx)("div",{className:nM.rightCol,children:(0,m.jsx)("div",{className:nM.sunsetTime,children:N})})]})]}),(0,m.jsxs)("li",{className:nM.recordsWrapper,children:[(0,m.jsx)("div",{className:nM.recordsTitle,children:z}),(0,m.jsxs)("div",{className:nM.records,children:[(0,m.jsxs)("div",{className:nM.record,children:[(0,m.jsxs)("div",{className:nM.recordTitle,children:[(0,m.jsx)("img",{className:nM.recordHighIcon,src:"/resources/defaults/news_3.0/icons/weather/sbg-arrow-up.svg"}),V]}),(0,m.jsxs)("div",{className:f()(nM.recordValue,nM.recordHigh),children:[u,"\xb0 F"]}),(0,m.jsx)("div",{className:nM.recordYear,children:$})]}),(0,m.jsxs)("div",{className:nM.record,children:[(0,m.jsxs)("div",{className:nM.recordTitle,children:[(0,m.jsx)("img",{className:nM.recordLowIcon,src:"/resources/defaults/news_3.0/icons/weather/sbg-arrow-down.svg"}),X]}),(0,m.jsxs)("div",{className:f()(nM.recordValue,nM.recordLow),children:[p,"\xb0 F"]}),(0,m.jsx)("div",{className:nM.recordYear,children:q})]})]})]})]})})]})]})};var nG=r(41844);let nz="WeatherCurrent-module_CCHighLow__FVZG",nV="WeatherCurrent-module_CCInfoLabel__WF60",n$="WeatherCurrent-module_CCInfoDetails__FLTn",nX=({currentData:e,weeklyData:a})=>{let{iconCode:r,skyText:t,tempF:s,precipChance:i,wndSpdMph:l,wndDirCardinal:n,relHumidity:o}=e||{},[{hiTempF:d,loTempF:c,uvDescription:_}]=a,{newWeatherImgSrc:u}=(0,h.Hl)(),p=(0,nG.AN)(u),x=(0,h.Ck)(h.pt.PRECIPITATION),g=(0,h.Ck)(h.pt.WIND),y=(0,h.Ck)(h.pt.HUMIDITY),f=(0,h.Ck)(h.pt.UVINDEX);return(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCContainers__BAIQ",children:[(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCWeather__fz1g",children:[(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCIconText__wPhc",children:[(0,m.jsx)("img",{src:`/resources/defaults/${p}/icons/weather/wi-${r}.svg`}),(0,m.jsx)("br",{}),(0,m.jsx)("span",{className:"WeatherCurrent-module_CCSkyText__VXmb",children:t})]}),(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCTemp__Ru8e",children:[s,(0,m.jsx)("span",{className:"WeatherCurrent-module_CCDeg__TY_G",children:"\xb0"})]})]}),(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCData__VtaQ",children:[(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCHighLowWrapper__gdJS",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/weather/sbg-arrow-up.svg"})," ",(0,m.jsxs)("span",{className:nz,children:[d,"\xb0"," "]})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/weather/sbg-arrow-down.svg"})," ",(0,m.jsxs)("span",{className:nz,children:[c,"\xb0"]})]})]}),(0,m.jsxs)("div",{className:"WeatherCurrent-module_CCInfoWrapper__PJ3B",children:[(0,m.jsxs)("span",{className:nV,children:[x,":"]}),(0,m.jsxs)("span",{className:n$,children:[i," ","%"]}),(0,m.jsx)("br",{}),(0,m.jsxs)("span",{className:nV,children:[g,":"]}),(0,m.jsxs)("span",{className:n$,children:[l," ","mph",n]}),(0,m.jsx)("br",{}),(0,m.jsxs)("span",{className:nV,children:[y,":"]}),(0,m.jsxs)("span",{className:n$,children:[o,"%"]}),(0,m.jsx)("br",{}),(0,m.jsxs)("span",{className:nV,children:[f,":"]}),(0,m.jsx)("span",{className:n$,children:_})]})]})]})};nX.propTypes={city:ej().string,currentIcon:ej().string,forecastIcon:ej().string,modifiedHiTempF:ej().string,modifiedIconCode:ej().string,modifiedLoTempF:ej().string,modifiedPrecipChance:ej().string,modifiedSkyText:ej().string,origHiTempF:ej().string,origIconCode:ej().number,origLoTempF:ej().string,origPrecipChance:ej().string,origSkyText:ej().string,relHumidity:ej().string,
11state:ej().string,temperature:ej().string,uvDescr:ej().string,wndDirCardinal:ej().string,wndSpdMph:ej().string,zipcode:ej().string};let nq="TabViewWeather-module_WatchSidebarTab__ob8Q",nY="TabViewWeather-module_WatchSidebarHideTab__Zo31",nK="TabViewWeather-module_WatchSidebarContent__FZoK",nJ="TabViewWeather-module_WatchSidebarShow__Gi3Y",nZ="TabViewWeather-module_WatchSidebarHide__BhSA",nQ="TabViewWeather-module_WatchSidebarShowTab__tEuy",n0=({TabListOne:e,TabListTwo:a,activeTab:r})=>{let t="Tab1";r&&(t=r);let[s,i]=(0,_.useState)(t);return(0,m.jsxs)("div",{className:"TabViewWeather-module_WatchSidebar__pDL2",children:[function(e,a){let r=f()(nq,nQ),t=f()(nq,nY);"Tab2"===a&&(r=f()(nq,nY),t=f()(nq,nQ));let{languageHint:s}=(0,h.Hl)(),i=s?.slice(0,2)?.toLowerCase(),l=h.pt.SEVENDAYFORECAST,n=h.pt.HOURLY,o=l,d=n;return"es"===i&&(o=(0,h.Ck)(l),d=(0,h.Ck)(n)),(0,m.jsxs)("div",{className:"TabViewWeather-module_Tabs__wM69",children:[(0,m.jsx)("div",{className:r,children:(0,m.jsx)("button",{className:"whatsnew",onClick:()=>e("Tab1"),children:o})}),(0,m.jsx)("div",{className:t,children:(0,m.jsx)("button",{className:"schedule",onClick:()=>e("Tab2"),children:d})})]})}(e=>i(e),s),function(...e){let[a,r,t]=e,s=f()(nK,nJ),i=f()(nK,nZ);return"Tab2"===t&&(s=f()(nK,nZ),i=f()(nK,nJ)),(0,m.jsx)("div",{className:"Tab2"==t?i:s,children:"Tab2"==t?r:a})}(e,a,s)]})},n1=({hourlyForecasts:e})=>{let a=e.slice(0,10),{newWeatherImgSrc:r}=(0,h.Hl)(),t=(0,nG.AN)(r);return(0,m.jsx)("div",{className:"WeatherHourly-module_HourlyContainer__HroI",children:a.map((e,a)=>{var r;let s,i=(0,nG.bs)(e.iconCode);return(0,m.jsx)("div",{className:"WeatherHourly-module_HourContainer__aY3p",children:(0,m.jsx)("div",{className:"WeatherHourly-module_HourInner__W0Ke",children:(0,m.jsxs)("div",{className:"WeatherHourly-module_HourContainerFront__tDFK",children:[(0,m.jsx)("div",{className:"WeatherHourly-module_icon__wlop",children:(0,m.jsx)("img",{alt:e.skyLongText,src:`/resources/defaults/${t}/icons/weather/wi-${i}.svg`})}),(0,m.jsx)("span",{className:"WeatherHourly-module_text__F8jq",children:(r=e.hourNum,(s=new Date).setHours(s.getHours()+r),s.toLocaleString("en-US",{hour:"numeric",hour12:!0}))}),(0,m.jsxs)("span",{className:"WeatherHourly-module_highlow__G5or",children:[e.temp,"\xb0"]}),(0,m.jsxs)("div",{className:"WeatherHourly-module_precip__A5yc",children:[(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/weather/sbg-drop.svg"}),e.precipChance,"%"]})]})})},a)})})};n1.propTypes={hourlyForecasts:ej().arrayOf(ej().shape({hourNum:ej().string,iconCode:ej().string,precipChance:ej().string,skyLongText:ej().string,temp:ej().string}))},n1.defaultProps={hourlyForecasts:[]};let n2="WeatherDay-module_conditionsBackText__GTfh",n6="WeatherDay-module_conditionsHeader__xLHQ",n3="WeatherDay-module_conditionsData__DSyT",n4=({dayData:e})=>{let[a,r]=(0,_.useState)(!0),t=(0,eg.N)("(min-width: 768px)"),{newWeatherImgSrc:s}=(0,h.Hl)(),i=(0,nG.AN)(s),l=(0,h.Ck)(e.dayOfWeek),n=(0,h.Ck)(h.pt.WIND),o=(0,h.Ck)(h.pt.HUMIDITY),d=(0,h.Ck)(h.pt.UVINDEX),c=(0,nG.bs)(e.iconCode);return(0,m.jsx)("div",{className:"WeatherDay-module_DayContainer__hCx1",children:(0,m.jsxs)("div",{className:"WeatherDay-module_DayInner__ym81",children:[(0,m.jsxs)("div",{className:f()("WeatherDay-module_DayContainerFront__SnJ_",{"WeatherDay-module_FrontActive___kZ_":!a}),children:[(0,m.jsx)("div",{className:"WeatherDay-module_icon__w3Kl",children:(0,m.jsx)("img",{src:`/resources/defaults/${i}/icons/weather/wi-${c}.svg`})}),(0,m.jsx)("div",{className:"WeatherDay-module_text__fQr2",children:l}),(0,m.jsxs)("div",{className:"WeatherDay-module_highlow__PP3N",children:[e.hiTempF,"\xb0"," ",(0,m.jsxs)("span",{className:"WeatherDay-module_low__eNvQ",children:[e.loTempF,"\xb0"]})]}),(0,m.jsxs)("div",{className:"WeatherDay-module_precip__U9Iy",children:[(0,m.jsx)("img",{src:"/resources/defaults/news_3.0/icons/weather/sbg-drop.svg"}),e.precipChance,"%"]}),(0,m.jsx)("div",{className:"WeatherDay-module_open__RxGJ",onClick:()=>r(!a),children:(0,m.jsx)("img",{src:`/resources/defaults/news_3.0/icons/weather/sbg-chevron-${a?"down":"up"}.svg`})})]}),function(){if(t||!a)return(0,m.jsx)("div",{className:f()("WeatherDay-module_DayContainerBack__TsfJ","WeatherDay-module_BackActive__OuPc"),children:(0,m.jsxs)("div",{className:"WeatherDay-module_DayContainerBackWrapper__Pl0Z",children:[(0,m.jsx)("div",{className:"WeatherDay-module_conditionsBackSpacer__uAhn",children:"\xa0"}),(0,m.jsxs)("div",{className:"WeatherDay-module_conditionsBackContent__OWyx",children:[(0,m.jsx)("span",{className:n3,children:e.skyText}),(0,m.jsxs)("div",{className:n2,children:[(0,m.jsxs)("span",{className:n6,children:[n,":"]}),(0,m.jsxs)("span",{className:n3,children:[e.wndSpdMph," ","mph",e.wndDirCardinal]})]}),(0,m.jsxs)("div",{className:n2,children:[(0,m.jsxs)("span",{className:n6,children:[o,":"]}),(0,m.jsxs)("span",{className:n3,children:[e.relHumidity,"%"]})]}),(0,m.jsxs)("div",{className:n2,children:[(0,m.jsxs)("span",{className:n6,children:[d,":"]}),(0,m.jsx)("span",{className:n3,children:e.uvDescription})]})]})]})})}()]})})};n4.propTypes={dayData:ej().shape({dayOfWeek:ej().string,hiTempF:ej().string,iconCode:ej().number,loTempF:ej().string,precipChance:ej().string,relHumidity:ej().string,
11skyText:ej().string,uvDescription:ej().string,wndDirCardinal:ej().string,wndSpdMph:ej().string})},n4.defaultProps={dayData:{dayOfWeek:"Monday",hiTempF:"70",iconCode:78,loTempF:"50",precipChance:"3",relHumidity:"53",skyText:"Sunny",uvDescription:"Normal",wndDirCardinal:"NNE",wndSpdMph:"2"}};let n8=({weeklyData:e})=>{let a=e.slice(0,7);return(0,m.jsx)("div",{className:"WeatherWeek-module_WeekContainer__hkVI",children:a.map((e,a)=>(0,m.jsx)(n4,{dayData:e},a))})},n9=({weeklyData:e,hourlyForecasts:a})=>(0,m.jsx)(n0,{TabListOne:(0,m.jsx)(n8,{weeklyData:e}),TabListTwo:(0,m.jsx)(n1,{hourlyForecasts:a}),activeTab:"Tab1"});n9.propTypes={hourlyForecasts:ej().arrayOf(ej().shape({hourNum:ej().string,iconCode:ej().string,precipChance:ej().string,skyLongText:ej().string,temp:ej().string})),weeklyData:ej().arrayOf(ej().shape({high:ej().string,low:ej().string,origIconCode:ej().number,precip:ej().string,text:ej().string}))},n9.defaultProps={hourlyForecasts:[{}],weeklyData:[{}]};let n5={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"WeatherSearch-module_darkreader--fallback__Aizi","darkreader--text":"WeatherSearch-module_darkreader--text__f0YW","darkreader--invert":"WeatherSearch-module_darkreader--invert__axks","darkreader--inline":"WeatherSearch-module_darkreader--inline__J64E","darkreader--variables":"WeatherSearch-module_darkreader--variables__W1xl","darkreader--root-vars":"WeatherSearch-module_darkreader--root-vars__DLuq","darkreader--user-agent":"WeatherSearch-module_darkreader--user-agent__eNwn",SearchContainer:"WeatherSearch-module_SearchContainer__sjef",SearchText:"WeatherSearch-module_SearchText__x8zP",error:"WeatherSearch-module_error__JNQE",SearchSubtext:"WeatherSearch-module_SearchSubtext__q8pT",SearchInner:"WeatherSearch-module_SearchInner__t0VP",SearchFront:"WeatherSearch-module_SearchFront__zrVI",SearchBack:"WeatherSearch-module_SearchBack__ql0g"},n7=({newZip:e,weatherLocation:a,searchSubtext:r,searchError:t})=>{let s=(0,_.useRef)(null);async function i(a){let r=await e(a);r.length>0&&(s.current.value=`${r} - ${a}`)}return(0,m.jsx)("div",{className:n5.SearchContainer,children:(0,m.jsx)("div",{className:n5.SearchInner,children:(0,m.jsx)("div",{className:n5.SearchBack,children:(0,m.jsx)("div",{className:n5.SearchText,children:(0,m.jsxs)("form",{onFocus:e=>{"function"==typeof e.target.select&&e.target.select()},onSubmit:async e=>{e.preventDefault(),await i(s.current.value)},children:[(0,m.jsx)("input",{className:t?n5.error:"",id:"weatherSelect",name:"weatherSelect",placeholder:a,ref:s,size:"20",type:"text"}),(0,m.jsx)("button",{className:n5.SearchIcon,type:"submit",children:(0,m.jsx)("img",{src:"https://sinclairstoryline.com/resources/defaults/news_3.0/icons/weather/sbg-search-icon.png"})}),t.trim().length>0?(0,m.jsxs)("div",{className:n5.SearchSubtext,children:[r,":",(0,m.jsx)("i",{children:t})]}):(0,m.jsx)("div",{className:n5.SearchSubtext,children:r})]})})})})})};n7.propTypes={newZip:ej().func.isRequired,searchError:ej().string,searchSubtext:ej().string.isRequired,weatherLocation:ej().string.isRequired},n7.defaultProps={newZip:()=>{},searchError:"",searchSubtext:"Change Location",weatherLocation:"Seattle, WA"};var oe=r(92081);let oa="WeatherSearchAutocomplete-module_searchInput__nGVL",or=(e,a)=>{e([]),a(null)},ot=(e,a)=>{e([]),a("No results found.")},os=async(e,a)=>{let r;try{r=await fetch(e,(0,rm.y)(a))}catch{throw Error("Network failure or invalid URL.")}if(!r.ok)throw Error(`HTTP error! status: ${r.status}`);try{return await r.json()}catch{throw Error("Invalid JSON in response.")}},oi=async(e,a,r,t,s,i,l)=>{if(e.length<r)return void or(s,i);if(t[e]){s(t[e]),i(null);return}let n={headers:{Origin:window.location.origin.includes("local-sinclairstoryline")?"https://komonews.com":window.location.origin},method:"GET"},o=`${a}?text=${e}&limit=15`;try{let a=(await os(o,n)).results||[];if(0===a.length)ot(s,i);else s(a),i(null),l(r=>({...r,[e]:a&&a.length>0?a:null}))}catch(e){console.error("Error fetching city suggestions:",e),ot(s,i)}},ol=async(e,a,r,t)=>{let s=e.trim();if(!/^\d{5}$/.test(s.trim())){or(r,t),s.length>=5&&t("No results found.");return}try{let e=await a(s);e?(r([e]),t(null)):ot(r,t)}catch(e){console.error("Error fetching city data:",e)}},on=({weatherLocation:e,minLengthAutocomplete:a,selectSuggestion:r,suggestions:t,setSuggestions:s,googleApiError:i,setGoogleApiError:l,getCityDataFromZip:n,handleSearchButtonPress:o,inputRef:d,inputValue:c,setInputValue:u})=>{let[h,p]=(0,_.useState)({}),[x,g]=(0,_.useState)(oa),[y,v]=(0,_.useState)(""),[j,b]=(0,_.useState)(!1),k=(0,_.useRef)(null);return(0,_.useEffect)(()=>{/^\d+$/.test(c.trim())&&0!==c.length?ol(c,n,s,l).then(()=>{}):oi(c,y,a,h,s,l,p).then(()=>{})},[c]),(0,_.useEffect)(()=>{let e={INT:"mobileapi.int-sinclairstoryline",LOCAL:"mobileapi.int-sinclairstoryline",QA:"mobileapi.qa-sinclairstoryline"}[(0,oe.he)()]||"mobileapi.sinclairstoryline";v(`https://${e}
11.com/autocomplete`)},[]),(0,_.useEffect)(()=>{g(oa),j&&!i?g(f()(oa,"WeatherSearchAutocomplete-module_inputFocused__s3rq")):i&&g(f()(oa,"WeatherSearchAutocomplete-module_noResultsFound__RR8N"))}),(0,m.jsxs)("div",{onClick:e=>e.stopPropagation(),children:[(0,m.jsx)("input",{autoComplete:"nofill",className:x,onBlur:()=>b(!1),onChange:e=>u(e.target.value),onFocus:()=>b(!0),onKeyDown:e=>{"Enter"===e.key&&o()},placeholder:e,ref:d||k,size:"20",type:"text",value:c}),t.length>0&&(0,m.jsx)("div",{className:"WeatherSearchAutocomplete-module_resultsWrapper__rnIi",children:t.map(e=>(0,m.jsx)("div",{className:"WeatherSearchAutocomplete-module_suggestionWrapper__ZO5B",onClick:()=>r(e),children:(0,m.jsx)("p",{className:"WeatherSearchAutocomplete-module_suggestionText__QIvM",children:e.title})},e.title))})]})};on.propTypes={getCityDataFromZip:ej().func.isRequired,googleApiError:ej().string,handleSearchButtonPress:ej().func.isRequired,inputRef:ej().oneOfType([ej().func,ej().shape({current:ej().any})]),inputValue:ej().string.isRequired,minLengthAutocomplete:ej().number,selectSuggestion:ej().func.isRequired,setGoogleApiError:ej().func.isRequired,setInputValue:ej().func.isRequired,setSuggestions:ej().func.isRequired,suggestions:ej().array.isRequired,weatherLocation:ej().string},on.defaultProps={minLengthAutocomplete:2,weatherLocation:"Seattle, WA"};let oo={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"WeatherSearch-module_darkreader--fallback___Z2D","darkreader--text":"WeatherSearch-module_darkreader--text__lMlT","darkreader--invert":"WeatherSearch-module_darkreader--invert__emes","darkreader--inline":"WeatherSearch-module_darkreader--inline__wxho","darkreader--variables":"WeatherSearch-module_darkreader--variables__grym","darkreader--root-vars":"WeatherSearch-module_darkreader--root-vars__Rxqx","darkreader--user-agent":"WeatherSearch-module_darkreader--user-agent__L_PV",SearchContainer:"WeatherSearch-module_SearchContainer__ThQV",DropDown:"WeatherSearch-module_DropDown__vWPI",DropDownArrow:"WeatherSearch-module_DropDownArrow__TF2y",SubscribeDrop:"WeatherSearch-module_SubscribeDrop__mwQ2",SubscribeArrow:"WeatherSearch-module_SubscribeArrow__wyn7",ShowDropDown:"WeatherSearch-module_ShowDropDown__gkpM",DropDownWrapper:"WeatherSearch-module_DropDownWrapper__NhJy",DropDownBlock:"WeatherSearch-module_DropDownBlock__UVqG",SearchText:"WeatherSearch-module_SearchText__SHhR",error:"WeatherSearch-module_error__VxlB",SearchSubtext:"WeatherSearch-module_SearchSubtext__FcWE",SearchInner:"WeatherSearch-module_SearchInner__icTk",SearchFront:"WeatherSearch-module_SearchFront__l7qq",SearchBack:"WeatherSearch-module_SearchBack__qiO7",SearchInput:"WeatherSearch-module_SearchInput__OODK",Cursor:"WeatherSearch-module_Cursor__uasF",SearchError:"WeatherSearch-module_SearchError__Z39P",NavigatorText:"WeatherSearch-module_NavigatorText__rmby",LocationIcon:"WeatherSearch-module_LocationIcon__c2EJ",AutoCompleteResults:"WeatherSearch-module_AutoCompleteResults__eecx",AutoCompleteSuggestion:"WeatherSearch-module_AutoCompleteSuggestion__fAzT",AutoCompleteSuggestionActive:"WeatherSearch-module_AutoCompleteSuggestionActive__YlFs"};function od(e,a=""){let r={event:`weather_page_${e}`};"submit"===e?r.weather_page_search_text=a:r.weather_page_element="search button",globalThis.dataLayer.push(r)}let oc=({newZip:e,weatherLocation:a,searchSubtext:r,searchError:t="",getCityDataFromZip:s})=>{let[i,l]=(0,_.useState)(null),[n,o]=(0,_.useState)(!1),[d,c]=(0,_.useState)([]),u=(0,_.useRef)(null),[p,x]=(0,_.useState)(""),g=t.trim(),y=i||g,{languageHint:v}=(0,h.Hl)(),j=v?.slice(0,2)?.toLowerCase(),b=h.pt.noResultsFound;"es"===j&&(b=(0,h.Ck)(h.pt.noResultsFound)),(0,_.useEffect)(()=>{window.addEventListener("click",e=>{n&&!document.querySelector(`.${oo.SearchBack}`).contains(e.target)&&(x(""),l(null),o(!1))},{passive:!0})},[n,i]);let k=a=>{e(a.zip,!0),o(!1),c([]),x(""),od("submit",a.title)},N=()=>{d&&d.length>0?k(d[0]):l(b)};return(0,m.jsx)("div",{className:f()(oo.SearchContainer,{[oo.ShowDropDown]:n}),"data-testid":"weather-search-by-city",onClick:()=>{x(""),o(!n),u.current.focus(),od("click")}
11,children:(0,m.jsx)("div",{className:oo.SearchInner,children:(0,m.jsx)("div",{className:oo.SearchBack,children:(0,m.jsxs)("div",{className:oo.SearchText,children:[a," ",(0,m.jsx)(nl,{className:oo.LocationIcon}),(0,m.jsx)("span",{className:oo.DropDownArrow}),(0,m.jsxs)("div",{className:oo.DropDownWrapper,children:[(0,m.jsx)("div",{className:oo.DropDown,children:(0,m.jsxs)("div",{className:oo.DropDownBlock,children:[(0,m.jsx)(on,{getCityDataFromZip:s,googleApiError:i,handleSearchButtonPress:N,inputRef:u,inputValue:p,minLengthAutocomplete:2,selectSuggestion:k,setGoogleApiError:l,setInputValue:x,setSuggestions:c,suggestions:d,weatherLocation:a}),y.length>0?(0,m.jsxs)("div",{className:oo.SearchError,children:[" ",y," "]}):"",(0,m.jsx)("button",{className:oo.SearchIcon,onClick:e=>{e.stopPropagation(),N(),x(""),o(!n),u.current.focus()},type:"submit",children:(0,m.jsx)(rM,{})})]})}),(0,m.jsx)("div",{className:oo.SearchSubtext,id:"SearchSubtext",children:r})]})]})})})})};oc.propTypes={newZip:ej().func.isRequired,searchError:ej().string,searchSubtext:ej().string.isRequired,weatherLocation:ej().string.isRequired};let om=e=>null!=e,o_={dayOfWeek:{modifiedKey:null,originalKey:"dayOfWeek",validator:()=>!1},hiTempF:{modifiedKey:"modifiedHiTempF",originalKey:"origHiTempF",validator:om},iconCode:{modifiedKey:"modifiedIconCode",originalKey:"origIconCode",validator:om},loTempF:{modifiedKey:"modifiedLoTempF",originalKey:"origLoTempF",validator:om},precipChance:{modifiedKey:"modifiedPrecipChance",originalKey:"origPrecipChance",validator:om},relHumidity:{modifiedKey:"modifiedRelativeHumidity",originalKey:"relHumidity",validator:om},skyText:{modifiedKey:"modifiedSkyText",originalKey:"origSkyText",validator:om},uvDescription:{modifiedKey:"modifiedUvDescription",originalKey:"uvDescr",validator:om},wndDirCardinal:{modifiedKey:"modifiedWindDirectionCardinal",originalKey:"wndDirCardinal",validator:om},wndSpdMph:{modifiedKey:"modifiedWindSpeedMph",originalKey:"wndSpdMph",validator:om}},ou=e=>{let a={};for(let r of Object.keys(o_)){let{originalKey:t,modifiedKey:s,validator:i}=o_[r];void 0!==e[t]&&(a[r]=i(e[s])?e[s]:e[t])}return a},oh=e=>{let a=[];for(let r=0,t=e.length;r<t;r++)a.push(ou(e[r]));return a},op={101:{color:"",desc:"Thunderstorms",time:"night"},102:{color:"#0d175a",desc:"Mostly Sunny",time:"night"},103:{color:"#191e35",desc:"Cloudy",time:"night"},104:{color:"",desc:"Fog",time:"night"},105:{color:"",desc:"Drizzle",time:"night"},106:{color:"#495253",desc:"Rain Showers",time:"night"},107:{color:"",desc:"Rain",time:"night"},108:{color:"",desc:"Flurries",time:"night"},109:{color:"",desc:"Snow",time:"night"},110:{color:"",desc:"Sleet",time:"night"},111:{color:"",desc:"Freezing Drizzle",time:"night"},112:{color:"",desc:"Rain/Ice",time:"night"},114:{color:"",desc:"Snow Showers",time:"night"},116:{color:"",desc:"Storms",time:"night"},65:{color:"#4269b6",desc:"Mostly Sunny",time:"day"},66:{color:"#435a91",desc:"Partly Cloudy",time:"day"},67:{color:"#717795",desc:"Cloudy",time:"day"},69:{color:"#47639c",desc:"Mostly Cloudy",time:"day"},70:{color:"#a2a5a7",desc:"Fog",time:"day"},72:{color:"#535b6a",desc:"Haze",time:"day"},74:{color:"#677fb5",desc:"Snow Showers",time:"day"},75:{color:"#535b6a",desc:"Smoke",time:"day"},76:{color:"#627b8c",desc:"Drizzle",time:"day"},77:{color:"#6a7da7",desc:"Flurries",time:"day"},78:{color:"",desc:"Windy",time:"night"},79:{color:"",desc:"Rain/Snow Mix",time:"night"},80:{color:"",desc:"Blizzard",time:"night"},82:{color:"#546261",desc:"Rain",time:"day"},83:{color:"#677fb5",desc:"Snow",time:"day"},84:{color:"#353f5b",desc:"Storms",time:"day"},85:{color:"#4269b6",desc:"Sunny",time:"day"},87:{color:"#495253",desc:"Rain Showers",time:"day"},88:{color:"#455963",desc:"Sleet",time:"day"},89:{color:"#3f5465",desc:"Rain/Ice",time:"day"},90:{color:"#46566b",desc:"Freezing Drizzle",time:"day"},95:{color:"#353f5b",desc:"Thunderstorms",time:"day"},96:{color:"",desc:"Scattered Thunderstorms",time:"night"},97:{color:"#0d175a",desc:"Sunny",time:"night"},98:{color:"#111e52",desc:"Partly Cloudy",time:"night"},99:{color:"#080d27",desc:"Mostly Cloudy",time:"night"}},ox={0:{color:"#24252d",desc:"Tornado",time:""},1:{color:"#383a46",desc:"Tropical Storm",time:"day"},10:{color:"#0F1418",desc:"Freezing Rain",time:"day"},11:{color:"#3a4a5a",desc:"Showers",time:"day"},12:{color:"#121616",desc:"Rain",time:"day"},13:{color:"#3e5f87",desc:"Flurries",time:"day"},14:{color:"#35577a",desc:"Snow Showers",time:"day"},15:{color:"#22384e",desc:"Blowing / Drifting Snow",time:"day"},16:{color:"#2c4865",desc:"Snow",time:"day"},17:{color:"#23566c",desc:"Hail",time:"day"},18:{color:"#455963",desc:"Sleet",time:"day"},19:{color:"#534b44",desc:"Blowing Dust / Sandstorm",time:"day"},2:{color:"#162432",desc:"Hurricane",time:"day"},20:{color:"#a2a5a7",desc:"Foggy",time:"day"},21:{color:"#535a6a",desc:"Haze",time:"day"},22:{color:"#535a6a",desc:"Smoke",time:"day"},23:{color:"#3f5478",desc:"Breezy",time:"day"},24:{color:"#3f5478",desc:"Windy",time:"day"},25:{color:"#385d82",desc:"Frigid / Ice Crystals",time:"day"},26:{color:"#717795",desc:"Cloudy",time:"day"}
11,27:{color:"#080d27",desc:"Mostly Cloudy",time:"night"},28:{color:"#47639c",desc:"Mostly Cloudy",time:"day"},29:{color:"#111e52",desc:"Partly Cloudy",time:"night"},3:{color:"#384057",desc:"Strong Storms",time:"day"},30:{color:"#435a91",desc:"Partly Cloudy",time:"day"},31:{color:"#0d175a",desc:"Clear",time:"night"},32:{color:"#4269b6",desc:"Sunny",time:"day"},33:{color:"#0d175a",desc:"Fair / Mostly Clear",time:"night"},34:{color:"#4269b6",desc:"Fair / Mostly Sunny",time:"day"},35:{color:"#314554",desc:"Mixed Rain and Hail",time:"day"},36:{color:"#3b83bf",desc:"Hot",time:"day"},37:{color:"#384057",desc:"Isolated Thunderstorms",time:"day"},38:{color:"#384057",desc:"Scattered Thunderstorms",time:"day"},39:{color:"#2f4d6c",desc:"Scattered Showers",time:"day"},4:{color:"#384057",desc:"Thunderstorms",time:"day"},40:{color:"#2f5b75",desc:"Heavy Rain",time:"day"},41:{color:"#345679",desc:"Scattered Snow Showers",time:"day"},42:{color:"#36557f",desc:"Heavy Snow",time:"day"},43:{color:"#36557f",desc:"Blizzard",time:"day"},44:{color:"#617995",desc:"Not Available",time:""},45:{color:"#2f4d6c",desc:"Scattered Showers",time:"night"},46:{color:"#345679",desc:"Scattered Snow Showers",time:"night"},47:{color:"#191e35",desc:"Scattered Thunderstorms",time:"night"},5:{color:"#2F506F",desc:"Rain / Snow",time:"day"},6:{color:"#2C4967",desc:"Rain / Sleet",time:"day"},7:{color:"#35577A",desc:"Wintry Mix",time:"day"},8:{color:"#262626",desc:"Freezing Drizzle",time:"day"},9:{color:"#273A49",desc:"Drizzle",time:"day"}},og={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"WeatherHero-module_darkreader--fallback__YsYM","darkreader--text":"WeatherHero-module_darkreader--text__gmZc","darkreader--invert":"WeatherHero-module_darkreader--invert__G0QS","darkreader--inline":"WeatherHero-module_darkreader--inline__LRsu","darkreader--variables":"WeatherHero-module_darkreader--variables__gzq3","darkreader--root-vars":"WeatherHero-module_darkreader--root-vars__XNFQ","darkreader--user-agent":"WeatherHero-module_darkreader--user-agent__ZuYe",WeatherHeroWrapper:"WeatherHero-module_WeatherHeroWrapper___Enp",WeatherHeroBackground:"WeatherHero-module_WeatherHeroBackground__wxb9",WeatherHeroContainer:"WeatherHero-module_WeatherHeroContainer__SBm2",WeatherHeroBox:"WeatherHero-module_WeatherHeroBox__idrZ",WeatherCurrent:"WeatherHero-module_WeatherCurrent__r4U9",WeatherSearchByCity:"WeatherHero-module_WeatherSearchByCity__rKgw",WeatherSearch:"WeatherHero-module_WeatherSearch__Y0oc",WeatherWeeklyBox:"WeatherHero-module_WeatherWeeklyBox__HsjL"},oy=({iconBackground:e,newZip:a,searchSubtext:r,searchError:t,weatherLocation:s,currentData:i,forecastData:l,hourlyForecasts:n,searchByCity:o,getCityDataFromZip:d})=>{let c=(0,eg.N)("(max-width: 1023px)"),{newWeatherImgSrc:_}=(0,h.Hl)(),u=(0,nG.j_)(_,e,c),p=!0;(0,eg.N)("(min-width: 768px)")&&(p=!1);let x=(0,h.Ck)(h.pt.changeLocation),g=(0,h.Ck)(r),y=(0,h.Ck)(t);return(0,m.jsx)("div",{className:og.WeatherHeroWrapper,children:(a=>
11{if(p){let r={backgroundColor:(e=>{let{newWeatherImgSrc:a}=(0,h.Hl)(),r={color:"#717795",desc:"",time:""};if(a){if(void 0!==ox[e]){let{desc:a,time:t,color:s}=ox[e];a.length>0&&(r.desc=a),t.length>0&&(r.time=t),s.length>0&&(r.color=s)}}else if(void 0!==op[e]){let{desc:a,time:t,color:s}=op[e];a.length>0&&(r.desc=a),t.length>0&&(r.time=t),s.length>0&&(r.color=s)}return r})(e).color,backgroundImage:`url(${u})`,backgroundRepeat:"no-repeat",backgroundSize:"100%"};return(0,m.jsx)("div",{style:r,children:a})}return(0,m.jsx)(st.Parallax,{bgClassName:og.parallaxBackground,bgImage:u,className:og.WeatherParallax,strength:500,children:a})})((0,m.jsx)("div",{className:og.WeatherHeroBackground,children:(0,m.jsxs)("div",{className:og.WeatherHeroContainer,children:[(0,m.jsxs)("div",{className:og.WeatherHeroBox,children:[(0,m.jsx)("div",{className:og.WeatherCurrent,children:(0,m.jsx)(nX,{currentData:i,weeklyData:oh(l)})}),o?(0,m.jsx)("div",{className:og.WeatherSearchByCity,children:(0,m.jsx)(oc,{getCityDataFromZip:d,newZip:a,searchError:y,searchSubtext:x,weatherLocation:s})}):null,!o&&(0,m.jsx)("div",{className:og.WeatherSearch,children:(0,m.jsx)(n7,{newZip:a,searchError:y,searchSubtext:g,weatherLocation:s})})]}),(0,m.jsx)("div",{className:og.WeatherWeeklyBox,children:(0,m.jsx)(n9,{hourlyForecasts:n,weeklyData:oh(l)})})]})}))})};oy.propTypes={currentData:ej().object,forecastData:ej().arrayOf(ej().shape({high:ej().string,low:ej().string,origIconCode:ej().number,precip:ej().string,text:ej().string})),hourlyForecasts:ej().arrayOf(ej().shape({hourNum:ej().string,iconCode:ej().string,precipChance:ej().string,skyLongText:ej().string,temp:ej().string})),iconBackground:ej().string.isRequired,newZip:ej().func,searchByCity:ej().bool,searchError:ej().string,searchSubtext:ej().string,weatherLocation:ej().string},oy.defaultProps={cityStateName:"Seattle, WA",currentData:{},forecastData:[{}],hourlyForecasts:[{}],iconBackground:"",newZip:()=>!0,searchByCity:!1,searchError:"",searchSubtext:"",weatherLocation:"",zipCode:"98101"};var of=r(6594);let ov={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__olbF","darkreader--text":"index-module_darkreader--text__u2wu","darkreader--invert":"index-module_darkreader--invert__y5wq","darkreader--inline":"index-module_darkreader--inline__EK3J","darkreader--variables":"index-module_darkreader--variables__IESC","darkreader--root-vars":"index-module_darkreader--root-vars__W5we","darkreader--user-agent":"index-module_darkreader--user-agent__hiCr",container:"index-module_container__aHWg",WeatherContainer:"index-module_WeatherContainer___Xu2",fullWidth:"index-module_fullWidth__jPA4",TaboolaPanel:"index-module_TaboolaPanel__idvw",adBeforeContent:"index-module_adBeforeContent__GGPO",InteractiveRadar:"index-module_InteractiveRadar__EnPF",HalfPanel:"index-module_HalfPanel__fgyn",HalfPanelTitle:"index-module_HalfPanelTitle___MbX",HalfPanelLeft:"index-module_HalfPanelLeft__flKr",HalfPanelFull:"index-module_HalfPanelFull__xSDt",TwoColumnGrid:"index-module_TwoColumnGrid____cN",midPageAd:"index-module_midPageAd__NjXS",rightRailTopAdFallback:"index-module_rightRailTopAdFallback__Y4Rj",rightRailBottomAdFallback:"index-module_rightRailBottomAdFallback__QctD",midPageAdFallback:"index-module_midPageAdFallback__tQ2l",adBeforeContentFallback:"index-module_adBeforeContentFallback__KXo1",WeatherHeroBackground:"index-module_WeatherHeroBackground__TLWr",WeatherHeroContainer:"index-module_WeatherHeroContainer__kJVe",TodaysWeather:"index-module_TodaysWeather__ylDy",index_LeftInner:"index-module_index_LeftInner__s6ID",TwoColumn_columnOne:"index-module_TwoColumn_columnOne__CCGH",index_right:"index-module_index_right__KXKx",WeatherTeaser:"index-module_WeatherTeaser__lpCF",WeatherBottom:"index-module_WeatherBottom__jyY9",mainChildrenContainer:"index-module_mainChildrenContainer__Ghcs",SectionSingleColumnTeaserList:"index-module_SectionSingleColumnTeaserList__P8rg",twitterWeather:"index-module_twitterWeather__gTaG"};r(22604);let oj=(e,a)=>`${e}, ${a}`,ob=async(e,a,{getWeatherDataFn:r,setNewWeatherDataFn:t,setCityStateNameFn:s,setNewCoordinatesFn:i,setNewRichTextFn:l,setNewSearchSubtextFn:n,setNewSearchErrorFn:o},d)=>{let c,m="",_=(c={error:of.n.ERROR.DEFAULT,subText:of.n.SUBTEXT.DEFAULT,valid:!1},/^\d+$/.test(a)?a.length>5?c.error=of.n.ERROR.TOO_MANY_NUMBERS:a.length<5?c.error=of.n.ERROR.NOT_ENOUGH_NUMBERS:c.valid=!0:c.error=of.n.ERROR.INVALID_ZIP,c);if(_.valid){let[e,c]=await (0,nG.vx)(r,a,"Weather Hero Widget",!0,d);e.success&&(m=oj(c.data.data[0].forecast.city,c.data.data[0].forecast.stateAbbreviation),t(c.data.data[0].forecast),s(m),i([c.data.data[0].forecast.latitude,c.data.data[0].forecast.longitude]),l(c.data.data[0].richText)),n(e.subText),o(e.error)}else n(_.subText),o(_.error),iV.Ay.trackEvent("Weather Hero Widget",`Error ${d?"Search by City":""}`,"Invalid Entry",null,{name:"dimension6",value:"weather"});return m},ok=e=>{iV.Ay.trackEvent("Storyline Video Events",e.type,"Weather Video")},oN=e=>
11{let{facade:a}=e,{searchByCity:r,languageHint:t}=(0,h.Hl)(),s=(0,eg.N)("(max-width: 767px)"),i="weather",l=(0,h.z0)("rendering.site.url"),n=(0,h.z0)("rendering.site.siteSlug"),[o,d]=(0,_.useState)((0,h.z0)("content.weather.forecast")),c=oj(o.city,o.stateAbbreviation),[u,p]=(0,_.useState)(c),[x,g]=(0,_.useState)([o.latitude,o.longitude]),[y,b]=(0,_.useState)((0,h.z0)("content.weather.richText")),[k,N]=(0,_.useState)(of.n.SUBTEXT.DEFAULT),[S,C]=(0,_.useState)(of.n.ERROR.DEFAULT),w=nP.A.getWeatherData,T=t?.slice(0,2)?.toLowerCase(),{ffWeatherRadarApiEnabled:A}=(0,em.h)(),I=h.pt.helpfulWeatherLinks,L=h.pt.interactiveRadar,R=h.pt.latestWeathercast,D=h.pt.weatherCameras,W=h.pt.weatherMaps;"es"===T&&(I=(0,h.Ck)(h.pt.helpfulWeatherLinks),L=(0,h.Ck)(h.pt.interactiveRadar),R=(0,h.Ck)(h.pt.latestWeathercast),D=(0,h.Ck)(h.pt.weatherCameras),W=(0,h.Ck)(h.pt.weatherMaps));let P=async e=>await ob(l,e,{getWeatherDataFn:w,setCityStateNameFn:p,setNewCoordinatesFn:g,setNewRichTextFn:b,setNewSearchErrorFn:C,setNewSearchSubtextFn:N,setNewWeatherDataFn:d},r);(0,_.useEffect)(()=>{P((0,h.z0)("rendering.site.zipcode")).then(()=>{})},[]);let H=o?.current?.iconCode||"",F=(0,h.z0)("content.weather.video.video"),U=rf.ky.formatVideoPayloadWithAds([F],{},{injectionKey:1}),E=(0,h.z0)("presentation.componentInstances")||{},M=E["helpful-links"]?.settings?.data?.links||[],O={analytics:!0,config:{advertising:q.A.getAdvertising(!0,!1,!1,null),autostart:!1,controls:!0,displaytitle:!1,mute:!1,nextUpDisplay:!1,preload:"auto",primary:"html5",repeat:!1,skin:{name:"weather"}}},G=async e=>{try{let a=await w(e);return{title:oj(a.data.data[0].forecast.city,a.data.data[0].forecast.stateAbbreviation),zip:a.data.data[0].forecast.zipCode}}catch(e){console.error(e)}},z=(0,h.z0)("content.weather.galleries")||[],V=(e=>{let[a]=e,r=a?.cams?{name:D,url:"/weather/cameras"}:{name:W,url:"/weather/maps"},t={data:{moreUrl:r.url},listSize:"3",title:r.name};return t.teasers=a?.images?.map(e=>({[nP.A.weatherImageUrl]:encodeURI(e.url),title:e.name,url:r.url})),t})(z.filter(e=>e.cams)),$=((e,a)=>{let r=e.filter(e=>{if("Weather Cams"!==e.name&&e.images)return e.images.some(e=>e.url.includes("/maps/"))}),t={data:{moreUrl:"/weather/maps"},listSize:"3",title:a};for(let e of(t.teasers=[],r))if(e.images)for(let a of e.images)t.teasers.push({[nP.A.weatherImageUrl]:encodeURI(a.url),title:a.name,url:"/weather/maps"});return t})(z,W),[{sunrise:X,sunset:Y,phraseDay:K,phraseNight:J}]=o.weatherForecasts,{recordHighTemperatureF:Z="N/A",recordHighTemperatureC:Q="N/A",recordLowTemperatureF:ee="N/A",recordLowTemperatureC:ea="N/A",recordHighTemperatureDate:et="N/A",recordLowTemperatureDate:es="N/A"}=o.historicAverages||{},ei=!F&&ov.HalfPanelFull;return(0,m.jsxs)("div",{className:ov.container,id:"WeatherContainer",children:[(0,m.jsx)(oy,{cityStateName:u,currentData:o.current,forecastData:o.weatherForecasts,getCityDataFromZip:G,hourlyForecasts:o.hourlyForecasts,iconBackground:H,newZip:P,searchByCity:r,searchError:S,searchSubtext:k,weatherLocation:c}),(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:ov.adBeforeContent,children:(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:ov.adBeforeContentFallback}),showOn:["xs","s","m","l","xl"],children:(0,m.jsx)(v.X,{adName:"banner_pos1",pageType:i})})}),(0,m.jsxs)(nE.A,{children:[(0,m.jsx)("div",{children:(0,m.jsx)("div",{className:ov.mainChildrenContainer,children:(0,m.jsxs)("div",{children:[(0,m.jsxs)("div",{className:ov.TwoColumnGrid,children:[(0,m.jsxs)("div",{className:f()(ov.HalfPanel,ov.HalfPanelLeft,ei),children:[(0,m.jsx)("div",{className:ov.HalfPanelTitle,children:L}),A?(0,m.jsx)(nF.A,{siteUrl:n}):(0,m.jsx)(nH.A,{coordinates:x,radarKey:"0_radar",siteUrl:n,standalone:"true"})]}),F?(0,m.jsxs)("div",{className:ov.HalfPanel,children:[(0,m.jsx)("div",{className:ov.HalfPanelTitle,children:R}),(0,m.jsx)(eM.A,{enableGA:!0,gaEventHandler:ok,gaPlayerEvents:["play","pause","complete"],playerSettings:O,playlist:U})]}):null]}),(0,m.jsx)("div",{children:(0,m.jsx)(j.A,{className:ov.TodaysWeather,type:"latestForecast",children:(0,m.jsx)(nO,{cityStateName:u,isMobile:s,phraseDay:K,phraseNight:J,recordHighTemperatureC:Q,recordHighTemperatureDate:et,recordHighTemperatureF:Z,recordLowTemperatureC:ea,recordLowTemperatureDate:es,recordLowTemperatureF:ee,sunrise:X,sunset:Y,todaysUpdate:y})})})]})})}),(0,m.jsxs)("div",{children:[(0,m.jsx)(j.A,{children:(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:ov.rightRailTopAdFallback}),showOn:["m","l","xl"],children:(0,m.jsx)(v.X,{adName:"rightrail_pos1",adType:"Display",pageType:i})})}),(0,m.jsx)(j.A,{children:(0,m.jsx)(nU.A,{dataObject:M,title:I})}),(0,m.jsx)(j.A,{children:(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:ov.rightRailBottomAdFallback}),showOn:["m","l","xl"],children:(0,m.jsx)(v.X,{adName:"rightrail_pos2",adType:"Display",pageType:i})})})]})]}),(0,m.jsx)("div",{className:ov.midPageAd,children:(0,m.jsx)(B.A,{fallback:(0,m.jsx)("div",{className:ov.midPageAdFallback}),showOn:["xs","s","m","l","xl"],children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:i})})}),(0,m.jsx)(ec.A,{children:(0,m.jsxs)("div",{className:ov.fullWidth,children:[(V?.teasers??[]).length>0&&(0,m.jsx)(ef.A,{componentId:"js-Cams-Container",data:V,disableSecondaryList:!0,mobileLayout:"wide",showMore:!0,teaserNum:3,weatherMobileWidePadding:!0,weatherSeeMorePadding:!0}),($?.teasers??[]).length>0&&(0,m.jsx)(ef.A,{componentId:"js-Maps-Container",data:$,disableSecondaryList:!0,mobileLayout:"wide",showMore:!0,teaserNum:3,weatherMobileWidePadding:!0,weatherSeeMorePadding:!0})]})}),(0,m.jsx)("div",{className:ov.TaboolaPanel,children:(0,m.jsx)(er.A,{infiniteTaboola:!0,reportHeight
11Change:"",storyIndex:"0",uuid:"0"})})]}),(0,m.jsx)("div",{className:ov.WeatherBottom,children:(0,m.jsx)("div",{className:ov.WeatherFooterWrapper,id:"WeatherFooterWrapper",children:(0,m.jsx)(l1.A,{...a,componentId:"js-PageFooter-Container"})})})]})},oS=(0,aG.y$)(lG,(0,az.tY)((0,aG.Tw)(aO.A))),oC=e=>(0,m.jsx)(e0.Kq,{store:oS,children:(0,m.jsx)(oN,{...e})}),ow=e=>(0,m.jsxs)(E.A,{...e,skin:"weather",children:[(0,m.jsx)(lk.A,{...e.facade,...e,userMetaData:e.userInfo}),(0,m.jsx)(lb.A,{}),(0,m.jsx)(oC,{...e})]});var oT=r(34906),oA=r.n(oT),oI=r(775),oL=r(70425),oR=r(24448),oD=r(48464),oW=r(68759);let oP={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"ExpandedAlert-module_darkreader--fallback__YjIQ","darkreader--text":"ExpandedAlert-module_darkreader--text__NNkG","darkreader--invert":"ExpandedAlert-module_darkreader--invert__zppz","darkreader--inline":"ExpandedAlert-module_darkreader--inline__6o1U","darkreader--variables":"ExpandedAlert-module_darkreader--variables__weK2","darkreader--root-vars":"ExpandedAlert-module_darkreader--root-vars__w1us","darkreader--user-agent":"ExpandedAlert-module_darkreader--user-agent__qbV9",expandedAlertContainer:"ExpandedAlert-module_expandedAlertContainer__kEPf",radarMap:"ExpandedAlert-module_radarMap__Ftg8",alertImg:"ExpandedAlert-module_alertImg__ZLWW",expandedAlertHandle:"ExpandedAlert-module_expandedAlertHandle__K6xq",weather:"ExpandedAlert-module_weather__GrZJ",radar:"ExpandedAlert-module_radar__yVcq",schoolClosure:"ExpandedAlert-module_schoolClosure___dcn",generalAlert:"ExpandedAlert-module_generalAlert__pKlC",liveEvent:"ExpandedAlert-module_liveEvent__oyjK",townHall:"ExpandedAlert-module_townHall__LZMj",breaking:"ExpandedAlert-module_breaking__QohY",closed:"ExpandedAlert-module_closed__VhyR",expandedAlertContent:"ExpandedAlert-module_expandedAlertContent__cYHs",expandedAlertSubHandle:"ExpandedAlert-module_expandedAlertSubHandle__PYdX",expandedAlertHeadline:"ExpandedAlert-module_expandedAlertHeadline__jnzo",expandedAlertSubContent:"ExpandedAlert-module_expandedAlertSubContent__boXU",expandedAlertLabel:"ExpandedAlert-module_expandedAlertLabel__uKQ7",expandedAlertLink:"ExpandedAlert-module_expandedAlertLink__tTVu",expandedAlertArrow:"ExpandedAlert-module_expandedAlertArrow__TYvq",expandedAlertSummary:"ExpandedAlert-module_expandedAlertSummary__TyD6",expandedAlertImage:"ExpandedAlert-module_expandedAlertImage__zQ_0",expandedAlertClose:"ExpandedAlert-module_expandedAlertClose__qCp6",expandedAlertDots:"ExpandedAlert-module_expandedAlertDots___pKY"},oH=e=>{let{headline:a,type:r,summary:t,uuid:s,primaryLink:i,secondaryLinks:l,thumbnail:n}=e.alert,{url:o}=e,d=i?i.url:null,c=sinclairDigital.isMobile?768:389,_="16x9",{imgDimension:u}=I.A.setTeaserDimension(c,_),{title:h,style:p,color:x,defaultImg:g}=(0,oR.Ay)(r),y=n?I.A.setOptimizedUrl({imgDimension:u,ratio:_,thumbUrl:n}):g,{ffWeatherRadarApiEnabled:f}=(0,em.h)(),v=({className:e,children:a})=>(0,m.jsx)("div",{className:e,children:a}),j=({className:e})=>(0,m.jsx)("p",{className:e,children:t});return(0,m.jsx)("div",{className:oP.expandedAlertContainer,id:"js-Alerts-Expanded",children:(0,m.jsxs)("div",{className:oA()(oP.expandedAlertContent),children:[(0,m.jsx)("div",{className:oP.expandedAlertImage,children:(0,m.jsx)("div",{className:oP.radarMap,children:"radar"===r?f?(0,m.jsx)(nF.A,{siteUrl:o}):(0,m.jsx)(nH.A,{radarKey:`${s}_radar`,siteUrl:o,standalone:"true"}):(0,m.jsx)("a",{"aria-label":a,className:oP[p],href:d,onClick:()=>{rf.G0.trackEvent("Alert","AlertImage",a)},children:(0,m.jsx)("img",{alt:`${a} image`,className:oP.alertImg,loading:e.slideIndex?"lazy":"eager",src:y,suppressHydrationWarning:!0})})})}),(0,m.jsxs)("div",{className:oP.expandedAlertSubContent,children:[(0,m.jsx)("span",{className:oA()(oP.expandedAlertLabel,oP[p]),children:h}),d?(0,m.jsxs)("a",{className:oP[p],href:d,onClick:()=>{rf.G0.trackEvent("Alert","AlertHeadline",a)},children:[(0,m.jsxs)(v,{className:oP.expandedAlertHeadline,children:[`${a} \u00A0\u00A0`,(0,m.jsxs)(({className:e,children:a})=>(0,m.jsx)("div",{className:e,style:{color:x},children:a}),{className:oP.expandedAlertLink,children:[(0,m.jsx)("span",{children:"See More"}),(0,m.jsx)(({className:e})=>(0,m.jsx)(oW.A,{className:e,color:x,height:"16px",width:"16px"}),{className:oP.expandedAlertArrow})]})]}),(0,m.jsx)(j,{className:oP.expandedAlertSummary})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(v,{className:oP.expandedAlertHeadline,children:`${a} \u00A0\u00A0`}),(0,m.jsx)(j,{className:oP.expandedAlertSummary})]}),(0,m.jsx)("ul",{children:l?.map((e,r)=>(0,m.jsx)("li",{children:(0,m.jsxs)("a",{className:oA()(oP.expandedAlertLink,oP[p]),href:e.url,onClick:()=>{rf.G0.trackEvent("Alert",`AlertLink${r+1}`,a)},children:[e.text,(0,m.jsx)(oW.A,{className:oP.expandedAlertArrow,color:x,height:"16px",width:"16px"})]})},r))})]})]},s)})};oH.propTypes={alert:ej().shape(),className:ej().string,closeAlert:ej().func.isRequired,headline:ej().string,primaryLink:ej().shape(),secondaryLinks:ej().arrayOf(ej().shape()),summary:ej().string,thumbnail:ej().string,type:ej().string,url:ej().string};let oF={sd_xl_min:"1900",sd_l_min:"1500",sd_l_max:"1899",sd_m_min:"1024",sd_m_max:"1499",sd_s_min:"768",sd_s_max:"1023",sd_xs_min:"375",sd_xs_max:"767","darkreader--fallback":"index-module_darkreader--fallback__HtKz","darkreader--text":"index-module_darkreader--text__HVca","darkreader--invert":"index-module_darkreader--invert__PTBT","dar
11kreader--inline":"index-module_darkreader--inline__z6Zz","darkreader--variables":"index-module_darkreader--variables__USTW","darkreader--root-vars":"index-module_darkreader--root-vars__N7fW","darkreader--user-agent":"index-module_darkreader--user-agent__s0AQ",bg:"index-module_bg__yX15",weather:"index-module_weather__VPK9",radar:"index-module_radar__ImLl","school-closure":"index-module_school-closure__tUjr","general-alert":"index-module_general-alert__sJYs","live-event":"index-module_live-event__Yuph","town-hall":"index-module_town-hall__U7Mg","breaking-news":"index-module_breaking-news__I3CN",wrapper:"index-module_wrapper__hSW1",expandedAlertClose:"index-module_expandedAlertClose__KlYo",expandedAlertCloseImg:"index-module_expandedAlertCloseImg__RF7u",collapsed:"index-module_collapsed__TzHb",alertFooter:"index-module_alertFooter__hX69",footerToggle:"index-module_footerToggle__Gg91",expandedAlertUp:"index-module_expandedAlertUp__V5Fa",dots:"index-module_dots__JHDI",expandedAlertShowLess:"index-module_expandedAlertShowLess__gEx3",swiperTrack:"index-module_swiperTrack__Wwj3",childWrapper:"index-module_childWrapper__GTT_",alertsContainer:"index-module_alertsContainer__Fdqx","slick-loading":"index-module_slick-loading___Gzb","slick-initialized":"index-module_slick-initialized__jgrD","slick-vertical":"index-module_slick-vertical__H4It",alertsSubContainer:"index-module_alertsSubContainer__JVyF",open:"index-module_open__TxKo",alertsCard:"index-module_alertsCard__iKmH",closed:"index-module_closed__hz6a",empty:"index-module_empty__uCKJ",collapsedAlertHeadlineContainer:"index-module_collapsedAlertHeadlineContainer__kgNt",collapsedAlertLabel:"index-module_collapsedAlertLabel__knYy",breaking:"index-module_breaking__fz_F",collapsedAlertHeadline:"index-module_collapsedAlertHeadline__s_Oy",alertDotContainer:"index-module_alertDotContainer__GM1_",alertDot:"index-module_alertDot__sMug",alertDotActive:"index-module_alertDotActive__n1eq",navPlaceholder:"index-module_navPlaceholder__Lk0M",mobileSpacing:"index-module_mobileSpacing__JDhM"};class oU extends _.Component{static get propTypes(){return{children:ej().oneOfType([ej().arrayOf(ej().node),ej().node]),className:ej().string,ref:ej().func}}constructor(e){super(e),this.swiperClassNum=Math.round(100*Math.random()),this.swiperClass=`swiper-class-${this.swiperClassNum}`,this.state={isTransitionToggle:e.isTransitionToggle}}initSwiper(){oL.A.use([oL.Autoplay,oL.EffectFade]),this.swiper=new oL.A(this.slider,{autoHeight:!0,autoplay:{delay:6e3},effect:this.state.isTransitionToggle?"slide":"fade",fadeEffect:{crossFade:!0},lazy:!0,loopedSlides:1,noSwiping:!1,observeParents:!0,observer:!0,on:this.props.events,preloadImages:!1,slidesPerView:"auto",spaceBetween:0,speed:500}),"function"==typeof this.props.onSwiperInit&&this.props.onSwiperInit(this.swiper)}componentDidMount(){let e=()=>{setTimeout(()=>{this.wrapper.children.length>0?this.initSwiper():e()},10)};e()}UNSAFE_componentWillReceiveProps(e){this.state.isTransitionToggle!==e.isTransitionToggle&&this.setState({isTransitionToggle:e.isTransitionToggle},()=>{this.swiper.destroy(),this.initSwiper()})}wrappedChildren(){let e=oA()("swiper-slide",oF.childWrapper);return this.props.children.map((a,r)=>(0,m.jsx)("div",{className:e,children:_.cloneElement(a)},`slider-child-${r}`))}render(){let e=oA()("swiper-container",oF.sliderWrapper,this.props.className,this.swiperClass),a=oA()("swiper-wrapper",oF.swiperTrack);return(0,m.jsx)("div",{className:e,ref:e=>this.slider=e,children:(0,m.jsx)("div",{className:a,ref:e=>this.wrapper=e,children:this.wrappedChildren()})})}}class oE extends _.Component{static get propTypes(){return{siteUrl:ej().string}}constructor(e){super(e),this._alertTimers={},this._alertTimeMillis=6e5,this._removeOldAlerts(),this.siteUrl=globalThis?.sinclairDigital.facade.rendering.site.url||e.rendering.site.url,this.closeAlert=this.closeAlert.bind(this),this.siteslug=globalThis?.sinclairDigital.facade.rendering.site.siteSlug||e.rendering.site.siteSlug,this.getWindowSize=this.getWindowSize.bind(this),this.state={activeAlert:"",alerts:[],autoSwitch:!0,closedAlerts:[],currentAlert:null,currentAlertIdx:null,isSmallScreens:globalThis.innerWidth<1024,realIndex:0,transition:"open"},this.events={slideChange:this.slideChange.bind(this)}}
11slideChange(){if(!this.swiper)return;let{activeIndex:e,realIndex:a,animating:r}=this.swiper;this.setState({activeIndex:e,animating:r,realIndex:a})}UNSAFE_componentWillMount(){void 0!==globalThis.addEventListener&&globalThis.addEventListener("resize",this.getWindowSize,{passive:!0}),this.getAlerts().then(()=>{})}getWindowSize(){globalThis.innerWidth<1024?this.setState({isSmallScreens:!0}):this.setState({isSmallScreens:!1})}shouldAlertCollapse(e){let a=!0;if(e.length>0)for(let r of e)/breaking-news|weather|radar/gi.test(r.type)&&(a=!1);return a}_isAlertUnique(e){let a=!1,r=this._getSavedSeenAlerts(),t=this._getAlertUUIDS(e);return r?(0,oI.A)(r,t).length>0&&(a=!0):a=!0,a}_getAlertUUIDS(e){let a=[];for(let r of e)a.push(r.uuid);return a}_saveSeenAlerts(e){let a=JSON.stringify(this._getAlertUUIDS(e));globalThis.localStorage?.setItem("seenAlerts",a)}_getSavedSeenAlerts(){let e=globalThis.localStorage?.getItem("seenAlerts");if(e)return JSON.parse(e)}async getAlerts(){try{let e=(await (0,ix.OU)(this.siteUrl)).data.data,a=this._getOpenAlerts(e);if(a.length>0){let r=this._sortAlertLists(a),t=this._isAlertUnique(e);t&&this._saveSeenAlerts(e);let{style:s}=(0,oR.Ay)(a[0].type);this.setState({activeAlert:s,alerts:r,currentAlert:r[0],currentAlertIdx:0,shouldCollapse:this.shouldAlertCollapse(r)},()=>{this.setState({collapsed:this._shouldOverrideUserPref(t)})})}else this.setState({alerts:[]})}catch{this.setState({alerts:[]})}}_shouldOverrideUserPref(e){let a=globalThis.localStorage?.getItem("Alert_collapsed");if(e);else if(a)return JSON.parse(a);return this.state.shouldCollapse}_sortAlertLists(e){let a={"breaking-news":0,"general-alert":2,"live-event":2,radar:1,"school-closure":2,"town-hall":2,weather:1};return e.sort((e,r)=>{let t=a[e.type],s=a[r.type];return t>s?1:s<t?-1:0})}closeAlert(e){let a=this.getActiveAlert(),{uuid:r}=a,t=this.state.alerts.filter(e=>e.uuid!==r);this._closeAlert(a),e&&e.stopPropagation(),this.setState({alerts:this.state.alerts.length>1?t:[]}),this.carousel.forceUpdate(),rf.G0.trackEvent("Alert","AlertClose",this.state.currentAlert.headline)}_setAlertTimer(e){let a=this._getSavedAlerts();if(!a[e.uuid])return;let r=this._alertTimeMillis-(Date.now()-new Date(a[e.uuid].deleteDate));this._alertTimers[e.uuid]&&clearTimeout(this._alertTimers[e.uuid]),this._alertTimers[e.uuid]=setTimeout(()=>{let a=this._getSavedAlerts();a[e.uuid]&&(delete a[e.uuid],this.state.alerts.push(e),this._setSavedAlerts(a),this.setState({alerts:this.state.alerts}))},r>=0?r:1e3)}_getOpenAlerts(e){let a=this._getSavedAlerts();return e.filter(e=>!(a[e.uuid]&&Date.now()-new Date(a[e.uuid].deleteDate)<this._alertTimeMillis)||(this._setAlertTimer(e),!1))}_closeAlert(e){let a=this._getSavedAlerts();a[e.uuid]={deleteDate:new Date},this._setSavedAlerts(a),this._setAlertTimer(e)}_removeOldAlerts(){let e=this._getSavedAlerts();for(let a of Object.keys(e))Date.now()-new Date(e[a].deleteDate)>=this._alertTimeMillis&&delete e[a];this._setSavedAlerts(e)}_getSavedAlerts(){let e=globalThis.localStorage?.getItem("Alerts");if("string"!=typeof e)return{};try{return JSON.parse(e)}catch{return{}}}_setSavedAlerts(e){globalThis.localStorage?.setItem("Alerts",JSON.stringify(e))}_persistAlertState(){globalThis.localStorage?.setItem("Alert_collapsed",this.state.collapsed)}hasAlerts(){return this.state.alerts&&this.state.alerts.length>0}renderCard(e){let{transition:a,alerts:r}=this.state,t={alert:e,closeAlert:this.closeAlert,slideCount:r.length,slideIndex:this.state.realIndex,transition:a};return(0,_.createElement)(oH,{...t,key:`${e.uuid}_expanded`,url:this.siteslug})}getAlertTitle(){let e=this.getActiveAlert();return e?(0,oR.Ay)(e.type).title:null}getAlertHeadline(){let e=this.getActiveAlert();return e?e.headline:null}renderChildren(){return this.state.alerts.map((e,a)=>(0,m.jsx)("div",{className:oF.alertsCard,children:this.renderCard(e,a)},a))}toggleMore(e){e?"alert-dots"==e.target.id?this.setState({collapsed:!this.state.collapsed},()=>{this._persistAlertState()}):e.stopPropagation():this.setState({collapsed:!this.state.collapsed},()=>{this._persistAlertState()})}onDotClick(e,a){this.swiper&&this.swiper.slideTo(a)}renderDots(){let{realIndex:e,alerts:a}=this.state;return(0,m.jsx)(oD.A,{className:oF.dots,onDotClick:this.onDotClick.bind(this),slideCount:a?a.length:null,slideIndex:e||0})}renderToggle(){return this.state.collapsed?(0,m.jsxs)("div",{className:oF.footerToggle,onClick:()=>this.toggleMore(),children:[(0,m.jsx)("div",{className:oF.expandedAlertShowLess,children:"Show More"}),(0,m.jsx)(e8.A,{className:oF.expandedAlertUp,color:"#FFF",height:"16px",width:"10px"})]}):(0,m.jsxs)("div",{className:oF.footerToggle,onClick:()=>this.toggleMore(),children:[(0,m.jsx)("div",{className:oF.expandedAlertShowLess,children:"Show Less"}),(0,m.jsx)(e9.A,{className:oF.expandedAlertUp,color:"#FFF",height:"16px",width:"10px"})]})}getActiveAlert(){let{alerts:e}=this.state;return e[this.state.realIndex]}getAlertStyle(){let e=this.getActiveAlert();return e?oF[e.type]:null}renderTitle(){return(0,m.jsxs)("div",{className:oF.collapsedAlertHeadlineContainer,children:[(0,m.jsx)("div",{className:oA()(oF.collapsedAlertLabel,this.getAlertStyle()),children:this.getAlertTitle()}),(0,m.jsx)("div",{className:oF.collapsedAlertHeadline,children:this.getAlertHeadline()})]})}renderFooter(){let e=this.getActiveAlert();if(e)return(0,m.jsx)("div",{className:oA()(oF.alertFooter,oF.bg,!this.state.collapsed&&this.state.isSmallScreens?"":oF[e.type]),onClick:e=>{this.state.collapsed&&this.state.isSmallScreens&&this.toggleMore(e)},children:(0,m.jsxs)("div",{className:oF.wrapper,id:"alert-dots",children:[this.renderTitle(),this.renderToggle(),this.renderDots()]})})}renderCarousel(){return this.hasAlerts()?(0,m.jsx)(oU,{events:this.events,isTransitionToggle:this.state.isSmallScreens,onSwiperInit:this.onSwiperInit.bind(this),ref:e=>this.carousel=e,children:this.renderChildren()}):null}runAutoSwitch(){this.timeout=setTimeout(()=>{this.swiper&&this.state.autoSwitch&&this.state.alerts.length>1&&!this.state.alerts.collapsed&&(this.state.realIndex+1===this.state.alerts.length?this.swiper.slideTo(0):this.swiper.slideNext()),this.runAutoSwitch()},6e3)}
11delaySwitch(e){"mouseenter"===e.type?this.swiper.autoplay.stop():this.swiper.autoplay.start()}onSwiperInit(e){this.swiper=e}renderCloseButton(){return(0,m.jsx)("div",{className:oF.expandedAlertClose,onClick:()=>this.closeAlert(),children:(0,m.jsx)("img",{alt:"Close Alert",className:oF.expandedAlertCloseImg,loading:"lazy",src:"/resources/defaults/news_3.0/icons/ui/sbg-close.svg"})})}componentDidUpdate(e,a,r){this.swiper&&1===this.state.alerts.length?(this.swiper.noSwiping=!0,this.swiper.allowSlideNext=!1,this.swiper.allowSlidePrev=!1,this.swiper.updateSlides(),this.swiper.update(),this.swiper.slideTo(0,0)):this.swiper&&this.state.alerts.length>1&&(this.swiper.noSwiping=!1,this.swiper.allowSlideNext=!0,this.swiper.allowSlidePrev=!0),this.carousel&&this.carousel.render(),this.swiper&&this.swiper.update()}componentWillUnmount(){clearTimeout(this.timeout)}componentDidMount(){}render(){let e=oA()({[oF.collapsed]:this.hasAlerts()&&this.state.collapsed,[oF.empty]:!this.hasAlerts(),[oF.mobileSpacing]:this.hasAlerts()},oF.alertsContainer),a=oA()("",{[oF.wrapper]:!this.state.isSmallScreens&&!this.state.collapsed});return(0,m.jsxs)("div",{className:e,id:"js-Alerts-container",onMouseEnter:e=>this.delaySwitch(e),onMouseLeave:e=>this.delaySwitch(e),ref:e=>this.el=e,children:[this.renderFooter(),(0,m.jsx)("div",{className:a,suppressHydrationWarning:!0,children:this.renderCloseButton()}),(0,m.jsx)("div",{className:oF.alertsSubContainer,children:this.renderCarousel()})]})}}let oM="index-module_bannerAdContainer__uR5K",oB=({data:e})=>{let a=e.map((e,a)=>(0,m.jsxs)("tr",{children:[(0,m.jsx)("td",{children:e.State}),(0,m.jsx)("td",{children:e.City}),(0,m.jsx)("td",{children:e.Station}),(0,m.jsx)("td",{children:e.Affiliation}),(0,m.jsx)("td",{children:e.Time})]},a));return(0,m.jsxs)("div",{className:"index-module_scheduleWrapper__cl55",children:[(0,m.jsx)("h2",{children:"Full Measure TV Station List"}),(0,m.jsx)("h3",{children:"All times are local and listed as Sunday unless otherwise noted."}),(0,m.jsx)("div",{className:"index-module_tableWrapper__ymmt",children:(0,m.jsxs)("table",{className:"index-module_scheduleTable__cydp",children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{children:[(0,m.jsx)("th",{children:"State"}),(0,m.jsx)("th",{children:"City"}),(0,m.jsx)("th",{children:"Station"}),(0,m.jsx)("th",{children:"Affiliation"}),(0,m.jsx)("th",{children:"Time"})]})}),(0,m.jsx)("tbody",{children:a})]})})]})},oO=e=>{let a=(0,h.z0)("rendering.section.data.customJson");return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(eU.A,{disableScroll:!0,theme:"light"}),(0,m.jsxs)("div",{className:"index-module_sectionWrapper__OnVB",children:[(0,m.jsx)("div",{className:"index-module_alertsWrapper__oVyX",children:(0,m.jsx)(oE,{})}),(0,m.jsx)("div",{className:oM,children:(0,m.jsx)(v.X,{adName:"banner_pos2",pageType:"section"})}),(0,m.jsx)(k.A,{adBeforeFooter:(0,m.jsx)("div",{className:oM,children:(0,m.jsx)(v.X,{adName:"banner_pos3",pageType:"section"})}),mainChildren:(0,m.jsx)(j.A,{children:(0,m.jsx)(oB,{data:a?.scheduleData??[]})}),sideBarChildren:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(v.X,{adName:"rightrail_pos1",pageType:"section"}),(0,m.jsx)(T.A,{}),(0,m.jsx)(v.X,{adName:"rightrail_pos2",pageType:"section"})]})})]}),(0,m.jsx)(eE.A,{...e.facade})]})},oG=e=>(0,m.jsx)(E.A,{...e,children:(0,m.jsx)(oO,{...e})}),oz=()=>{let e,a,r,t,s,i,l,n=(0,h.z0)(),o=(0,lj.getSiteSlug)(n),d=(0,lj.getPresentationKeyOrFail)(n),c={[(e=o,`Home - News3 v1 (${e})`)]:a7.A,[(a=o,`Home - News3 v1.0.0 (${a})`)]:a7.A,"Home - News3 v1 (common*)":a7.A,"Iframe no Taboola with title - News3 v1.0.0 (common)":el,"Iframe with Taboola and Title - News3 v1.0.0 (common)":el,"Iframe no Taboola no RightRail with Ads with Title - News3 v1.0.0 (common)":el,"Weather - News3 v1.0.0 (common)":ow,"404 - News3 v1.0.0 (common)":eC,"Search Results - News3 v1.0.0 (common)":tq,"Section - News3 v1.0.0 (common)":tY.A,"Story Infinite Scroll - News3 v1.0.0 (common)":sx.A,"Story, non-I.S. - News3 v1.0.0 (common)":sx.A,"Watch Now - News3 v1.0.0 (common)":nW,"Gallery - News3 v1.0.0 (common)":a5,"Full Measure Home - News3 v1.0.0 (fullmeasure)":eQ,"Full Measure Story Infinite Scroll - News3 v1.0.0 (fullmeasure)":lv,"Full Measure Section - News3 v1.0.0 (fullmeasure)":lu,[(r=o,`TND Election Results - News3 v1.0.0 (${r})`)]:sf,[(t=o,`TND Home - News3 v1.0.0 (${t})`)]:lm,[(s=o,`TND Section - News3 v1.0.0 (${s})`)]:lu,[(i=o,`TND Story Infinite Scroll - News3 v1.0.0 (${i})`)]:lv,"List Section - News3 v1.0.0 (common)":rt,"Bio Detail - News3 v1.0.0 (common)":M,"Bio Section - News3 v1.0.0 (common)":Z,"Station - News3 v1.0.0 (common)":si,[(l=o,`Refined Home - News3 v1.0.0 (${l})`)]:r1,"Refined Home - News3 v1.0.0 (common)":r1,"Refined Section - News3 v1.0.0 (common)":tL,"Refined Story - News3 v1.0.0 (common)":tX,"Refined Search - News3 v1.0.0 (common)":tv,"Refined Bio Section - News3 v1.0.0 (common)":tP,"Refined Bio Profile - News3 v1.0.0 (common)":rV,"Refined Contact - News3 v1.0.0 (common)":r3,"Refined Advterise - News3 v1.0.0 (common)":r3,"Refined
11Live Stream - News3 v1.0.0 (common)":r8,"Refined 404 - News3 v1.0.0 (common)":r0,"Refined Photos Landing - News3 v1.0.0 (common)":td,"Full Measure Where To Watch - News3 v1.0.0 (fullmeasure)":oG,"Tags - News3 v1.0.0 (common)":sp,"Redirect - News3 v1.0.0 (common)":rs,"Bankrate - Super Section - News3 v1.0.0 (common)":tY.A,"Election Results - News3 v1.0.0 (common)":ex}[d];return c?(0,m.jsx)(g,{facade:n,children:(0,m.jsx)(c,{facade:n,isBanshee:!0})}):(0,m.jsx)(eC,{facade:n,isBanshee:!0})};var oV=r(59064),o$=r(92884),oX=r(75295),oq=!0;let oY=(0,u.A)(e=>{let a=globalThis.sinclairDigital?.facade;return(0,m.jsx)(b.A,{children:(0,m.jsxs)(oV.A,{config:e.uid2Config,children:[(0,m.jsx)(oX.A,{...e,airshipConfig:e.airshipConfig,facade:a}),(0,m.jsx)("div",{hidden:!0,id:"presentation_fallback",role:"none",children:"Fallback Presentation. Using deprecated PresentationRouter."}),(0,m.jsx)(oz,{facade:a})]})})},{errorComponent:(0,o$.W)("fallback_router_page")})},42634:()=>{}}]);
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.