1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[861],{95054:(function(U,W,t){"use strict";t.d(W,{a:function(){return A}});var b=t(14041),I=t(30668),P=t(2182),k=t(68624),n=t(63533),a=t(87244),R=t(19108),N=t(43329);function r(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const y=(0,P.A)("div",{target:"e3zupsp6",label:"StyledArticleByline"})(({hasBackground:M,isLiveBlog:G})=>({fontSize:(0,n.g)(12),textAlign:"center",fontFamily:a.l.sevennews.sansSerif,display:"flex",alignItems:"center",whiteSpace:"pre-wrap",color:R.T.sevennews.bauhausBlack80,background:M?R.T.sevennews.neonSilver30:void 0,paddingRight:G?(0,n.g)(8):(0,n.g)(20),borderRadius:(0,n.g)(22),marginRight:G?0:(0,n.g)(10),[(0,N.C9)("xxs")]:{paddingRight:G?(0,n.g)(16):(0,n.g)(20)}}),""),w=(0,P.A)("span",{target:"e3zupsp5",label:"StyledArticleBylineAuthor"})({name:"0",styles:""}),E=2,u=(0,P.A)(k.f,{target:"e3zupsp4",label:"StyledArticleBylineAuthorLink"})(({$numAuthors:M=2})=>({textDecoration:"none",color:"inherit",height:(0,n.g)(M<=E?30:16),display:"flex",alignItems:"center","&:hover":{textDecoration:"underline"},whiteSpace:"nowrap"}),""),g=(0,P.A)("span",{target:"e3zupsp3",label:"StyledArticleBylineAuthorDelimiter"})(({$numAuthors:M=2})=>({color:"inherit",lineHeight:(0,n.g)(M<=E?30:16),display:"inline-flex"}),""),$=(0,P.A)("img",{target:"e3zupsp2",label:"StyledAuthorThumbnail"})(({isLast:M})=>({width:(0,n.g)(30),height:(0,n.g)(30),borderRadius:"50%",marginRight:M?(0,n.g)(12):0}),""),s=(0,P.A)("div",{target:"e3zupsp1",label:"StyledTimeAndProfilesWrap"})(({})=>({display:"flex",flexDirection:"column",alignItems:"flex-start"}),""),o=(0,P.A)("div",{target:"e3zupsp0",label:"StyledAuthorProfilesWrap"})(({})=>({display:"flex",flexFlow:"row wrap",alignItems:"flex-start",minWidth:"220px"}),"");function x(M,G){const de=G&&G.split(/\s*(,|and)\s+/);if(de&&de.length>0){const ie=[];return de.map(Le=>{const pe=M.find(Ve=>Ve.name===Le);pe&&ie.push(pe)}),ie}return M}const D=t(772),Me=t(18875),L=t(37171),xe=t(83937),ze=t(31112),Ge=t(38678),Be=t(62345),be=t(72075),Ze=t(30689),Ke=(M,G,de,ie)=>b.createElement(b.Fragment,null,M.thumbnailPhoto?b.createElement(K,{profile:M},b.createElement($,{isLast:!0,src:M.thumbnailPhoto,alt:M.name})):b.createElement($,{isLast:!0,src:Ne(G,ie),alt:M.name}),b.createElement(K,{profile:M},de?`By ${de}`:b.createElement("span",{itemProp:"name"},"By ",M.name))),v=(M,G,de)=>
1{const ie=x(M,G);return b.createElement(b.Fragment,null,b.createElement($,{isLast:!0,src:de}),b.createElement(s,null,b.createElement(o,null,ie.map((Le,pe)=>{const Ve=pe===ie.length-2?"\xA0and\xA0":pe===ie.length-1?null:",\xA0";return b.createElement(b.Fragment,{key:pe},b.createElement(K,{profile:Le,numAuthors:ie.length},Le.name),Ve&&b.createElement(g,{$numAuthors:ie.length},Ve))}))))};function A({profiles:M,byline:G,hasBackground:de,isLiveBlog:ie,source:Le,readTimeMinutes:pe}){const Ye=(0,I.u)()?.section==="7you"?Me:D;return M&&M.length>0&&M.length<2?b.createElement(b.Fragment,null,M.map(Xe=>b.createElement(y,{key:Xe.slug,hasBackground:de,isLiveBlog:ie},Ke(Xe,Le,G,Ye)))):M&&M.length>=2?b.createElement(y,{hasBackground:de},v(M,G,Ye)):b.createElement(y,{hasBackground:de},b.createElement($,{isLast:!0,src:Ne(Le,Ye),alt:G||""}),b.createElement(w,null,"By ",String(G)))}const K=({profile:M,numAuthors:G,children:de})=>b.createElement(u,{to:`/profile/${M.slug}`,$numAuthors:G,itemScope:!0,itemType:"http://schema.org/Person"},de);function Ne(M,G){switch(M){case"NBC":return xe;case"CNN":return Ge;case"AP":return Be;case"AAP/7NEWS":case"AAP":return ze;case"The Conversation":return be;case"The Nightly":return Ze;case"CarExpert":return L;default:return G}}}),91408:(function(U,W,t){"use strict";t.d(W,{S:function(){return E}});var b=t(14041),I=t(22683),P=t(2182),k=t(98203),n=t(63533),a=t(43329),R=t(19108);const N=(0,P.A)("div",{target:"e6bd4ee0",label:"StyledSharingWrapper"})(({isLiveBlog:g,theme:$})=>({height:"100%",[`${k.sG}`]:{margin:0,height:"100%",display:g?"flex":void 0,gap:g?(0,n.g)(4):0,position:"relative",zIndex:1,[(0,a.C9)("xxs")]:{gap:g?(0,n.g)(16):0},"&::before":{display:"none"},[`${k.OV}`]:{background:"transparent",border:"none",margin:0,marginLeft:g?0:(0,n.g)(16),color:R.T.sevennews.nero70,"&:hover":{background:"transparent",border:"none",color:$.sectionValues.primaryColor,"svg, svg *":{fill:"currentColor"}},[(0,a.C9)("md")]:{marginLeft:g?0:(0,n.g)(24)}}}}),"");var r,y,w;const E=({article:g,onEvent:$,videoItem:s,url:o,text:x,sharingOptions:D,isLiveBlog:Me})=>{const L=o||(g?g._self:s?._self||""),xe=x||(g?g.heading:s?.teaser||"");return b.createElement(N,{isLiveBlog:Me},b.createElement(I.r,{url:L,text:xe,isGhostStyle:!0,onEvent:$,shareOptions:D||["clipboard","facebookRounded","linkedin","email","x"]}))},u=({share:g,onEvent:$})=>r.createElement(w,null,r.createElement(y,{url:g.url,text:g.text,isGhostStyle:!0,onEvent:$,shareOptions:["clipboard","facebookRounded","linkedin","email","x"]}))}),30011:(function(U,W,t){"use strict";t.d(W,{Y:function(){return P}});var b=t(14041),I=t(88329);function P(k){return class extends b.Component{constructor(a){super(a),this.state={viewportWidth:this.getViewportWidth()}}componentDidMount(){this.updateViewportWidth(),(0,I.ch)("resize",this.updateViewportWidth)}componentWillUnmount(){(0,I.pQ)("resize",this.updateViewportWidth)}render(){return b.createElement(k,{...this.props,viewportWidth:this.state.viewportWidth})}getViewportWidth(){return typeof window<"u"?window.innerWidth:0}shouldUpdateViewportWidth(a,R){const N=this.props.breakpoints;return a===R?!1:N?N.some(r=>a<r&&R>=r||a>=r&&R<r):!0}updateViewportWidth=()=>{const a=this.getViewportWidth();this.shouldUpdateViewportWidth(this.state.viewportWidth,a)&&this.setState({viewportWidth:a})}}}}),692:(function(U,W,t){"use strict";t.d(W,{C:function(){return Qe}});var b=t(30668),I=t(36683),P=t(68472),k=t(50183),n=t(14041),a=t(47583),R=t(31697),N=t(22502),r=t(59562),y={clearInterval(c){window.clearInterval(c)},setInterval(c,i){return window.setInterval(c,i)}},w=t(72981),E=t(37165),u=t(2299),g=t(4422);class $ extends n.Component{mounted=!1;playerOffsetWidth=0;autoplayInterval;constructor(i){super(i),this.state={adPlayed:!1,adPlaying:!1,autoplayHasCompleted:!1,isFullscreen:!1,currentVideo:this.props.videoDetails,currentVideoMetadata:void 0,initialVideoMetadata:void 0,currentVideoPlaylistType:"not-playlist-video",showTopBar:!1,playWhenReady:i.playWhenReady||!1,videoPlayable:!1,showInternalPlayButton:!0,isMuted:this.props.forcedMuted??!0,canAutoplay:!1,videoQueue:{type:"not-playlist-video",items:[]},queuePosition:i.isVideoHub?1:0,playerState:{type:"other"},pauseVideo:!!(i.autoplayOptions&&i.autoplayOptions.pauseWhenOutOfView===!0),isSwitchingVideo:!1}}async componentDidMount(){try{this.mounted=!0;const i=await(0,u.yb)(this.state.currentVideo.id,this.state.currentVideo.accountId,this.props.config,this.props.logger);if(!this.mounted)return;const h=await(0,E.v)({forceEnableAutoplay:this.props.isVideoHub||this.props.canAutoPlay});if(!this.mounted)return;const p=h!==E.On.CannotAutoplay,m=this.props.autoplayOptions!==!1&&p;m&&this.props.autoplayOptions!==!1&&this.state.playWhenReady===!1&&this.initAutoplay(this.props.autoplayOptions);const O={...this.state.currentVideo,source:(0,u.o1)(i.source,i.sourceExtra)};this.setState({currentVideo:O,currentVideoMetadata:i,initialVideoMetadata:i,isMuted:this.props.forcedMuted??!0,canAutoplay:p,showTopBar:!1,showInternalPlayButton:!m&&!this.state.playWhenReady||!1})}catch(i){this.props.logger.error({err:i},"metadata get failed")}}isPlaylistDifferent(i,h){return JSON.stringify([...h].sort((p,m)=>p.id-m.id))!==JSON.stringify([...i].sort((p,m)=>p.id-m.id))}async componentDidUpdate(i){if(i.videoDetails?.id!==this.props.videoDetails.id){const h=await(0,u.yb)(this.props.videoDetails.id,this.props.videoDetails.accountId,this.props.config,this.props.logger),p={...this.props.videoDetails,source:(0,u.o1)(h.source,h.sourceExtra)};this.setState({currentVideo:p,currentVideoMetadata:h,initialVideoMetadata:h})}if(this.props.isVideoHubPlayListFixEnabled&&this.props.isVideoHub){const h=await this.props.getVideoQueue();this.isPlaylistDifferent(this.state.videoQueue.items,h.items)&&this.setState({videoQueue:h})}!i.playWhenReady&&this.props.playWhenReady&&!this.state.playWhenReady&&this.playVideo(),this.props.autoplayOptions&&this.props.autoplayOptions.pauseWhenOutOfView&&((i.inViewport>=50&&this.props.inViewport<50||document.hidden&&!this.state.pauseVideo)&&this.pauseVideo(),i.inViewport<50&&this.props.inViewport>=50&&this.resumeVideo()),this.props.forcedMuted!==void 0&&this.props.forcedMuted!==i.forcedMuted&&this.props.forcedMuted!==this.state.isMuted&&this.setState({isMuted:this.props.forcedMuted})}componentWillUnmount(){this.mounted=!1,this.autoplayInterval!==void 0&&y.clearInterval(this.autoplayInterval)}initAutoplay=i=>{this.mounted&&this.setState({playerState:{type:"autoplay-countdown",auto
1playOptions:i,remainingTime:i&&i.delayDuration?i.delayDuration:0}},()=>{this.autoplayInterval=y.setInterval(this.updateAutoplayTime,1e3)})};updateAutoplayTime=()=>{if(this.state.playerState.type!=="autoplay-countdown"){this.props.logger.error({playerState:this.state.playerState},"Received updateAutoplayTime event when not in autoplay-countdown state");return}const i=this.props.inViewport>50;if(!(this.state.playerState.autoplayOptions.pauseCountdownOutsideViewport&&(i===!1||document.hidden))){if(this.state.playerState.remainingTime>0){const h=this.state.playerState.remainingTime-1;return this.setState(p=>({playerState:{...p.playerState,remainingTime:h}}))}this.autoplayComplete()}};autoplayComplete=()=>{this.autoplayInterval!==void 0&&y.clearInterval(this.autoplayInterval),this.setState({playerState:{type:"other"},showTopBar:!1,playWhenReady:!0,autoplayHasCompleted:!0,showInternalPlayButton:!1})};cancelAutoplay=()=>{this.autoplayInterval!==void 0&&y.clearInterval(this.autoplayInterval),this.setState({playerState:{type:"other"}})};stopAutoplay=()=>{this.cancelAutoplay(),this.setState({showTopBar:!1,autoplayHasCompleted:!1,showInternalPlayButton:!0})};closeStickyVideo=()=>{this.setState({pauseVideo:!0})};playerReady=async()=>{if(this.props.autoplayNextOptions)try{const i=await this.props.getVideoQueue();this.setState({videoQueue:i})}catch(i){this.props.logger.error({err:i},"getVideoQueue() failed!")}};videoCompleted=async()=>{const i=this.state.videoQueue.items[this.state.queuePosition];i&&(this.playNextVideo(i),(0,g.e)(`Starting autoplay countdown for: ${i.id}`),this.props.autoplayNextOptions!==!1&&this.initAutoplay(this.props.autoplayNextOptions))};playNextVideo=(i,h=!1)=>{if(!this.mounted)return;this.props.onPlayNextVideo&&this.props.onPlayNextVideo(i);const p={id:i.id,accountId:i.accountId,source:(0,u.o1)(i.source,i.sourceExtra),heading:i.name||i.description,videoType:i.videoType};if(i.posterImage&&i.posterImage.reference.indexOf("https")>=0){const O={altText:i.posterImage.altText||i.posterImage.captionText,crops:typeof i.posterImage.ratio=="string"?{[i.posterImage.ratio]:{reference:i.posterImage.src,width:i.posterImage.width,height:i.posterImage.height}}:{original:{reference:i.posterImage.src,width:i.posterImage.width,height:i.posterImage.height,ratio:i.posterImage.ratio}}};p.posterImage=O}const m=this.state.videoQueue.items.findIndex(O=>O.id===i.id);this.setState({autoplayHasCompleted:!1,currentVideo:p,currentVideoMetadata:i,currentVideoPlaylistType:this.state.videoQueue.type,playWhenReady:!1,showInternalPlayButton:!this.props.isVideoHub,showTopBar:!1,isSwitchingVideo:!0},()=>{this.setState({queuePosition:m+1,playWhenReady:h}),h&&this.cancelAutoplay()})};variant=()=>this.props.videoOptions.canAutoplayVideos?"Autoplay":"Default-BigPlayButton";handleMuteToggle=()=>{this.setState(i=>{const h=!i.isMuted;return this.props.onMuteChange?.(h),{isMuted:h}})};onPlayerEvent=async i=>{switch((0,g.e)("Video event raised",i),i.type){case r.b.playToPauseError:this.setState({showInternalPlayButton:!this.props.isVideoHub,playWhenReady:!1,adPlaying:!1,adPlayed:!0});break;case r.b.playbackError:this.setState({videoPlayable:!0});break;case r.b.playerReady:await this.playerReady(),this.setState({videoPlayable:!0});break;case r.b.videoAvailable:this.state.playWhenReady&&this.playVideo();break;case r.b.videoPlay:this.cancelAutoplay(),this.setState({showInternalPlayButton:!1,playWhenReady:!1}),this.props.onUserInteraction(i);return;case r.b.videoStart:this.setState({showInternalPlayButton:!1,adPlayed:!0,isSwitchingVideo:!1});break;case r.b.videoEnd:this.videoCompleted();break;case r.b.adStart:this.cancelAutoplay(),this.setState({showInternalPlayButton:!1,adPlayed:!1,adPlaying:!0,isSwitchingVideo:!1});break;case r.b.adEnd:this.setState({adPlayed:!0,adPlaying:!1});break;case r.b.adPodComplete:this.setState({adPlayed:!0,adPlaying:!1});break;case r.b.adError:this.setState({isSwitchingVideo:!1});break;case r.b.playerFullscreenEnter:this.setState({isFullscreen:!0});break;case r.b.playerFullscreenExit:this.setState({isFullscreen:!1});break;case r.b.playerUserInactive:this.setState({showTopBar:!1});break;case r.b.adVolumeChange:case r.b.videoVolumeChange:if(!this.state.isSwitchingVideo){const h=i.payload.muted;h!==this.state.isMuted&&(this.setState({isMuted:h}),this.props.onMuteChange?.(h))}break}this.props.onEvent(i)};handleMouseEnter=i=>{this.setState({showTopBar:!0})};handleMouseMove=i=>{this.state.showTopBar||this.setState({showTopBar:!0})};handleMouseLeave=i=>{this.setState({showTopBar:!1})};handleTouchStart=i=>{this.setState({showTopBar:!0})};handleTouchEnd=i=>{this.setState({showTopBar:!1})};handlePlaylistSelect=i=>{this.playNextVideo(i,!0),this.props.onUserInteraction({type:r.b.playlistSelect,originator:"playlist-event",payload:{video:i}})};handlePlaylistScroll=()=>{this.props.onUserInteraction({type:r.b.playlistScroll,originator:"playlist-event",payload:{}})};setRef=i=>{i&&(this.playerOffsetWidth=i.offsetWidth),this.props.innerRef(i)};playVideo=()=>{this.setState({playWhenReady:!1,pauseVideo:!1},()=>{this.setState({playWhenReady:!0,pauseVideo:!1,showInternalPlayButton:!1})})};pauseVideo=()=>{this.setState({pauseVideo:!0})};resumeVideo=()=>{this.setState(()=>{this.setState({pauseVideo:!1,playWhenReady:!0})})};render(){const{videoOptions:i}=this.props,h=this.props.playerProvider();return this.props.renderPlayer({theme:this.props.theme,playerActions:{handleMuteToggle:this.handleMuteToggle,playVideo:this.playVideo,stopAutoplay:this.stopAutoplay,closeStickyVideo:this.closeStickyVideo,pauseVideo:this.pauseVideo,resumeVideo:this.resumeVideo},playerOptions:i,playerState:{isMuted:this.state.isMuted,adPlayed:this.state.adPlayed,adPlaying:this.state.adPlaying,canAutoplay:this.state.canAutoplay,currentVideo:this.state.currentVideo,currentVideoMetadata:this.state.currentVideoMetadata,currentVideoPlaylistType:this.state.currentVideoPlaylistType,isFullscreen:this.state.isFullscreen,showInternalPlayButton:this.state.showInternalPlayButton,showTitleOverlay:this.state.playerState.type==="autoplay-countdown",showTopBar:this.state.showTopBar,inViewport:this.props.inViewport,currentState:this.state.playerState},wrapperElProps:{innerRef:this.setRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove,onTouchEnd:this.handleTouchEnd,onTouchStart:this.handleTouchStart},playlistProps:this.props.showPlaylist?{currentVideoId:this.state.currentVideo.id,videoQueue:this.state.videoQueue,initialVideoMetadata:this.state.initialVideoMetadata,handlePlaylistScroll:this.handlePlaylistScroll,handlePlaylistSelect:this.handlePlaylistSelect}:void 0,videoElement:this.state.currentVideoMetadata?n.createElement("div",null,n.createElement(h,{logger:this.props.logger,config:this.props.config,playerOptions:{...i,brightcovePlayerId:w._}
1,isMuted:this.state.isMuted,adPlaying:this.state.adPlaying,autoplayOptions:this.props.autoplayOptions,autoplayHasCompleted:this.state.autoplayHasCompleted,play:this.state.videoPlayable&&this.state.playWhenReady,pause:this.state.pauseVideo,currentVideo:this.state.currentVideo,currentVideoMetadata:this.state.currentVideoMetadata,currentVideoPosition:this.state.queuePosition,playlistType:this.state.currentVideoPlaylistType,isFullscreen:this.state.isFullscreen,onEvent:this.onPlayerEvent,pagePosition:this.props.pagePosition,variant:this.variant(),product:this.props.theme.kind,pathname:this.props.pathname,isVideoHub:this.props.isVideoHub})):null})}}var s=t(26228),o=t(2537),x=t(69346),D=t(83487),Me=t(73384),L=t(42860),xe=t(46613),ze=t(33764),Ge=t(3529),Be=t(67380),be=t(19108);const Ze=()=>n.createElement("svg",{width:"18",height:"13",viewBox:"0 0 18 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{opacity:"0.7",d:"M10.2308 4V1L17 6L10.2308 11V7.5C6.81538 7.5 3.67692 8.1 1 12C1.35692 9.68421 1.71385 4.57895 10.2308 4Z",stroke:be.T.sevennews.red,strokeWidth:"1.2",strokeMiterlimit:"16",strokeLinejoin:"round"}));var Ke=t(91408),v=t(19609),A=t(42577),K=t(53139),Ne=t(76403),M=t(90817),G=t(19494),de=t(95054),ie=t(65976),Le=t(64507),pe=t(72326),Ve=t(86402),Ye=t(59044),Xe=t(75886),et=t(67853),Et=t(25292),it=t(16318),He=t(80719),Je=t(18617);const wt=({containerWidthRatios:c,onEvent:i,isCurrentlyPlaying:h,item:p,handleCarouselSelection:m,handleSwipperSelection:O,onSelect:se,itemMeta:ye})=>{const ne=(0,b.u)(),ue=(0,n.useRef)(null);if((0,n.useEffect)(()=>{h&&(m(ue.current?.offsetTop),O())},[h]),p.loaded&&(0,Ve.isPublicationCardItem)(p.result)){const Q=()=>{se(ye),m(ue.current?.offsetTop)},le=Ie=>{Ie.key==="Enter"&&(se(ye),m(ue.current?.offsetTop))};return n.createElement(Je.M8,{isCurrentlyPlaying:h,onClick:Q,onKeyDown:le,ref:ue,tabIndex:0},n.createElement(Je.nq,null,n.createElement(Je.ls,null,n.createElement(Je.Qf,null,ne.kind==="thewest"?n.createElement(He.Fz,null,p.result.primaryTopic.title,n.createElement(He.QH,null,n.createElement(et.N,{width:14,height:9,horizontalSpacing:6,className:it.qs}
1))):n.createElement(He.Fz,null,p.result.primaryTopic.title),n.createElement(Je.vf,{item:{loaded:!0,result:p.result},onEvent:i,teaserMode:"hidden",fontScale:1,kickerMode:"hidden",isCurrentlyPlaying:h}),h&&n.createElement(Et.lq,null,"Now Playing")),n.createElement(Je.sc,{item:{loaded:!0,result:p.result},onEvent:i,imageWidths:(0,Xe.b)(c,{mobile:"100vw",tablet:"100vw",desktop:`${ne.siteMetrics.mainContentWidth}px`,fallbackWidth:ne.siteMetrics.mainContentWidth}),fixedRatio:"16:9"}))))}return null};var Pt=t(5817),Ct=t(78643);const Ht=()=>n.createElement("svg",{width:"8",height:"11",viewBox:"0 0 8 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.80781 1.49164L3.80781 9.43164M3.80781 9.43164L1.32656 6.95039M3.80781 9.43164L6.28906 6.95039",stroke:"#E6011F",strokeWidth:"1.48875",strokeLinecap:"round",strokeLinejoin:"round"}));var ht=t(69452);function jt(c,i=1.02){const h=c.image?.crops?.original;return!h||!(h.height>h.width*i)||c.image?.crops?.["16:9"]?.reference?c:{...c,image:{...c.image,crops:{...c.image.crops,"16:9":{reference:h.reference,width:h.width,height:h.height,ratio:{width:16,height:9}}}}}}var Fe=t(2182),Tt=t(95779),kt=t(83490),Y=t(63533),J=t(43329),Lt=t(87244),qe=t(86990),tt=t(71908);function pt(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const Wt=t(90391),yt=(0,Fe.A)("div",{target:"e1o5l8yg6",label:"StyledVideoCard"})({...kt.DH,position:"relative",width:"100%",height:"auto",cursor:"pointer",padding:(0,Y.g)(5,0),marginBottom:0,display:"flex",flexWrap:"wrap",flexGrow:"initial",alignItems:"flex-start",flexDirection:"column",[(0,J.C9)("md")]:{marginBottom:(0,Y.g)(15),height:"unset",flexDirection:"row",alignItems:"center"}},""),xt=(0,Fe.A)("div",{target:"e1o5l8yg5",label:"StyledVideoCardMediaWrapper"})({display:"flex",flex:1,marginRight:(0,Y.g)(Ct.q.sevennews.margins.md),width:"100%",position:"relative"},""),st=(0,Fe.A)("div",{target:"e1o5l8yg4",label:"StyledUpNextCopy"})({display:"flex",alignItems:"center",position:"absolute",left:0,bottom:0,background:be.T.black,color:Tt.tokens.sevennews.colors.palette.red,fontSize:(0,Y.g)(12),padding:(0,Y.g)(6),gap:(0,Y.g)(4)},""),ft=(0,Fe.A)(qe.V,{target:"e1o5l8yg3",label:"StyledVideoCardMedia"})({name:"1c5gm2a",styles:'margin-bottom:0;width:100%;& [class*="StyledPlayIcon"], & [class*="StyledMediaIndicator"]{display:none;}'}),vt=(0,Fe.A)("div",{target:"e1o5l8yg2",label:"StyledVideoCardTextWrapper"})({display:"block",flexWrap:"wrap",flex:1,marginTop:(0,Y.g)(5),[(0,J.C9)("md")]:{marginTop:0}},""),lt=(0,Fe.A)("span",{target:"e1o5l8yg1",label:"StyledVideoLength"})({position:"absolute",right:(0,Y.g)(6),bottom:(0,Y.g)(6),color:be.T.white,fontSize:(0,Y.g)(12),fontWeight:700},""),nt=(0,Fe.A)(tt.c,{target:"e1o5l8yg0",label:"StyledVideoCardText"})(({theme:c})=>({display:"flex",margin:0,'& [class*="Card-Headline"]':{fontSize:(0,Y.g)(13),fontFamily:Lt.l.sevennews.sansSerif,[(0,J.C9)("md")]:{fontSize:(0,Y.g)(14)}},'& [class*="StyledHeadlineText"]':{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",lineClamp:3,color:Tt.tokens.sevennews.colors.palette.white,"-webkit-line-clamp":"3","-webkit-box-orient":"vertical"}}),""),At=({containerWidthRatios:c,onEvent:i,displayUpNextCopy:h,item:p,handleCarouselSelection:m,handleSwipperSelection:O,onSelect:se,itemMeta:ye,setNextVideo:ne,index:ue})=>{const Q=(0,n.useRef)(null);if((0,n.useEffect)(()=>{h&&(m(Q.current?.offsetTop),O())},[h]),p.loaded&&(0,Ve.isPublicationCardItem)(p.result)){const le=()=>{se(ye),m(Q.current?.offsetTop),ne()},Ie=X=>{X.key==="Enter"&&(se(ye),m(Q.current?.offsetTop))},j=jt(p.result);return n.createElement(yt,{onClick:le,onKeyDown:Ie,ref:Q,tabIndex:ue},n.createElement(xt,null,n.createElement(ft,{item:{loaded:!0,result:j},onEvent:i,imageWidths:(0,Xe.b)(c,{mobile:"100vw",tablet:"100vw",desktop:`${Ct.q.sevennews.siteMetrics.mainContentWidth}px`,fallbackWidth:Ct.q.sevennews.siteMetrics.mainContentWidth}),fixedRatio:"16:9"}),n.createElement(lt,null,(0,ht.P)(p.result.video.duration)),h&&n.createElement(st,null,n.createElement(Ht,null),n.createElement("span",null,"Up Next"))),n.createElement(vt,null,n.createElement(nt,{item:{loaded:!0,result:p.result},onEvent:i,teaserMode:"hidden",fontScale:1,kickerMode:"hidden",headlineAs:"div"})))}return null};var rt=t(63e3);const at=({onEvent:c,currentVideo:i,onSelect:h,itemMeta:p,isLoading:m,isSevenNewsV2:O})=>
1{const se=(0,n.useRef)(null),ye=(0,n.useRef)(),[ne,ue]=(0,n.useState)(1),Q=(0,n.useMemo)(()=>(0,Pt.c)({loaded:!0,result:(p||[]).map(j=>(0,pe._)(j,{publicUrl:""}))},11),[p]);if((0,n.useEffect)(()=>{Q.forEach((j,X)=>{j.loaded&&j.result.id===i.id&&Q.length>X+1&&ue(X+1)})},[i.id,Q]),!p||p.length===0)return null;const le=j=>{se.current&&j&&(se.current.scrollTop=j-3)},Ie=j=>{ye.current&&j&&ye.current.slideTo(j)};return Q[0].loaded&&(0,Ve.isPublicationCardItem)(Q[0].result)?n.createElement(n.Fragment,null,n.createElement($t,{isSevenNewsV2:O},n.createElement(rt.Ep,{ref:se,onScroll:()=>{typeof window>"u"||typeof document>"u"||window.dispatchEvent(new CustomEvent("scroll"))}},Q.map((j,X)=>{if(j.loaded&&(0,Ve.isPublicationCardItem)(j.result)&&i){const Pe=p.find(je=>j.result.id===je.id);if(Pe)return m?n.createElement(Be.E,{height:120,key:X}):O?n.createElement(At,{key:X,item:j,onEvent:c,displayUpNextCopy:X===ne,handleCarouselSelection:le,handleSwipperSelection:()=>Ie(X),onSelect:h,itemMeta:Pe,setNextVideo:()=>{},index:X}):n.createElement(wt,{key:X,item:j,onEvent:c,isCurrentlyPlaying:j.result.id===i.id,handleCarouselSelection:le,handleSwipperSelection:()=>Ie(X),onSelect:h,itemMeta:Pe})}}))),n.createElement(rt.Bo,{isSevenNewsV2:O},n.createElement(Ye.RC,{slidesPerView:"auto",slidesPerGroup:1,spaceBetween:15,loop:!1,watchOverflow:!0,slideToClickedSlide:!0,onBeforeInit:j=>{ye.current=j}},Q.map((j,X)=>{if(j.loaded&&(0,Ve.isPublicationCardItem)(j.result)){const Pe=p.find(je=>j.result.id===je.id);if(Pe)return n.createElement(Ye.qr,{key:X,virtualIndex:X},m?n.createElement(Be.E,{width:304,height:160,key:X}):O?n.createElement(At,{key:X,item:j,onEvent:c,displayUpNextCopy:X===ne,handleCarouselSelection:le,handleSwipperSelection:()=>Ie(X),onSelect:h,itemMeta:Pe,setNextVideo:()=>ue(X+1),index:X}):n.createElement(wt,{item:j,onEvent:c,isCurrentlyPlaying:j.result.id===i.id,handleCarouselSelection:le,handleSwipperSelection:()=>Ie(X),onSelect:h,itemMeta:Pe}))}})))):null},$t=({children:c,isSevenNewsV2:i})=>(0,Ge.B)()===L.Y.SevenNews?n.createElement(rt.Lo,{isSevenNewsV2:i},c):n.createElement(n.Fragment,null,c);var dt=t(56006),bt=t(60814),we=t(21232);const ct="video-wrapper",ut=({theme:c,wrapperElProps:i,videoElement:h,playlistProps:p,playerState:m,playerOptions:O,playerActions:se,hideSticky:ye,publicUrl:ne,isLoading:ue,adElement:Q,withH1:le})=>{const[Ie,j]=(0,n.useState)(!0),[X,Pe]=(0,n.useState)(!1),{isTabletOrMobile:je}=(0,v.k)(),Re=(0,Ge.B)();(0,n.useEffect)(()=>{j(!0)},[m.currentVideo]);const Mt=!m.canAutoplay&&m.showInternalPlayButton&&!O.playButtonText&&c.kind===L.Y.SevenNews,Zt=async()=>{if(je)if(navigator&&typeof navigator.share<"u")try{await navigator.share({url:ne,text:"test"}),Pe(!1)}catch(Te){Pe(!1),console.error(Te,"Error while sharing")}else Pe(Te=>!Te);else Pe(Te=>!Te)},Kt=m.isMuted&&!m.showTitleOverlay&&(c.kind===L.Y.SevenNews?!0:!m.showInternalPlayButton)&&n.createElement(M.P,{positionState:{alignToTop:O.compactMode,isLowered:c.kind===L.Y.SevenNews?!1:!m.showTopBar&&m.adPlayed||!m.showTopBar&&m.adPlaying},action:se.handleMuteToggle}),gt=m.showInternalPlayButton?n.createElement(K.z,{play:se.playVideo,isCentered:!0,isSmall:O.smallPlayButton}):!1,fe=(Mt||m.showTitleOverlay)&&n.createElement(Ne.Z,{showVideoTitle:Mt,play:se.playVideo,cancelAutoplay:se.stopAutoplay,videoDuration:m.currentVideoMetadata?(0,G.c)(m.currentVideoMetadata.duration):void 0,compactMode:O.compactMode||!1,videoDetails:m.currentVideo,autoplayRemainingTime:m.currentState.type==="autoplay-countdown"?m.currentState.remainingTime:void 0}),{innerRef:mt,...Bt}=i,ot=(0,ie.F)(m.currentVideo);let Ce;if(ot&&(Ce=(0,xe.s)(ot.reference,(0,Le.q)(c.kind),!1)),p&&m.currentVideoMetadata){const Te=(0,ze._)(m.currentVideoMetadata,{publicUrl:ne??""});return n.createElement(n.Fragment,null,Ce&&n.createElement("style",{dangerouslySetInnerHTML:{__html:` 2 @media print { 3 .${A.LS}::before { 4 content: url("${Ce}"); 5 max-width: 600px; 6 } 7 }`}}),n.createElement(we.d4,{className:ct,compactMode:O.compactMode,hide:ye&&O.compactMode,isShowMore:Ie,isVideoHub:!0},n.createElement(we.Uf,null,n.createElement(dt.X,{isSevenNewsV2:!0},ue?n.createElement(Be.E,null):n.createElement(n.Fragment,null,n.createElement(A.Rw,{...Bt,ref:mt,posterImage:Ce},gt,fe,h,Kt))),p&&p.initialVideoMetadata&&m.currentVideoMetadata&&n.createElement(at,{onEvent:()=>{},itemMeta:p.videoQueue.items?p.videoQueue.items:[],currentVideo:Te,currentPath:"/",onSelect:p.handlePlaylistSelect,isLoading:ue,isSevenNewsV2:!0}))),n.createElement(we.Yw,{style:Re!==L.Y.SevenNews?{}:{marginBottom:16}}
7,n.createElement(we.ji,null,n.createElement(we.s2,null,n.createElement(we.TQ,null),n.createElement(we.Ki,{isOpened:X},n.createElement(Ke.S,{videoItem:Te,onEvent:()=>{}})),n.createElement(we.px,{isOpened:X,onClick:Zt},n.createElement(Ze,null))),n.createElement(we.wV,{as:le?"h1":"h2"},Te.headline),n.createElement(bt.r,{description:Te.teaser,showMore:Ie,showMoreHandler:()=>j(dn=>!dn)}),Re!==L.Y.SevenNews&&n.createElement(we.zT,null,n.createElement(de.a,{profiles:Te.profiles,byline:Te.byline,hasBackground:!0,source:Te.source}))),Q&&n.createElement(we.qK,null,Q)))}else return null};var Rt=t(29008);const It=(0,Rt.Ay)({resolved:{},chunkName(){return"SwmPlayerProvider"},isReady(c){const i=this.resolve(c);return this.resolved[i]!==!0?!1:!!t.m[i]},importAsync:()=>Promise.all([t.e(503),t.e(346)]).then(t.bind(t,35071)),requireAsync(c){const i=this.resolve(c);return this.resolved[i]=!1,this.importAsync(c).then(h=>(this.resolved[i]=!0,h))},requireSync(c){const i=this.resolve(c);return t(i)},resolve(){return 35071}});var Ut=t(22683),Ot=t(81487),_e=t(65143),St=t(42247),Vt=t(98203),Gt,Yt;const Qt=null,Dt=(0,Fe.A)("span",{shouldForwardProp:(0,St.q)()(["className"]),target:"e1yzats31",label:"StyledSharingWrap"})(({theme:c})=>({color:c.sectionValues.primaryColor,fontWeight:500,fontSize:(0,Y.g)(12),display:"flex",justifyContent:"flex-start",[`${Vt.sG}`]:{"&::before":{display:"none"}},[(0,J.C9)("md")]:{marginBottom:(0,Y.g)(0)},".BauhausCardSharing":{marginBottom:(0,Y.g)(0),".gtm-facebook-share-button svg":{top:"50%",transform:"translate(-57%, -50%)"},".gtm-facebook-share-button, .gtm-twitter-share-button, .gtm-email-share-button, .gtm-clipboard-share-button":{svg:{fill:be.T.white}}}}),""),d=(0,Fe.A)("div",{target:"e1yzats30",label:"StyledVideoPlayerByline"})(({theme:c})=>({fontSize:(0,Y.g)(12),fontFamily:Lt.l.sevennews.sansSerif,marginTop:0,position:"relative",display:c.kind===L.Y.SevenNews?void 0:"none",fontWeight:400,[(0,J.C9)("md")]:c.kind===L.Y.PerthNow?void 0:{position:"absolute",bottom:0},span:{color:be.T.sevennews.dustyGray,margin:(0,Y.g)(0,3)},[`${Dt}`]:{display:"inline-block",position:"absolute",bottom:(0,_e.P)(c,{fallback:(0,Y.g)(-24),sevennews:(0,Y.g)(-32)}),[(0,J.C9)("sm")]:{position:"unset",verticalAlign:"middle"},[`${Vt.sG}`]:{marginLeft:0,"&::before":{display:"none"},"& > button":{marginRight:(0,Y.g)(10),marginLeft:0},"& > button.gtm-clipboard-share-button:active:before":{opacity:1,transition:"0s"},"& > button.gtm-clipboard-share-button:before":{position:"absolute",top:(0,Y.g)(-35),left:(0,Y.g)(-31),width:(0,Y.g)(98),opacity:0,padding:(0,Y.g)(6),content:'"\u2713 Link Copied "',transition:"opacity 1.7s cubic-bezier(.0,.05,1,-0.24)",fontFamily:c.fonts.sansSerif,fontSize:(0,Y.g)(12),fontWeight:600,background:c.colors.palette.black,color:c.colors.palette.white,pointerEvents:"none"}}}}),""),B="video-wrapper",z=c=>{const h=[...new DOMParser().parseFromString(c,"text/html").body.childNodes].map((p,m)=>{if(p.nodeName==="A"){const O=p;return n.createElement(Ot.Y,{key:m,href:O.href,openInNewWindow:!0},O.textContent)}else return p.textContent});return n.createElement(n.Fragment,null,h)},re=({theme:c,wrapperElProps:i,videoElement:h,playlistProps:p,playerState:m,playerOptions:O,playerActions:se,hideSticky:ye,setHideSticky:ne,publicUrl:ue,onPlayNextVideo:Q,isLoading:le,withH1:Ie})=>{const[j,X]=(0,n.useState)(!0),{isMobile:Pe}=(0,v.k)(),je=m.showInternalPlayButton&&Pe;(0,n.useEffect)(()=>{X(!0)},[m.currentVideo]);const Re=!m.canAutoplay&&m.showInternalPlayButton&&!O.playButtonText&&c.kind===L.Y.SevenNews,Mt=je||Re,Zt=m.isMuted&&!m.showTitleOverlay&&(c.kind===L.Y.SevenNews?!0:!m.showInternalPlayButton)&&n.createElement(M.P,{positionState:{alignToTop:O.compactMode,isLowered:c.kind===L.Y.SevenNews?!1:!m.showTopBar&&m.adPlayed||!m.showTopBar&&m.adPlaying},action:se.handleMuteToggle}),Kt=m.showInternalPlayButton?n.createElement(K.z,{play:se.playVideo,isCentered:!0,isSmall:O.smallPlayButton}):!1,gt=(Mt||m.showTitleOverlay)&&n.createElement(Ne.Z,{showVideoTitle:Mt,play:se.playVideo,cancelAutoplay:se.stopAutoplay,videoDuration:m.currentVideoMetadata?(0,G.c)(m.currentVideoMetadata.duration):void 0,compactMode:O.compactMode||!1,videoDetails:m.currentVideo,autoplayRemainingTime:m.currentState.type==="autoplay-countdown"?m.currentState.remainingTime:void 0}),{innerRef:fe,...mt}=i,Bt=(0,ie.F)(m.currentVideo);let ot;if(Bt&&(ot=(0,xe.s)(Bt.reference,(0,Le.q)(c.kind),!1)),p&&m.currentVideoMetadata){const Ce=(0,pe._)(m.currentVideoMetadata,{publicUrl:ue??""});return n.createElement(n.Fragment,null,ot&&n.createElement("style",{dangerouslySetInnerHTML:{__html:` 8 @media print { 9 .${A.LS}::before { 10 content: url("${ot}"); 11 max-width: 600px; 12 } 13 }`}}),n.createElement(A.d4,{className:B,compactMode:O.compactMode,hide:ye&&O.compactMode,isShowMore:j,isVideoHub:!0},n.createElement(dt.X,null,le?n.createElement(Be.E,null):n.createElement(n.Fragment,null,n.createElement(A.Rw,{...mt,ref:fe,posterImage:ot},Kt,gt,h,Zt),n.createElement(dt.o8,null,c.kind==="perthnow"&&n.createElement(He.Fz,{style:{textTransform:"capitalize"},size:"large"},Ce.primaryTopic.title),c.kind==="thewest"&&n.createElement(He.Fz,{style:{textTransform:"uppercase"},size:"large"},Ce.primaryTopic.title,n.createElement(He.QH,null,n.createElement(et.N,{width:14,height:14,horizontalSpacing:6,className:it.qs}))),c.kind==="sevennews"&&n.createElement(He.Fz,null,Ce.primaryTopic.title),n.createElement(dt.wV,{as:Ie?"h1":"h2"},Ce.headline),c.kind==="sevennews"?n.createElement(bt.r,{description:Ce.teaser,showMore:j,showMoreHandler:()=>X(Te=>!Te)}
13):n.createElement(dt.G1,null,z(Ce.teaser)),n.createElement(d,null,c.kind==="sevennews"&&n.createElement(bt.M,{profiles:Ce.profiles}),n.createElement(Dt,{className:"StyledSharingWrap"},n.createElement(Ut.r,{className:"BauhausCardSharing",url:Ce._self,text:Ce.headline,isGhostStyle:!0,onEvent:()=>{},shareOptions:["facebook","twitter","clipboard"],isBauhaus:!0})))))),p&&p.initialVideoMetadata&&m.currentVideoMetadata&&n.createElement(at,{onEvent:()=>{},itemMeta:p.videoQueue.items?p.videoQueue.items:[],currentVideo:Ce,currentPath:"/",onSelect:p.handlePlaylistSelect,isLoading:le})))}else return null};var F=t(80461);const te=(0,Fe.A)("div",{target:"e1dhcnxc0",label:"VerticalVideoWrapper"})(({theme:c})=>({position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:(0,_e.P)(c,{sevennews:be.T.black,fallback:be.T.black}),display:"flex",justifyContent:"center",alignItems:"center","::before":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:(0,Y.g)(57),pointerEvents:"none",zIndex:2,background:"linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0))"},".video-js":{width:"100%"},".video-specificity .video-js video.vjs-tech":{backgroundColor:be.T.black,height:"100%",left:"50%",objectFit:"cover",transform:"translateX(-50%)",[(0,J.SE)("sm")]:{"@media (max-aspect-ratio: 9/16)":{objectFit:"contain",transform:"translateX(-50%)"}}},'.video-specificity [class*="StyledBrightcoveVideo"] .vjs-control-bar':{background:"transparent",bottom:"-39px !important",transform:"translateY(0) !important",zIndex:16,padding:"0 !important","& .vjs-time-control":{display:"none"},"& > :not(.vjs-progress-control)":{display:"none"},"& .vjs-progress-control":{display:"block",flex:"1 1 auto",top:"0 !important",height:(0,Y.g)(6)}},'.video-specificity [class*="StyledBrightcoveVideo"] .vjs-custom-control-spacer':{display:"none"},".VerticalVideoTapOverlay":{position:"absolute",inset:0,zIndex:2,cursor:"pointer"},".Play-Overlay:hover":{background:"transparent"},'& [class*="StyledUnmuteButton"] ':{top:(0,Y.g)(10)+"!important",left:"auto",right:(0,Y.g)(16),zIndex:3}}),""),he=({theme:c,wrapperElProps:i,videoElement:h,playerState:p,playerOptions:m,playerActions:O,hideSticky:se})=>{const[ye,ne]=(0,n.useState)(!1),[ue,Q]=(0,n.useState)(!1),le=(0,n.useRef)(null),Ie=(0,n.useRef)(null);(0,n.useEffect)(()=>{ne(!1),Q(!1)},[p.currentVideo.id]),(0,n.useEffect)(()=>{const fe=le.current?.querySelector("video");if(!fe)return;Ie.current=fe;let mt=!0;const Bt=()=>{mt&&ne(!1)},ot=()=>{mt&&ne(!1)},Ce=()=>{mt&&ne(!0)},Te=()=>{mt&&(Q(!0),ne(fe.paused))};return fe.readyState>0&&(Q(!0),ne(fe.paused)),fe.addEventListener("play",Bt),fe.addEventListener("playing",ot),fe.addEventListener("pause",Ce),fe.addEventListener("loadedmetadata",Te),()=>{mt=!1,fe.removeEventListener("play",Bt),fe.removeEventListener("playing",ot),fe.removeEventListener("pause",Ce),fe.removeEventListener("loadedmetadata",Te)}},[p.currentVideo.id,h]);const j=()=>{O.handleMuteToggle()},X=()=>{if(p.adPlaying)return;const fe=le.current?.querySelector("video");fe&&(fe.paused?(ne(!1),O.playVideo(),fe.play().catch(()=>{})):(O.pauseVideo(),fe.pause(),ne(!0)))},Pe=()=>{},je=p.showTitleOverlay?null:n.createElement(M.P,{variant:"vertical",positionState:{alignToTop:!0},isMuted:p.isMuted,action:j}),{innerRef:Re,onTouchEnd:Mt,...Zt}=i,Kt=gt=>{Re(gt),le.current=gt};return n.createElement(A.d4,{...Zt,compactMode:m.compactMode,hide:se&&m.compactMode,onTouchEnd:Mt,ref:Kt},n.createElement(te,null,n.createElement(A.Rw,null,n.createElement("div",{className:"VerticalVideoTapOverlay",onClick:X,style:{pointerEvents:p.adPlaying?"none":"auto"}},ye&&ue&&p.currentVideoMetadata&&n.createElement(K.z,{play:Pe,isCentered:!0,isSmall:m.smallPlayButton})),h,je)))};class ce extends n.Component{mounted=!1;playerOffsetWidth=0;autoplayInterval;constructor(i){super(i),this.state={adStarted:!1,adPlayed:!1,adPlaying:!1,adPaused:!1,videoStarted:!1,videoPlaying:!1,videoPaused:!1,autoplayHasCompleted:!1,isFullscreen:!1,currentVideo:this.props.videoDetails,currentVideoMetadata:void 0,initialVideoMetadata:void 0,currentVideoPlaylistType:"not-playlist-video",showTopBar:!0,playWhenReady:i.playWhenReady||!1,videoPlayable:!1,showInternalPlayButton:!0,isMuted:!0,canAutoplay:!1,videoQueue:{type:"not-playlist-video",items:[]},queuePosition:i.isVideoHub?1:0,playerState:{type:"other"}}}async componentDidMount(){try{this.mounted=!0;const i=await(0,u.yb)(this.state.currentVideo.id,this.state.currentVideo.accountId,this.props.config,this.props.logger);if(!this.mounted)return;const h=await(0,E.v)({forceEnableAutoplay:this.props.isVideoHub||this.props.canAutoPlay});if(!this.mounted)return;const p=h!==E.On.CannotAutoplay,m=this.props.autoplayOptions!==!1&&p;m&&this.props.autoplayOptions!==!1&&this.state.playWhenReady===!1&&this.initAutoplay(this.props.autoplayOptions);const O={...this.state.currentVideo,source:(0,u.o1)(i.source,i.sourceExtra)};this.setState({currentVideo:O,currentVideoMetadata:i,initialVideoMetadata:i,isMuted:!0,canAutoplay:p,showTopBar:!0,showInternalPlayButton:!m&&!this.state.playWhenReady||!1})}catch(i){this.props.logger.error({err:i},"metadata get failed")}}isPlaylistDifferent(i,h){return JSON.stringify([...h].sort((p,m)=>p.id-m.id))!==JSON.stringify([...i].sort((p,m)=>p.id-m.id))}async componentDidUpdate(i){if(i.videoDetails?.id!==this.props.videoDetails.id){const h=await(0,u.yb)(this.props.videoDetails.id,this.props.videoDetails.accountId,this.props.config,this.props.logger),p={...this.props.videoDetails,source:(0,u.o1)(h.source,h.sourceExtra)};this.setState({currentVideo:p,currentVideoMetadata:h,initialVideoMetadata:h})}if(this.props.isVideoHubPlayListFixEnabled&&this.props.isVideoHub){const h=await this.props.getVideoQueue();this.isPlaylistDifferent(this.state.videoQueue.items,h.items)&&this.setState({videoQueue:h})}!i.playWhenReady&&this.props.playWhenReady&&!this.state.playWhenReady&&this.playVideo(),this.props.autoplayOptions&&this.props.autoplayOptions.pauseWhenOutOfView&&((i.inViewport>=50&&this.props.inViewport<50||document.hidden&&!this.state.videoPaused)&&this.pauseVideo(),i.inViewport<50&&this.props.inViewport>=50&&this.resumeVideo())}componentWillUnmount(){this.mounted=!1,this.autoplayInterval!==void 0&&y.clearInterval(this.autoplayInterval)}initAutoplay=i=>{this.mounted&&this.setState({playerState:{type:"autoplay-countdown",auto
13playOptions:i,remainingTime:i&&i.delayDuration?i.delayDuration:0}},()=>{this.autoplayInterval=y.setInterval(this.updateAutoplayTime,1e3)})};updateAutoplayTime=()=>{if(this.state.playerState.type!=="autoplay-countdown"){this.props.logger.error({playerState:this.state.playerState},"Received updateAutoplayTime event when not in autoplay-countdown state");return}const i=this.props.inViewport>50;if(!(this.state.playerState.autoplayOptions.pauseCountdownOutsideViewport&&(i===!1||document.hidden))){if(this.state.playerState.remainingTime>0){const h=this.state.playerState.remainingTime-1;return this.setState(p=>({playerState:{...p.playerState,remainingTime:h}}))}this.autoplayComplete()}};autoplayComplete=()=>{this.autoplayInterval!==void 0&&y.clearInterval(this.autoplayInterval),this.setState({playerState:{type:"other"},showTopBar:!0,playWhenReady:!0,autoplayHasCompleted:!0,showInternalPlayButton:!1})};cancelAutoplay=()=>{this.autoplayInterval!==void 0&&y.clearInterval(this.autoplayInterval),this.setState({playerState:{type:"other"}})};stopAutoplay=()=>{this.cancelAutoplay(),this.setState({autoplayHasCompleted:!1,showInternalPlayButton:!0})};playerReady=async()=>{if(this.props.autoplayNextOptions)try{const i=await this.props.getVideoQueue();this.setState({videoQueue:i})}catch(i){this.props.logger.error({err:i},"getVideoQueue() failed!")}};videoCompleted=async()=>{this.state.videoQueue.items[this.state.queuePosition]&&((0,g.e)("Video play completed"),this.props.autoplayNextOptions!==!1&&this.initAutoplay(this.props.autoplayNextOptions))};variant=()=>this.props.videoOptions.canAutoplayVideos?"Autoplay":"Default-BigPlayButton";handleMuteToggle=()=>{this.setState({isMuted:!this.state.isMuted})};onPlayerEvent=async i=>{switch((0,g.e)("Video event raised",i),i.type){case r.b.playToPauseError:this.setState({showInternalPlayButton:!this.props.isVideoHub,playWhenReady:!1,adPlaying:!1,adPlayed:!0});break;case r.b.playbackError:this.setState({videoPlayable:!0});break;case r.b.playerReady:await this.playerReady(),this.setState({videoPlayable:!0});break;case r.b.videoAvailable:this.state.playWhenReady&&this.playVideo();break;case r.b.videoPlay:this.cancelAutoplay(),this.setState({showInternalPlayButton:!1,playWhenReady:!1,videoPlaying:!0}),this.props.onUserInteraction(i);return;case r.b.videoStart:this.setState({showInternalPlayButton:!1,videoStarted:!0,adPlayed:!0,adPlaying:!1,adPaused:!1,videoPlaying:!0,videoPaused:!1});break;case r.b.videoPause:this.setState({showInternalPlayButton:!1,adPlayed:!0,videoPlaying:!1,showTopBar:!0});break;case r.b.videoEnd:this.videoCompleted();break;case r.b.adError:break;case r.b.adStart:this.cancelAutoplay(),this.setState({showInternalPlayButton:!1,adStarted:!0,adPlayed:!1,adPlaying:!0,adPaused:!1,showTopBar:!0});break;case r.b.adPause:this.setState({adPlayed:!1,adPlaying:!1,adPaused:!0});break;case r.b.adPlay:this.setState({adPlayed:!1,adPlaying:!0,adPaused:!1});break;case r.b.adEnd:this.setState({adPlayed:!0,adPaused:!1,adPlaying:!1});break;case r.b.adPodComplete:this.setState({adPlayed:!0,adPlaying:!1,adPaused:!1});break;case r.b.playerFullscreenEnter:this.setState({isFullscreen:!0});break;case r.b.playerFullscreenExit:this.setState({isFullscreen:!1});break;case r.b.playerUserInactive:!this.state.videoPaused&&this.setState({showTopBar:!1});break;case r.b.playerUserActive:this.setState({showTopBar:!0});break;case r.b.videoVolumeChange:i.payload.muted||this.setState({isMuted:!1});break;case r.b.adVolumeChange:i.payload.muted||this.setState({isMuted:!1});break}this.props.onEvent(i)};handleMouseEnter=i=>{this.setState({showTopBar:!0})};handleMouseMove=i=>{this.state.showTopBar||this.setState({showTopBar:!0})};handleMouseLeave=i=>{(this.state.adPlayed||this.state.videoStarted)&&this.setState({showTopBar:!1})};handlePlaylistScroll=()=>{this.props.onUserInteraction({type:r.b.playlistScroll,originator:"playlist-event",payload:{}})};setRef=i=>{i&&(this.playerOffsetWidth=i.offsetWidth),this.props.innerRef(i)};playVideo=()=>{this.setState({playWhenReady:!1},()=>{this.setState({playWhenReady:!0,showInternalPlayButton:!1,videoPaused:!1,videoPlaying:!!this.state.adPlayed,adPlaying:!!this.state.adPlayed,adPaused:!1})})};pauseVideo=()=>{this.setState({videoPaused:!!this.state.adPlayed,videoPlaying:!1,adPlaying:!1,adPaused:!!this.state.adPlayed})};resumeVideo=()=>{this.setState(()=>{this.setState({videoPaused:!1,videoPlaying:!0,playWhenReady:!0})})};handleUserInactive=()=>{this.setState({showTopBar:!1})};render(){const{videoOptions:i}=this.props,h=this.props.playerProvider(),p={isMuted:this.state.isMuted,adStarted:this.state.adStarted,adPlayed:this.state.adPlayed,adPlaying:this.state.adPlaying,adPaused:this.state.adPaused,videoStarted:this.state.videoStarted,videoPlaying:this.state.videoPlaying,videoPaused:this.state.videoPaused,canAutoplay:this.state.canAutoplay,currentVideo:this.state.currentVideo,currentVideoMetadata:this.state.currentVideoMetadata,currentVideoPlaylistType:this.state.currentVideoPlaylistType,isFullscreen:this.state.isFullscreen,showInternalPlayButton:this.state.showInternalPlayButton,showTitleOverlay:this.state.playerState.type==="autoplay-countdown",showTopBar:this.state.showTopBar,inViewport:this.props.inViewport,currentState:this.state.playerState};return this.props.renderPlayer({theme:this.props.theme,playerActions:{handleMuteToggle:this.handleMuteToggle,playVideo:this.playVideo,stopAutoplay:this.stopAutoplay,pauseVideo:this.pauseVideo,resumeVideo:this.resumeVideo,handleUserInactive:this.handleUserInactive},playerOptions:i,playerState:p,wrapperElProps:{innerRef:this.setRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove},videoElement:this.state.currentVideoMetadata?n.createElement("div",null,n.createElement(h,{logger:this.props.logger,config:this.props.config,playerOptions:{...i,brightcovePlayerId:w._}
13,isMuted:this.state.isMuted,adPlaying:this.state.adPlaying,autoplayOptions:this.props.autoplayOptions,autoplayHasCompleted:this.state.autoplayHasCompleted,play:this.state.videoPlayable&&this.state.playWhenReady,pause:this.state.videoPaused,currentVideo:this.state.currentVideo,currentVideoMetadata:this.state.currentVideoMetadata,currentVideoPosition:this.state.queuePosition,playlistType:this.state.currentVideoPlaylistType,isFullscreen:this.state.isFullscreen,onEvent:this.onPlayerEvent,pagePosition:this.props.pagePosition,variant:this.variant(),product:this.props.theme.kind,pathname:this.props.pathname,isVideoHub:this.props.isVideoHub})):null})}}const We=n.createContext(c=>{const i=typeof bc<"u";return i||c.warn("Global brightcove object does not exist"),i?It:()=>null}),Qe=(0,D.K)(c=>{const i=(0,b.u)(),h=(0,n.useContext)(We),p=(0,n.useContext)(o.Y),m=(0,n.useContext)(I.Q),O=(0,Me.C)(),{error:se,loading:ye}=(0,R.n)({src:t(40120)}),ne=(0,n.useContext)(P.R),[ue,Q]=(0,n.useState)(!0),le=(0,a.zy)(),Ie=(0,k.iT)("7-news-video-hub-playlist-fix",!1),j=i.kind==="perthnow",X=i.kind==="sevennews"&&(0,k.iT)("7-news-2-video-hub",!1),Pe=j?F.R5:s.r,je=j&&!c.videoDetails.isVerticalVideo?ce:$;return(ne||ye||se||!ue)&&!c.isVideoHub?n.createElement(Pe,{theme:i,playerActions:{playVideo:()=>{Q(!0)},handleMuteToggle:()=>{},stopAutoplay:()=>{},closeStickyVideo:()=>{},pauseVideo:()=>{},resumeVideo:()=>{},handleUserInactive:()=>{}},playerOptions:{compactMode:c.videoOptions.compactMode,playButtonText:c.playButtonText,mediaFit:c.videoOptions.mediaFit},playerState:{adStarted:!1,adPlayed:!1,adPlaying:!1,adPaused:!1,videoStarted:!1,videoPlaying:!1,videoPaused:!1,canAutoplay:!1,currentState:{type:"other"},currentVideo:c.videoDetails,currentVideoMetadata:void 0,currentVideoPlaylistType:"not-playlist-video",inViewport:c.inViewport,isFullscreen:!1,isMuted:c.forcedMuted??!1,showInternalPlayButton:!0,showTitleOverlay:!1,showTopBar:!1},videoElement:null,wrapperElProps:{onMouseEnter:()=>{},onMouseLeave:()=>{},onMouseMove:()=>{},onTouchEnd:()=>{},onTouchStart:()=>{},innerRef:()=>{}},hideSticky:c.hideSticky,setHideSticky:c.setHideSticky}):n.createElement(x.t,{log:p,renderError:Re=>n.createElement(A.rK,null,n.createElement("p",null,"An error has occurred with this video."),n.createElement(N.$,{onClick:()=>Re()},"Click here to retry"))},n.createElement(je,{...c,theme:i,config:{...m,nielsenApid:O},logger:p,playerProvider:()=>h(p),renderPlayer:Re=>c.isVideoHub?X?n.createElement(ut,{...Re,hideSticky:c.hideSticky,setHideSticky:c.setHideSticky,publicUrl:c.publicUrl,currentPath:c.currentPath,onPlayNextVideo:c.onPlayNextVideo,isLoading:ye,adElement:c.adElement,withH1:c?.currentPath?.match(/bc-[0-9]+$/)!==null}):n.createElement(re,{...Re,hideSticky:c.hideSticky,setHideSticky:c.setHideSticky,publicUrl:c.publicUrl,currentPath:c.currentPath,onPlayNextVideo:c.onPlayNextVideo,isLoading:ye,withH1:c?.currentPath?.match(/bc-[0-9]+$/)!==null}):c.videoDetails.isVerticalVideo===!0?n.createElement(he,{...Re}):j?n.createElement(F.R5,{...Re,canAutoPlay:c.canAutoPlay,isVideoSticky:c.isStickyVideo}):n.createElement(s.r,{...Re,hideSticky:c.hideSticky,setHideSticky:c.setHideSticky}),pathname:le.pathname,isVideoHubPlayListFixEnabled:Ie,isPerthNow:j}))});Qe.displayName="Video"}),26228:(function(U,W,t){"use strict";t.d(W,{r:function(){return Dt},e:function(){return Qt}});var b=t(42860),I=t(46613),P=t(30072),k=t.n(P),n=t(14041),a=t(42577),R=t(53139),N=t(76403),r=t(2182),y=t(86146),w=t(19108),E=t(87244),u=t(78643),g=t(53417),$=t(43329),s=t(63533),o=t(83490),x=t(65143);function D(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const Me=(0,r.A)("div",{target:"eqlq6nf4",label:"StyledTopBar"})({position:"absolute",zIndex:g.f.common.videoTopBar,width:"100%",padding:(0,s.g)(10),transition:"transform 100ms ease, opacity 100ms ease",pointerEvents:"none"},({theme:d,compactMode:B})=>({padding:(0,x.P)(d,{thewest:(0,s.g)(10,10,10,56),sevennews:B?0:(0,s.g)(10,10,10,u.q.sevennews.margins.md),thenightly:B?0:(0,s.g)(10,10,10,u.q.thenightly.margins.md),fallback:`${(0,s.g)(10)}`}),fontFamily:(0,x.P)(d,{thewest:E.l.thewest.sansSerif,perthnow:E.l.perthnow.sansSerifCond,sevennews:E.l.sevennews.sansSerifCond,thenightly:E.l.thenightly.sansSerif,fallback:void 0}),background:(0,x.P)(d,{perthnow:w.T.black80,thewest:"rgba(255,255,255,0.9)",sevennews:`linear-gradient(to top, ${(0,o.zX)(w.T.black,0)}, ${w.T.black35} 80%)`,thenightly:`linear-gradient(to top, ${(0,o.zX)(w.T.black,0)}, ${w.T.black35} 80%)`,fallback:void 0}),color:(0,x.P)(d,{perthnow:w.T.white,thewest:w.T.black,sevennews:w.T.white,thenightly:w.T.white,fallback:void 0}),height:(0,x.P)(d,{sevennews:"100%",thenightly:"100%",fallback:void 0})}),({isVisible:d,theme:B})=>d===!1&&B.kind!=="sevennews"&&B.kind!=="thenightly"&&{transition:"transform 1000ms ease",transform:"translateY(-100%)"},({isVisible:d,theme:B})=>d===!1&&(B.kind==="sevennews"||B.kind==="thenightly")&&{transition:"opacity 1000ms ease",opacity:0}
13,{"& .video-js__logo":{width:(0,s.g)(36),height:(0,s.g)(33),fill:w.T.black,position:"absolute",top:(0,s.g)(11),left:(0,s.g)(11)}},""),L=(0,r.A)("div",{target:"eqlq6nf3",label:"StyledInset"})("line-height:1;",({theme:d})=>(d.kind==="sevennews"||d.kind==="thenightly")&&{display:"flex",alignItems:"center",justifyContent:"space-between"},""),xe=(0,r.A)("div",{target:"eqlq6nf2",label:"StyledHeadingAndLogoContainer"})({name:"s5xdrg",styles:"display:flex;align-items:center"}),ze=(0,r.A)("h3",{target:"eqlq6nf1",label:"StyledHeading"})({fontSize:(0,s.g)(16),overflow:"hidden",margin:0,marginBottom:(0,s.g)(3),width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:1.15},({theme:d})=>[{fontSize:(0,x.P)(d,{sevennews:(0,s.g)(17),perthnow:(0,s.g)(18),fallback:(0,s.g)(16)})},d.kind==="sevennews"&&{fontWeight:500,color:w.T.white,whiteSpace:"normal",padding:(0,s.g)(u.q.sevennews.margins.sm),width:"auto",marginBottom:0},d.kind==="thenightly"&&{fontWeight:400},{[(0,$.C9)("sm")]:{fontSize:(0,x.P)(d,{perthnow:(0,s.g)(28),fallback:(0,s.g)(16)})}}],""),Ge=(0,r.A)(y.X,{target:"eqlq6nf0",label:"StyledVideoMetadata"})({fontSize:(0,s.g)(12),overflow:"hidden",margin:0,width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap"},"");var Be=t(57599);const be=(0,r.A)("img",{target:"eoa92oq1",label:"StyledSourceLogo"})({marginRight:(0,s.g)(8),width:(0,s.g)(70)},""),Ze=(0,r.A)("span",{target:"eoa92oq0",label:"StyledSourceFallback"})({whiteSpace:"nowrap",padding:(0,s.g)(u.q.sevennews.margins.sm)},"");var Ke=t(77192);const v=d=>n.createElement(Me,{className:"video-js__overlay video-js__overlay--pause",isVisible:d.isVisible},n.createElement(L,{className:"video-js__metadata"},n.createElement(ze,{className:"video-js__heading"},d.videoDetails.heading),d.theme.kind==="thewest"&&n.createElement(Be.Y,{className:"video-js__logo"}),n.createElement(Ge,{duration:d.theme.kind==="thewest"?d.videoDuration:void 0,source:d.videoDetails.source,type:d.videoDetails.videoType}))),A=({isVisible:d,videoDetails:B,compactMode:z})=>{const{source:re}=B;return n.createElement(Me,{compactMode:z,className:"video-js__overlay video-js__overlay--pause",isVisible:d},n.createElement(L,{className:"video-js__metadata"},n.createElement(xe,null,n.createElement(ze,{className:"video-js__heading"},B.heading)),re&&n.createElement(Ze,null,"(Source: ",re,")")))},K=d=>n.createElement(Ke.k,{sevennews:()=>n.createElement(A,{...d}),thewest:()=>n.createElement(v,{...d}),perthnow:()=>n.createElement(v,{...d}),thenightly:()=>n.createElement(A,{...d})});K.displayName="TopBar";var Ne=t(90817),M=t(19494),G=t(30668),de=t(80719),ie=t(13133),Le=t(31358);const pe=(0,r.A)(ie.A,{target:"eibdpt53",label:"RestyledPlayIcon"})(({height:d})=>({height:(0,s.g)(d),width:(0,s.g)(1.5*d),fill:w.T.white,paddingRight:(0,s.g)(d*2/3)}),""),Ve=(0,r.A)(de.Fz,{target:"eibdpt52",label:"RestyledKicker"})(({theme:d})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",top:"auto",bottom:(0,s.g)(6),"&:hover, &:active, &:focus":{background:(0,x.P)(d,{sevennews:B=>B.flyoutNav.hoverColour,fallback:void 0})},[(0,$.SE)("xs")]:{display:"flex"}}),""),Ye=(0,r.A)(Le.Ey,{target:"eibdpt51",label:"StyledLive"})({marginLeft:(0,s.g)(9)},""),Xe=(0,r.A)("span",{target:"eibdpt50",label:"StyledDuration"})(({iconHeight:d})=>({paddingLeft:(0,s.g)(d*2/3),fontWeight:400,minWidth:"2.5em"}),""),et="KickerPlayButton",Et=16,it=({text:d,duration:B="",play:z,playable:re,type:F})=>{const te=(0,G.u)(),he=F==="live"?n.createElement(Ye,null):n.createElement(Xe,{iconHeight:Et},B);return n.createElement(Ve,{className:et,kickerPosition:"bottomleftinset-herovideo",kickerType:"block",theme:te,iconHeight:Et,onClick:ce=>{re&&(ce.preventDefault(),z())}},n.createElement(pe,{height:Et}),n.createElement("span",null,d),he)};it.displayName=et;const He=({className:d})=>n.createElement("svg",{className:d,width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M13.4558 1.11713c.3549-.360802.9998-.301938 1.4405.13148.4406.43342.5102 1.07726.1553 1.43807L2.20038 15.7526c-.35488.3608-.99978.3019-1.440443-.1315-.440658-.4334-.510197-1.0772-.15532-1.438L13.4558 1.11713z",fill:"#fff"}),n.createElement("path",{d:"M15.1416 14.0573c.3605.3546.3012.9995-.1325 1.4405-.4338.441-1.0777.511-1.4382.1564L.514634 2.81248c-.360539-.35462-.301199-.99958.13254-1.44056C1.08091.930933 1.7248.860917 2.08534 1.21553L15.1416 14.0573z",fill:"#fff"}));var Je=t(97331),wt=t.n(Je),Pt=t(39827);const Ct=(0,Pt.L)()?!1:/Edge\/\d./i.test(navigator.userAgent);
13function Ht(){const[d,B]=(0,n.useState)({x:{percentage:0,value:0,total:0,className:""},y:{percentage:0,value:0,total:0,className:""}}),z=(0,n.useRef)(null),re=500;function F(){const ce=z.current;if(!ce)return;let We=ce.scrollHeight-ce.clientHeight;const Qe=ce.scrollWidth-ce.clientWidth;Ct&&We===1&&ce.scrollTop===0&&(We=0);const c=We!==0?ce.scrollTop/We:null,i=Qe!==0?ce.scrollLeft/Qe:null;let h="no-scroll-y";c===0?h="scroll-top":c===1?h="scroll-bottom":c&&(h="scroll-middle-y");let p="no-scroll-x";i===0?p="scroll-left":i===1?p="scroll-right":i&&(p="scroll-middle-x");const m={x:{percentage:i,value:ce.scrollLeft,total:Qe,className:p},y:{percentage:c,value:ce.scrollTop,total:We,className:h}};B(m)}const te=wt()(F,re),he=(0,n.useCallback)(ce=>{ce?(ce.addEventListener("scroll",te),window.addEventListener("resize",te),z.current=ce,te()):z.current&&(z.current.removeEventListener("scroll",te),window.removeEventListener("resize",te))},[]);return[d,he,z]}var ht=t(50291),jt=t(69555),Fe=t(38953),Tt=t(67380),kt=t(4637);const Y=({className:d,title:B})=>n.createElement("svg",{viewBox:"0 0 16 29",className:d,xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,B||"Chevron Left Icon"),n.createElement("path",{transform:"rotate(-180 6.599999904632568,14.133500099182129) ",d:"m0.79,0.236l3.5,0l8.12,13.727l-8.11,14.068l-3.51,0l8.149,-14.049l-8.149,-13.746z"}));var J=t(84397);function Lt(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const qe=98,tt=180,pt=28,Wt=(0,r.A)("span",{target:"e5denmy15",label:"StyledUpNextText"})(({theme:d})=>({fontSize:(0,s.g)(14),fontWeight:700,lineHeight:(0,s.g)(20),marginBottom:(0,s.g)(5),fontFamily:d.fonts.sansSerifCond,color:w.T.white,textTransform:"uppercase"}),""),yt=(0,r.A)("div",{target:"e5denmy14",label:"StyledPlaylistWrapper"})(({theme:d,upNextVisible:B,compactMode:z,hide:re})=>{let F=z?qe:tt;return z||(F=B?tt:tt-pt),{display:re?"none":"grid",height:(0,x.P)(d,{thewest:F+5,fallback:F}),position:"relative",backgroundColor:w.T.black,paddingTop:d.margins.sm,paddingLeft:(0,x.P)(d,{perthnow:d.margins.sm,fallback:void 0}),paddingRight:(0,x.P)(d,{perthnow:d.margins.sm,fallback:void 0}),[(0,$.C9)("sm")]:{paddingBottom:(0,x.P)(d,{thewest:d.margins.md,fallback:d.margins.sm}),paddingLeft:z?d.margins.sm:d.margins.md,paddingRight:z?d.margins.sm:d.margins.md}}},""),xt=(0,r.A)("ul",{target:"e5denmy13",label:"StyledVideoPlaylist"})({name:"19zjb4u",styles:"display:flex;position:relative;list-style:none;padding:0;margin:0;scroll-snap-type:x mandatory;scroll-snap-stop:always;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}"}),st=(0,r.A)("div",{target:"e5denmy12",label:"StyledPlaylistActions"})({position:"absolute",width:"100%",left:0,top:0,display:"none",[(0,$.C9)("sm")]:{display:"block"}},""),ft=(d,B)=>({position:"absolute",padding:(0,s.g)(0,22),height:(0,s.g)(151),border:"none",background:"none",cursor:"pointer",color:w.T.white,marginTop:d?(0,s.g)(29):0,...(0,o.kY)({properties:["opacity"],speed:"med"}),"&:hover, &:active":{color:(0,x.P)(B,{sevennews:z=>z.video.focusColor,perthnow:w.T.perthnow.pinkThulite,thewest:void 0,fallback:void 0}),"& > svg":{left:"50%"}},"&:focus":{outline:"none"}}),vt={content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,pointerEvents:"none"},lt=(0,r.A)("button",{target:"e5denmy11",label:"StyledRotateLeftButton"})(({visible:d,upNextVisible:B,theme:z})=>({...ft(B,z),left:0,opacity:d?1:0,pointerEvents:d?"auto":"none","&::before":{...vt,right:"-30%",...(0,kt.qy)({colorStops:["transparent",w.T.black],fallback:"transparent",toDirection:"270deg"})}}),""),nt=(0,r.A)("button",{target:"e5denmy10",label:"StyledRotateRightButton"})(({visible:d,upNextVisible:B,theme:z})=>({...ft(B,z),right:0,opacity:d?1:0,pointerEvents:d?"auto":"none","&::before":{...vt,left:"-30%",...(0,kt.qy)({colorStops:["transparent",w.T.black],fallback:"transparent",toDirection:"90deg"})}}),""),At=(0,r.A)(J.I,{target:"e5denmy9",label:"StyledIconChevronRight"})({position:"absolute",top:(0,s.g)(79),left:"40%",width:(0,s.g)(12),height:(0,s.g)(20),color:"inherit",fill:"
13currentColor",transform:"translate(-50%, -50%)",...(0,o.kY)({properties:["left","color"],speed:"med"})},""),rt=(0,r.A)(Y,{target:"e5denmy8",label:"StyledIconChevronLeft"})({position:"absolute",top:(0,s.g)(79),left:"50%",width:(0,s.g)(12),height:(0,s.g)(20),color:"inherit",fill:"currentColor",transform:"translate(-50%, -50%)",...(0,o.kY)({properties:["left","color"],speed:"med"})},""),at=(0,r.A)("li",{target:"e5denmy7",label:"StyledVideoPlaylistItem"})({position:"relative",marginRight:(0,s.g)(22),flexBasis:(0,s.g)(140),flexGrow:0,flexShrink:0,scrollSnapAlign:"start"},""),$t=(0,r.A)("button",{target:"e5denmy6",label:"StyledVideoPlaylistButton"})(({active:d})=>({background:"none",border:"none",padding:0,margin:0,width:"100%",textAlign:"left",cursor:"pointer",opacity:d?1:.9,...(0,o.kY)({properties:["opacity"],speed:"fast"}),"&:hover, &:focus":{outline:"none",opacity:1,h2:{textDecoration:"underline"}}}),""),dt=(0,r.A)("figure",{target:"e5denmy5",label:"StyledPlaylistItemMedia"})({position:"relative",width:"100%",height:(0,s.g)(80)},""),bt=(0,r.A)("img",{target:"e5denmy4",label:"StyledPlaylistItemImage"})({name:"17y86f6",styles:"position:absolute;margin:auto;width:140px;height:80px;left:50%;top:100%;bottom:0;transform:translate(-50%, -50%);object-fit:cover"}),we=(0,r.A)("div",{target:"e5denmy3",label:"StyledPlaylistItemDetails"})(({theme:d,active:B})=>({position:"absolute",bottom:0,width:"100%",height:80,padding:(0,s.g)(60,10,10),color:w.T.white,fontSize:(0,s.g)(12),fontFamily:d.fonts.sansSerif,...(0,kt.qy)({colorStops:["transparent",w.T.sevennews.charade],fallback:"transparent",toDirection:"180deg"}),"&:focus":{border:(0,x.P)(d,{sevennews:z=>`2px solid ${z.video.focusColor}`,perthnow:`2px solid ${w.T.perthnow.pinkThulite}`,fallback:void 0})},border:B?(0,x.P)(d,{sevennews:z=>` 2px solid ${z.video.focusColor}`,perthnow:`2px solid ${w.T.perthnow.pinkThulite}`,fallback:void 0}):void 0}),""),ct=(0,r.A)("div",{target:"e5denmy2",label:"StyledPlaylistItemPlayIcon"})({display:"inline-block",position:"relative",width:(0,s.g)(18),"&::before":{position:"absolute",content:"''",bottom:(0,s.g)(-2),display:"block",width:0,height:0,borderWidth:`${(0,s.g)(6)} 0 ${(0,s.g)(6)} ${(0,s.g)(10)}`,borderStyle:"solid",borderColor:"transparent",borderLeftColor:w.T.white}},""),ut=(0,r.A)("h2",{target:"e5denmy1",label:"StyledPlaylistItemTitle"})(({theme:d})=>({fontSize:(0,x.P)(d,{sevennews:(0,s.g)(15),fallback:(0,s.g)(14)}),fontWeight:400,color:w.T.white,fontFamily:(0,x.P)(d,{sevennews:d.fonts.sansSerifCond,fallback:d.fonts.sansSerif}),marginTop:(0,s.g)(8),marginBottom:0,overflow:"hidden !important",textOverflow:"ellipsis",maxHeight:(0,s.g)(50),display:"-webkit-box",WebkitLineClamp:4,WebkitBoxOrient:"vertical"}),""),Rt=(0,r.A)("div",{target:"e5denmy0",label:"StyledCompactDetailsContainer"})(({theme:d})=>({position:"absolute",minWidth:(0,s.g)(140),maxWidth:(0,s.g)(140),top:(0,s.g)(-4),right:(0,s.g)(-140-d.margins.sm)}),""),It=162,Ut=({showUpNextLabel:d,videoQueue:B,onSelect:z,activeItemId:re,isLoaded:F,onScroll:te,compactMode:he,hide:ce})=>{const[We,Qe,c]=Ht(),i=(0,ht.Z)(re),h=(0,ht.Z)(he),p=B.findIndex(Q=>Q.id===re),m=p>-1?p+1:-1,O=m<B.length&&m!==-1?m:0,se=he?B.length>0?[B[O]]:[]:B,ye=()=>{_e(It,!0,c)},ne=()=>{_e(-It,!0,c)};(0,n.useEffect)(()=>{(i!==re||he!==h)&&_e(m*It,!1,c)},[re,i,m,c,he,h]);const ue=d&&!he||!1;return n.createElement(yt,{compactMode:he,upNextVisible:ue,hide:ce},ue&&n.createElement(Wt,null,"Up Next"),n.createElement(xt,{"aria-roledescription":"carousel",onScrollCapture:te,ref:Qe},se.map((Q,le)=>n.createElement(Vt,{compactMode:he,key:le,item:Q,onSelect:z,active:re===Q.id,accessibilityLabel:`${le+1} of ${B.length} - ${Q.name}`})),!F&&n.createElement(St,null)),F&&!he&&n.createElement(st,null,n.createElement(lt,{type:"button","aria-label":"Go to the next slide",onClick:ne,upNextVisible:ue,visible:We.x.percentage!==0},n.createElement(rt,null)),n.createElement(nt,{type:"button","aria-label":"Go to the next slide",onClick:ye,upNextVisible:ue,visible:We.x.percentage!==1},n.createElement(At,null))))},Ot=!(0,Pt.L)()&&"scrollBehavior"in document.documentElement.style,_e=(d,B=!1,z)=>{z.current&&(Ot?z.current.scrollTo({left:B?z.current.scrollLeft+d:d,behavior:"smooth"}):z.current.scrollLeft=B?z.current.scrollLeft+d:d)},St=()=>n.createElement(n.Fragment,null,(0,jt.$r)(6).map((d,B)=>n.createElement(at,{key:B}
13,n.createElement(Fe.y,{loadingBackgroundColor:w.T.sevennews.charade,fixedRatio:"16:9",image:void 0}),n.createElement(ut,null,n.createElement(Tt.E,{dark:!0,count:2}))))),Vt=({item:d,onSelect:B,active:z,accessibilityLabel:re,compactMode:F})=>{const{fallbackImages:te}=(0,G.u)(),he=(0,n.useRef)(null),ce=()=>B(d),We=d.posterImage||te.crops["16:9"],Qe=n.createElement(ut,null,d.name);return n.createElement(at,{ref:he,"aria-roledescription":"slide","aria-label":re,"aria-current":z},n.createElement($t,{active:z,title:`Click to play ${d.name}`,onClick:ce},n.createElement(dt,null,n.createElement(bt,{src:(0,I.s)(We.reference,140,!0),alt:d.name||d.description}),n.createElement(we,{compactMode:F,active:z},n.createElement(ct,null),d.videoType!=="live"?(0,M.c)(d.duration):null)),!F&&Qe,F&&n.createElement(Rt,null,n.createElement(Wt,null,"Up Next"),Qe)))};var Gt=t(65976),Yt=t(64507);const Qt="video-wrapper",Dt=({theme:d,wrapperElProps:B,videoElement:z,playlistProps:re,playerState:F,playerOptions:te,playerActions:he,hideSticky:ce,setHideSticky:We})=>{const c=!F.canAutoplay&&F.showInternalPlayButton&&!te.playButtonText&&d.kind==="sevennews",i=F.adPlayed===!0&&(!te.compactMode||d.kind==="sevennews")&&F.showTopBar,h=F.isMuted&&!F.showTitleOverlay&&!F.showInternalPlayButton&&n.createElement(Ne.P,{positionState:{alignToTop:te.compactMode,isLowered:!F.showTopBar&&F.adPlayed||!F.showTopBar&&F.adPlaying},action:he.handleMuteToggle}),p=te.compactMode&&d.kind===b.Y.SevenNews&&n.createElement(a.BX,{onClick:()=>{he.closeStickyVideo(),We&&We(!0)}},n.createElement(He,null)),m=F.currentVideoMetadata?(0,M.c)(F.currentVideoMetadata.duration):void 0,O=n.createElement(K,{theme:d,compactMode:te.compactMode,isVisible:i&&!F.isFullscreen,videoDuration:m,videoDetails:F.currentVideo}),se=F.showInternalPlayButton?te.playButtonText?n.createElement(it,{type:F.currentVideo.videoType,text:te.playButtonText,duration:m,play:he.playVideo,playable:F.currentVideoMetadata!==void 0}):n.createElement(R.z,{play:he.playVideo,isCentered:!0,isSmall:te.smallPlayButton}):!1,ye=(c||F.showTitleOverlay)&&n.createElement(N.Z,{showVideoTitle:c,play:he.playVideo,cancelAutoplay:he.stopAutoplay,videoDuration:F.currentVideoMetadata?(0,M.c)(F.currentVideoMetadata.duration):void 0,compactMode:te.compactMode||!1,videoDetails:F.currentVideo,autoplayRemainingTime:F.currentState.type==="autoplay-countdown"?F.currentState.remainingTime:void 0}),{innerRef:ne,...ue}=B,Q=te.hidePoster?void 0:(0,Gt.F)(F.currentVideo);let le;return Q&&(le=(0,I.s)(Q.reference,(0,Yt.q)(d.kind),!1)),n.createElement(n.Fragment,null,le&&n.createElement("style",{dangerouslySetInnerHTML:{__html:` 14 @media print { 15 .${a.LS}::before { 16 content: url("${le}"); 17 max-width: 600px; 18 } 19 }`}}),n.createElement(a.d4,{className:Qt,compactMode:te.compactMode,hide:ce&&te.compactMode},se,n.createElement(a.Rw,{...ue,ref:ne,posterImage:le,mediaFit:te.mediaFit},O,ye,z,h,p)),re&&n.createElement(Ut,{hide:ce&&te.compactMode,compactMode:te.compactMode,showUpNextLabel:d.kind!==b.Y.PerthNow,activeItemId:re.currentVideoId,isLoaded:re.videoQueue.items.length!==0,onSelect:re.handlePlaylistSelect,onScroll:k()(re.handlePlaylistScroll,500),videoQueue:re.initialVideoMetadata?[re.initialVideoMetadata,...re.videoQueue.items]:[]}))}}),53139:(function(U,W,t){"use strict";t.d(W,{z:function(){return E}});var b=t(14041),I=t(24890),P=t(2182),k=t(19099),n=t(84517),a=t(53417),R=t(83490),N=t(65143),r=t(19108);const y=(0,P.A)("div",{target:"edf5wxz0",label:"StyledPlayOverlay"})("position:absolute;top:0;bottom:0;left:0;right:0;cursor:pointer;",({theme:u})=>({transition:(0,N.P)(u,{sevennews:`background ${n.cz.easeOut.fast}`,thenightly:`background ${n.cz.easeOut.fast}`,fallback:void 0}),zIndex:(0,N.P)(u,{sevennews:a.f.common.videoPlayButton,thenightly:a.f.common.videoPlayButton,fallback:void 0}),[`& ${k.O6}`]:{pointerEvents:(0,N.P)(u,{sevennews:"none",thenightly:"none",fallback:void 0})},...(0,k.Xr)(u),"&:hover":{background:(0,N.P)(u,{sevennews:g=>(0,R.zX)(g.video.playOverlay,.3),thenightly:(0,R.zX)(r.T.thenightly.neutral[100],.3),fallback:void 0}),button:{backgroundColor:(0,N.P)(u,{sevennews:g=>(0,R.zX)(g.video.playOverlay,.5),fallback:void 0})}},"&:active, &:focus":{border:(0,N.P)(u,{sevennews:g=>`2px solid ${g.video.focusColor}`,thenightly:`2px solid ${r.T.thenightly.neutral[100]}`,fallback:void 0}),margin:(0,N.P)(u,{thenightly:"-6px",fallback:void 0}),borderRadius:(0,N.P)(u,{thenightly:"4px",fallback:void 0})}}),"");var w=t(84512);const E=u=>b.createElement(y,{className:w.y,onClick:u.play},b.createElement(I.D,{onClick:u.play,isCentered:u.isCentered,isInversed:u.isInversed,isSmall:u.isSmall}));E.displayName="PlayOverlay"}),76403:(function(U,W,t){"use strict";t.d(W,{Z:function(){return Ke}});var b=t(42860),I=t(14041),P=t(24890),k=t(2182),n=t(19099),a=t(86146),R=t(19108),N=t(53417),r=t(43329),y=t(63533),w=t(83490),E=t(65143);function u(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const g=v=>(0,E.P)(v,{thewest:R.T.black,perthnow:R.T.white,sevennews:R.T.white,fallback:void 0}),$=v=>(0,E.P)(v,{thewest:A=>A.primaryColor,perthnow:R.T.perthnow.pinkThulite,sevennews:A=>A.video.primaryColor,fallback:void 0}),s=(0,k.A)("div",{target:"e1ewbkko9",label:"StyledTitleOverlay"})({alignItems:"center",zIndex:N.f.common.videoTitleOverlay,right:0,bottom:0,left:0,position:"absolute",paddingRight:(0,y.g)(15)},({theme:v})=>({display:(0,E.P)(v,{sevennews:"none",thenightly:"none",fallback:"flex"}),paddingLeft:(0,E.P)(v,{sevennews:(0,y.g)(18),fallback:(0,y.g)(75)}),height:(0,E.P)(v,{sevennews:(0,y.g)(62),fallback:(0,y.g)(80)}),[(0,r.C9)("sm")]:{height:(0,E.P)(v,{sevennews:(0,y.g)(62),fallback:(0,y.g)(100)}),paddingLeft:(0,E.P)(v,{sevennews:(0,y.g)(18),fallback:(0,y.g)(120)})},fontFamily:(0,E.P)(v,{sevennews:v.fonts.sansSerifCond,fallback:v.fonts.sansSerif}),background:(0,E.P)(v,{thewest:"hsla(0, 0%, 100%, .9)",perthnow:R.T.perthnow.greyBasalt90,sevennews:(0,w.zX)(R.T.black,.7),fallback:void 0}),color:g(v),[`& .${n.Z2}`]:{bottom:(0,E.P)(v,{sevennews:(0,y.g)(18),fallback:void 0}),[(0,r.C9)("sm")]:{bottom:(0,E.P)(v,{sevennews:(0,y.g)(30),fallback:void 0})}}}),({compactMode:v,theme:A})=>v?{height:(0,E.P)(A,{sevennews:(0,y.g)(40),fallback:void 0}),[(0,r.C9)("sm")]:{height:(0,E.P)(A,{sevennews:(0,y.g)(62),fallback:(0,y.g)(100)})},paddingLeft:(0,E.P)(A,{sevennews:(0,y.g)(18),fallback:(0,y.g)(112)})}:{},""),o=(0,k.A)("div",{target:"e1ewbkko8",label:"StyledInset"})({lineHeight:1,width:"100%",maxWidth:"100%",[(0,r.C9)("sm")]:{transform:"none",paddingTop:0,paddingBottom:0}},({theme:v})=>({transform:(0,E.P)(v,{sevennews:void 0,fallback:`translateY(${(0,y.g)(3)})`}),padding:(0,E.P)(v,{sevennews:`${(0,y.g)(4)} 0`,fallback:`${(0,y.g)(4)} 0 ${(0,y.g)(4)} ${(0,y.g)(10)}`}),borderLeft:(0,E.P)(v,{sevennews:void 0,fallback:`${(0,y.g)(4)} solid ${$(v)}`})}),""),x=(0,k.A)("div",{target:"e1ewbkko7",label:"StyledTitles"})({name:"lkh5er",styles:"display:flex;flex-wrap:wrap;align-items:center"}),D=(0,k.A)("h3",{target:"e1ewbkko6",label:"StyledHeading"})(({theme:v,showVideoTitle:A})=>({fontSize:(0,E.P)(v,{sevennews:(0,y.g)(14),fallback:(0,y.g)(18)}),fontWeight:A?"normal":"revert",overflow:A?"visible":"hidden",margin:0,padding:0,flex:(0,E.P)(v,{sevennews:void 0,fallback:"1 1 70%"}),textOverflow:"ellipsis",whiteSpace:A?"normal":"nowrap",lineHeight:1.2,verticalAlign:"middle",[(0,r.C9)("md")]:{fontSize:(0,E.P)(v,{sevennews:(0,y.g)(17),fallback:(0,y.g)(22)}
19)},"&::after":(0,E.P)(v,{sevennews:{content:'" "',whiteSpace:"pre"},fallback:void 0})}),v=>v.autoPlayIsEnabled&&{display:"none",[(0,r.C9)("sm")]:{display:"block"}},""),Me=(0,k.A)("span",{target:"e1ewbkko5",label:"StyledVideoDuration"})(({theme:v})=>({display:(0,E.P)(v,{sevennews:"inline-block",fallback:"none"}),[(0,r.C9)("sm")]:{display:"none"},paddingLeft:(0,y.g)(5)}),""),L=(0,k.A)(a.X,{target:"e1ewbkko4",label:"StyledVideoMetadata"})(({theme:v})=>[{display:"none",margin:(0,E.P)(v,{sevennews:0,fallback:`0 0 0 ${(0,y.g)(15)}`}),padding:0,verticalAlign:"middle",whiteSpace:"nowrap",lineHeight:(0,E.P)(v,{sevennews:1.2,fallback:void 0}),[(0,r.C9)("sm")]:{display:(0,E.P)(v,{sevennews:"inline-block",fallback:"block"}),fontSize:(0,y.g)(14)},[(0,r.C9)("md")]:{fontSize:(0,y.g)(16)}},v.kind==="sevennews"&&{time:{fontWeight:600}}],""),xe=(0,k.A)("div",{target:"e1ewbkko3",label:"StyledAutoplayWrap"})(({theme:v})=>({display:"flex",alignItems:"center",[(0,r.C9)("sm")]:{marginTop:(0,E.P)(v,{sevennews:(0,y.g)(4),fallback:(0,y.g)(6)})},fontFamily:(0,E.P)(v,{sevennews:v.fonts.sansSerif,fallback:void 0})}),""),ze=(0,k.A)("p",{target:"e1ewbkko2",label:"StyledCountdown"})(({theme:v})=>({fontSize:(0,E.P)(v,{sevennews:(0,y.g)(14),fallback:(0,y.g)(16)}),margin:(0,E.P)(v,{sevennews:`0 ${(0,y.g)(8)} 0 0`,fallback:`0 ${(0,y.g)(15)} 0 0`}),lineHeight:1}),""),Ge=(0,k.A)("span",{target:"e1ewbkko1",label:"StyledCountdownTime"})({name:"1j389vi",styles:"font-weight:700"}),Be=(0,k.A)("button",{target:"e1ewbkko0",label:"StyledCancel"})(({theme:v})=>({margin:0,padding:0,lineHeight:1,cursor:"pointer",background:"none",border:"none",color:g(v),fontSize:(0,E.P)(v,{sevennews:(0,y.g)(13),fallback:(0,y.g)(16)}),fontWeight:(0,E.P)(v,{sevennews:400,fallback:700}),textTransform:(0,E.P)(v,{sevennews:void 0,fallback:"uppercase"}),textDecoration:(0,E.P)(v,{sevennews:"underline",fallback:void 0}),"&::before":{display:(0,E.P)(v,{sevennews:"none",fallback:"inline-block"}),marginRight:(0,y.g)(5),width:(0,y.g)(16),height:(0,y.g)(16),content:"''",verticalAlign:"top",background:(0,E.P)(v,{thewest:R.T.black,perthnow:R.T.white,sevennews:R.T.sevennews.charade,fallback:void 0})},"&:hover":{color:$(v)},[(0,r.C9)("sm")]:{display:"inline-block"}}),"");var be=t(3529),Ze=t(77192);const Ke=({videoDuration:v,videoDetails:A,play:K,autoplayRemainingTime:Ne,cancelAutoplay:M,compactMode:G,showVideoTitle:de})=>{const ie=Ne!==void 0,Le=(0,be.B)();return I.createElement(Ze.k,{sevennews:()=>I.createElement(s,{compactMode:G},I.createElement(o,null,I.createElement(x,null,I.createElement(D,{title:A.heading,autoPlayIsEnabled:ie,showVideoTitle:de},A.heading,de&&v&&I.createElement(Me,null,v)),!G&&I.createElement(L,{duration:v,source:A.source,type:A.videoType})),ie&&I.createElement(xe,null,I.createElement(ze,null,"Video will play in"," ",I.createElement(Ge,null,Ne),".."),I.createElement(Be,{className:"video-js__autoplay-control",type:"button",onClick:M},"Don't play video")))),fallback:()=>I.createElement(s,{compactMode:G},I.createElement(P.D,{onClick:K,isCentered:!1,isInversed:Le!==b.Y.SevenNews}),I.createElement(o,null,I.createElement(x,null,I.createElement(D,{title:A.heading,autoPlayIsEnabled:ie},A.heading),!G&&I.createElement(L,{duration:v,source:A.source,type:A.videoType})),ie&&I.createElement(xe,null,I.createElement(ze,null,"Video will play in"," ",I.createElement(Ge,null,Ne)),I.createElement(Be,{className:"video-js__autoplay-control",type:"button",onClick:M},"Stop Autoplay"))))})};Ke.displayName="TitleOverlay"}),86146:(function(U,W,t){"use strict";var b=t(87447),I=t(14041);const P=({className:k,duration:n,source:a,type:R})=>{if(!n&&!a)return null;const N=R==="live",r=!N&&n,y=a!==void 0,w=(r||N)&&y;return I.createElement("p",{className:(0,b.cx)(k,"video-metadata")},N&&"Live",r&&I.createElement("time",null,n),w&&" | ",y&&I.createElement("span",null,a))};P.displayName="VideoMetadata",t.d(W,["X",0,P])}),37165:(function(U,W,t){"use strict";t.d(W,{On:function(){return P},v:function(){return R}});const b="data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAAAxFtZGF03gIATGF2YzU4LjE4LjEwMABCIAjBGDgAAAKuBgX//6rcRem95tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgMTUyIHIyODU0IGU5YTU5MDMgLSBILjI2NC9NUEVHLTQgQVZDIGNvZGVjIC0gQ29weWxlZnQgMjAwMy0yMDE3IC0gaHR0cDovL3d3dy52aWRlb2xhbi5vcmcveDI2NC5odG1sIC0gb3B0aW9uczogY2FiYWM9MSByZWY9MyBkZWJsb2NrPTE6MDowIGFuYWx5c2U9MHgzOjB4MTEzIG1lPWhleCBzdWJtZT03IHBzeT0xIHBzeV9yZD0xLjAwOjAuMDAgbWl4ZWRfcmVmPTEgbWVfcmFuZ2U9MTYgY2hyb21hX21lPTEgdHJlbGxpcz0xIDh4OGRjdD0xIGNxbT0wIGRlYWR6b25lPTIxLDExIGZhc3RfcHNraXA9MSBjaHJvbWFfcXBfb2Zmc2V0PS0yIHRocmVhZHM9NCBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MiBrZXlpbnQ9MjUwIGtleWludF9taW49MTAgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD00MCByYz1jcmYgbWJ0cmVlPTEgY3JmPTIzLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAA2ZYiEADf//uED+BTPe/mMat1RZaYVy5G3EpdM2fOQGI9eKCTIrCoXVhOwo7+AAWYAFQEZ5/qFIRAEYIwcAAAFJ21vb3YAAABsbXZoZAAAAAAAAAAAAAAAAAAAA+gAAABkAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAIodHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAQAAAAAAAABkAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAACwAAAAkAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAAAZAAAAAAAAQAAAAABoG1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAAKAAAAAQAVcQAAAAAAC1oZGxyAAAAAAAAAAB2aWRlAAAAAAAAAAAAAAAAVmlkZW9IYW5kbGVyAAAAAUttaW5mAAAAFHZtaGQAAAABAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAAELc3RibAAAAKdzdHNkAAAAAAAAAAEAAACXYXZjMQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAACwAJAASAAAAEgAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABj//wAAADFhdmNDAWQACv/hABhnZAAKrNlCxOwEQAAAAwBAAAAFA8SJZYABAAZo6+PLIsAAAAAQcGFzcAAAAAEAAAABAAAAGHN0dHMAAAAAAAAAAQAAAAEAAAQAAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAABRzdHN6AAAAAAAAAuwAAAABAAAAFHN0Y28AAAAAAAAAAQAAAEcAAAIpdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAAAvAAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAAAFwAABAAAAQAAAAABoW1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAArEQAAAgAVcQAAAAAAC1oZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU291bmRIYW5kbGVyAAAAAUxtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRy
19ZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAARBzdGJsAAAAanN0c2QAAAAAAAAAAQAAAFptcDRhAAAAAAAAAAEAAAAAAAAAAAACABAAAAAArEQAAAAAADZlc2RzAAAAAAOAgIAlAAIABICAgBdAFQAAAAAB9AAAABODBYCAgAUSEFblAAaAgIABAgAAABhzdHRzAAAAAAAAAAEAAAACAAAEAAAAABxzdHNjAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAcc3RzegAAAAAAAAAAAAAAAgAAABcAAAAGAAAAGHN0Y28AAAAAAAAAAgAAADAAAAMzAAAAGnNncGQBAAAAcm9sbAAAAAIAAAAB//8AAAAcc2JncAAAAAByb2xsAAAAAQAAAAIAAAABAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1OC4xMi4xMDA=";let I;var P=(N=>(N[N.CanAutoplay=0]="CanAutoplay",N[N.CanAutoplayMuted=1]="CanAutoplayMuted",N[N.CannotAutoplay=2]="CannotAutoplay",N))(P||{});function k(N){I=N}typeof window<"u"&&(window.setAutoplayOverride=k);const n={Android:()=>navigator.userAgent.match(/Android/i),BlackBerry:()=>navigator.userAgent.match(/BlackBerry/i),iOS:()=>navigator.userAgent.match(/iPhone|iPad|iPod/i),Opera:()=>navigator.userAgent.match(/Opera Mini/i),Windows:()=>navigator.userAgent.match(/IEMobile/i)||navigator.userAgent.match(/WPDesktop/i),any:()=>n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()};function a(){return typeof navigator<"u"&&!n.any()&&navigator.userAgent.match("Safari")&&!navigator.userAgent.match("Chrom(e|ium)")}async function R({forceEnableAutoplay:N}){try{if(I!==void 0)return I;if(N)return 1;if(n.any())return 2;const r=document.createElement("video");return r.muted=!0,r.src=b,await r.play(),r.pause(),0}catch{return 2}}t.d(W,["Fr",0,n])}),19494:(function(U,W,t){"use strict";const b=(I,P)=>{const k=I/1e3,n=Math.floor(k%60),a=n<10?`0${n}`:n.toString(),R=Math.floor(k%3600/60),N=P===!0?k>=3600?" hours":R>0?" mins":" seconds":"";if(k>=3600){const r=Math.floor(k/3600),y=R<10?`0${R}`:R.toString();return`${r}:${y}:${a}${N}`}return`${R}:${a}${N}`};t.d(W,["c",0,b])}),2299:(function(U,W,t){"use strict";t.d(W,{o1:function(){return P},yb:function(){return E}});var b=t(69555),I=t(73251);function P(u,g){if(!u)return;switch(u.toLowerCase()){case"other":case"news corp australia":case"radio":return g||u;case"facebook":case"twitter":case"instagram":case"youtube":case"snapchat":case"linkedin":return g?`${u} - ${g}`:u;default:return u}}function k(u){return u.ovu_provider_details?{source:u.ovu_provider_details.provider_full_name}:u.source?{source:u.source,sourceExtra:u.source_extra}:null}function n(u){if(!u)return[];try{const g=JSON.parse(u);return Array.isArray(g)?g:[]}catch{return[]}}function a(u){if(u.custom_fields.primary_topic)return u.custom_fields.primary_topic}function R(u){const g=u.custom_fields.topic_tags||u.custom_fields.secondary_topics;return g?g.split(",").map($=>$.trim()):[]}function N(u,g){if(u.poster?u.poster.indexOf("https")===0:!1)return{src:u.poster,reference:u.poster,format:"",width:16,height:9,dimensions:"16x9",ratio:"16:9"};const s=(0,b.I6)(u.poster_sources,o=>o.src.indexOf("https")===0);return s?{src:s.src,reference:s.src,format:"",width:16,height:9,dimensions:"16x9",ratio:"16:9"}:(g.warn({id:u.id,account_id:u.account_id,poster_sources:u.poster_sources,poster:u.poster},"No acceptable https poster frame was found for video"),null)}function r(u,g){const $=n(u.custom_fields.producer),s=k(u.custom_fields),o=N(u,g),x=a(u),D=R(u);return{id:u.id,accountId:u.account_id,source:s?s.source:null,sourceExtra:s&&s.sourceExtra?s.sourceExtra:null,duration:u.duration,name:u.name,longDescription:u.long_description,description:u.description,byline:u.custom_fields.byline||null,producer:$,posterImage:o,primaryTopic:x||"",secondaryTopics:D,videoType:u.custom_fields.video_type||null,videoContentType:u.custom_fields.video_content_type||null,expiryDate:null,seriesInfo:u.series_info,publicationDate:u.created_at,canonicalSource:u.custom_fields.canonical_source||null,isVerticalVideo:u.custom_fields.is_vertical_video==="TRUE",slug:null}}async function y(u,g){const $=`https://edge.api.brightcove.com/playback/v1/accounts/${g}/videos/${(0,I.J)(u)}`;return await fetch($,{headers:{Accept:"application/json;pk=BCpkADawqM0DDw19NyXW8HYv6ywzHzuh20lUOLa8A7-afTvOp0AjT901bCj8pvGQAlbuUPUKrbSRxKJXV7yHBQ2ebGC159vvEAJlBJ4G2VmmEeK-ZuB08VsKKe6ph9narO8
190eFChm0JXfj1p"}}).then(o=>{if(o.status!==200)throw new Error("Request Failed");return o.json()})}async function w(u,g){const $=`${g.contentApi}/video/meta/${(0,I.J)(u)}`;return await fetch($).then(o=>{if(o.status!==200)throw new Error("Request Failed");return o.json()})}async function E(u,g,$,s){try{return await w(u,$)}catch{const x=await y(u,g);return r(x,s)}}}),64507:(function(U,W,t){"use strict";var b=t(42860);const I=k=>{switch(k){case b.Y.SevenNews:return"7NEWS Videos";case b.Y.PerthNow:return"PerthNow Videos";case b.Y.TheWest:return"The West Videos";case b.Y.TheNightly:return"The Nightly Videos"}},P=k=>{switch(k){case b.Y.PerthNow:return 1024;case b.Y.TheWest:return 1024;case b.Y.SevenNews:return 1024;case b.Y.TheNightly:return 1024}};t.d(W,["q",0,P,"y",0,I])}),39527:(function(U,W,t){"use strict";t.r(W);var b=t(42305),I=t(50183),P=t(91436),k=t(14041),n=t(81786),a=t(692),R=t(67208),N=t(72307),r=t(30011),y=t(57185),w=t(38769);const E=g=>{const[$,s]=(0,k.useState)(!1),o=(0,n.e)(),x=(0,b.v)({consentRequiredLevel:P.Rg.Advertising|P.Rg.Analytics}),D=o||x,Me=(0,I.iT)("magnite-header-tag-wrapper"),{byline:L,captionText:xe,credit:ze,kind:Ge="video",videoDetails:Be,autoplayOptions:be,auto
19playNextOptions:Ze,playButtonText:Ke,isVideoHub:v,publicUrl:A,publicationPathname:K,onPlayNextVideo:Ne,setVideoRendered:M,isVideoCurrentlySticky:G}=g;if(!Be.id)return null;if(!D)return k.createElement(N.V,null);const de=G||g.videoOptions.compactMode,ie=k.createElement(a.C,{ref:M,videoDetails:Be,showTitles:g.showTitles,pauseOverlay:g.pauseOverlay,autoplayOptions:be,autoplayNextOptions:Ze,videoOptions:{...g.videoOptions,compactMode:de,isMagniteEnabled:Me},innerRef:g.innerRef,getVideoQueue:g.getVideoQueue,onEvent:g.onEvent,pagePosition:g.isHeroVideo?"hero-video":"inline-article",onUserInteraction:()=>{},showPlaylist:!1,playButtonText:Ke,hideSticky:$,setHideSticky:s,isStickyVideo:G,isVideoHub:v,publicUrl:A,currentPath:K,onPlayNextVideo:Ne,adElement:g.adElement,canAutoPlay:g.isHeroVideo});return k.createElement(R.VS,{className:R.zT},ie,(xe||ze||L)&&k.createElement(w.SI,{byline:L,captionText:xe,credit:ze,kind:Ge,shouldIndent:!0}))},u=(0,r.Y)((0,y.I)(E));W.default=u,t.d(W,["PNWebArticleVideo",0,u])}),80461:(function(U,W,t){"use strict";t.d(W,{R5:function(){return Y},ZC:function(){return Tt}});var b=t(46613),I=t(42860),P=t(14041),k=t(99870),n=t.n(k),a=t(42577),R=t(65976),N=t(64507),r=t(2182),y=t(53417),w=t(63533),E=t(43329),u=t(7876),g=t(95779),$=t(53432),s;function o(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const{spacing:x}=g.metricsPN,D=(0,r.A)("div",{target:"e122rps82",label:"StyledPNTopBar"})({position:"absolute",zIndex:y.f.common.videoTopBar,width:"100%",padding:(0,w.g)(x.XS,x.S,x.S),transition:"transform 100ms ease, opacity 100ms ease",pointerEvents:"none",background:"linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 76%)",color:g.colorsPN.text.inverse,...$.r5.label.XS.medium,h3:{margin:x.none},[(0,E.C9)("sm")]:{padding:(0,w.g)(x.XS,x.S),...$.r5.label.S.medium,h3:{paddingBottom:(0,w.g)(x.XL)}},[(0,E.C9)("lg")]:{padding:(0,w.g)(x.S),fontSize:(0,w.g)(14),h3:{paddingBottom:(0,w.g)(x.XS)}}},({isVisible:J})=>J===!1&&{transition:"transform 1000ms ease",transform:"translateY(-100%)"},""),Me=null,L=(0,r.A)("h3",{target:"e122rps80",label:"StyledPNHeading"})({...u.A.S.kicker,overflow:"hidden",margin:0,marginBottom:(0,w.g)(x["4XS"]),width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap"},""),xe=({visible:J,videoDetails:Lt,isAdPlaying:qe})=>P.createElement(D,{className:"video-js__overlay video-js__overlay--pause",isVisible:J},P.createElement(L,{className:"video-js__heading"},qe?"Ad":Lt.heading));
19xe.displayName="PNVideoTopBar";var ze=t(42247),Ge;function Be(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const be="pn-video-specificity",{background:Ze}=g.colorsPN,Ke=null,v=(0,ze.L)(be)((0,r.A)("div",{target:"e178882h1",label:"StyledPNVideo"})({backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"cover",backgroundColor:Ze.strong,padding:"0 0 56.25%",minHeight:"80px",position:"relative",overflow:"hidden",[(0,E.C9)("sm")]:{minHeight:"140px"},".collection__card-media > &":{padding:"auto",minHeight:"unset",position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden"}},J=>({backgroundImage:J.posterImage&&`url(${J.posterImage})`,borderRadius:J.isStickyVideo?"8px":void 0,height:J.isVerticalVideo?"100%":void 0}),{[`&.${be} .vjs-big-play-button`]:{display:"none"},[`&.${be} .vjs-big-play-button .vjs-control-text`]:{position:"relative",overflow:"visible",clip:"auto",margin:0,padding:0,border:0,display:"none"},'& [class*="StyledUnmuteButton"]':{top:(0,w.g)(10),left:"auto",right:(0,w.g)(16),zIndex:3}},""));v.displayName="StyledPNVideo";const A=(0,r.A)("div",{target:"e178882h0",label:"StyledStickyVideoCloseButton"})({marginLeft:"auto",marginBottom:(0,w.g)(8),width:40,height:40,right:0,borderRadius:(0,w.g)(72),background:g.colorsPN.fill.strong,display:"flex",justifyContent:"center",alignItems:"center","&:hover":{background:g.colorsPN.text.secondary,cursor:"pointer"}},""),K=()=>P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},P.createElement("path",{d:"M18 6L6 18M6 6L18 18",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}));var Ne=t(24890),M=t(84512),G=t(87447),de=t(19099),ie=t(14904);function Le(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const{icon:pe,shadow:Ve}=g.colorsPN,{spacing:Ye,radius:Xe,layout:et}=g.metricsPN,Et=(0,r.A)("div",{target:"e3z12ed1",label:"StyledPNPlayOverlay"})("position:absolute;top:0;bottom:0;left:0;right:0;cursor:pointer;",({theme:J})=>({[`${ie.Fz} &`]:{display:"none"},...(0,de.Xr)(J)}),""),it=(0,G.i7)({name:"10p7chn-spinnerShow",styles:"to{visibility:visible;};label:spinnerShow;"}),He=(0,G.i7)({name:"bb2d78-spinnerSpin",styles:"100%{transform:rotate(360deg);};label:spinnerSpin;"}),Je=(0,G.i7)({"0%":{borderTopColor:pe.inverse},"20%":{borderTopColor:pe.inverse},"35%":{borderTopColor:Ve.blurs35},"60%":{borderTopColor:pe.inverse},"100%":{borderTopColor:pe.inverse}},";label:spinnerFade;"),wt=(0,r.A)("div",{target:"e3z12ed0",label:"StyledPNSpinner"})({border:`6px solid ${Ve.blurs35}`,boxSizing:"border-box",backgroundClip:"padding-box",position:"absolute",zIndex:y.f.common.videoPlayButton,width:(0,w.g)(Ye["2XL"]),height:(0,w.g)(Ye["2XL"]),borderRadius:(0,w.g)(Xe.XL),left:"50%",top:"50%",transform:"translate(-50%, -50%)",animation:`0s linear 0.3s forwards ${it}`,WebkitAnimation:`0s linear 0.3s forwards ${it}`,"&:before, &:after":{content:"''",position:"absolute",margin:(0,w.g)(-Ye["3XS"]),boxSizing:"inherit",width:"inherit",height:"inherit",borderRadius:"inherit",opacity:1,border:"inherit",borderColor:"transparent",borderTopColor:pe.inverse,animation:`${He} 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, 20 ${Je} 1.1s linear infinite`,WebkitAnimation:`${He} 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, 21 ${Je} 1.1s linear infinite`},"&:before":{borderTopColor:pe.inverse},"&:after":{borderTopColor:pe.inverse,animationDelay:"0.44s"},[(0,E.C9)("sm")]:{width:(0,w.g)(et.section.tablet),height:(0,w.g)(et.section.tablet),borderRadius:(0,w.g)(Xe.XL)}},""),Pt=J=>P.createElement(Et,{className:M.y,onClick:J.play},J.autoPlay?P.createElement(wt,null):P.createElement(Ne.D,{onClick:J.play,isCentered:J.isCentered,isInversed:J.isInversed,isSmall:J.isSmall}));Pt.displayName="PNPlayOverlay";var Ct=t(85492),Ht=t(37165),ht=t(40933),jt=t(90817);const Fe="video-wrapper",Tt="pn-control-dismiss",kt="pn-play-hidden",Y=({wrapperElProps:J,videoElement:Lt,playerState:qe,playerOptions:tt,playerActions:pt,canAutoPlay:Wt,isVideoSticky:yt,isVerticalVideo:xt})=>{const{adStarted:st,adPlayed:ft,adPaused:vt,showTopBar:lt,videoStarted:nt,videoPlaying:At,videoPaused:rt}=qe,{handleUserInactive:at}=pt,[$t,dt]=(0,P.useState)(!0),[bt,we]=(0,P.useState)(!0),[ct,ut]=(0,P.useState)(!1),Rt=typeof navigator<"u"&&Ht.Fr.any(),{innerRef:It,...Ut}=J,Ot=(0,R.F)(qe.currentVideo);let _e;const St=(0,P.useRef)(null),Vt=(st||ft)&<(0,P.useEffect)(()=>
21{if(Vt&&we(!1),rt||vt)clearTimeout(St.current),lt?we(!1):(we(!0),at());else if(!lt)we(!0),at();else return clearTimeout(St.current),St.current=setTimeout(()=>{dt(!1),(!rt||!vt)&&(we(!0),at())},3e3),()=>{clearTimeout(St.current)}},[Vt,at,$t,rt,lt,nt,vt]),(0,P.useEffect)(()=>{!yt&&ct&&ut?.(!1)},[yt,ct,ut]);const Gt=P.createElement(xe,{compactMode:tt.compactMode,visible:!bt,videoDetails:qe.currentVideo,isAdPlaying:st&&!ft}),Yt=P.createElement(Ct.q,{overlayButtonScale:"L",isCentred:!0,status:nt&&At?"playing":nt&&!At?"paused":"hidden",isTouchDevice:Rt}),Qt=st||nt?null:P.createElement(Pt,{play:pt.playVideo,isCentered:!0,isSmall:tt.smallPlayButton,autoPlay:Wt}),Dt=n()(bt?Tt:"",nt&&!Rt?kt:"");Ot&&(_e=(0,b.s)(Ot.reference,(0,N.q)(I.Y.PerthNow),!1));const d=()=>{pt.handleMuteToggle()},B=!qe.showTitleOverlay&&xt?P.createElement(jt.P,{variant:"vertical",positionState:{alignToTop:!0},isMuted:qe.isMuted,action:d}):null;return P.createElement(P.Fragment,null,yt===!0&&P.createElement(A,{onClick:()=>{ct===!0?(ut?.(!1),pt.playVideo()):(ut?.(!0),pt.pauseVideo())}},ct===!0?P.createElement(ht.o,{stroke:g.colorsPN.fill.base,width:24,height:24}):P.createElement(K,null)),_e&&P.createElement("style",{dangerouslySetInnerHTML:{__html:` 22 @media print { 23 .${a.BI}::before { 24 content: url("${_e}"); 25 max-width: 600px; 26 } 27 }`}}),P.createElement(a.d4,{className:Fe,compactMode:tt.compactMode,hide:ct&&tt.compactMode},Qt,P.createElement(v,{...Ut,ref:It,posterImage:_e,className:Dt,isStickyVideo:yt,isVerticalVideo:xt},Gt,Yt,Lt,B)))}}),25447:(function(U,W,t){"use strict";t.r(W),t.d(W,{WebArticleVideo:function(){return Mn},default:function(){return Ga}});var b=t(30668),I=t(42305),P=t(91436),k=t(42860),n=t(50183),a=t(14041),R=t(81786),N=t(692),r=t(26228),y=t(39938),w=t(5808),E=t(59562),u=t(73444),g=t(86725),$=t(19609),s=t(2182),o=t(63533),x=t(78643),D=t(43329),Me=t(87244),L=t(95779);const xe=(0,s.A)("a",{target:"e1y0p5pi2",label:"SevenPlusBtn"})(({})=>[{width:"100%",height:(0,o.g)(38),backgroundColor:L.tokens.sevennews.colors.palette.articlesV2.buttonBackground,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:(0,o.g)(3),textDecoration:"none",marginTop:(0,o.g)(x.q.sevennews.margins.lg),marginBottom:(0,o.g)(10),"&:hover":{cursor:"pointer"},[(0,D.C9)("xs")]:{width:"188px"}}],""),ze=(0,s.A)("p",{target:"e1y0p5pi1",label:"SevenPlusBtnHeading"})(({})=>[{fontFamily:Me.l.sevennews.sansSerif,color:L.tokens.sevennews.colors.palette.black,fontWeight:400,fontSize:(0,o.g)(14),lineHeight:(0,o.g)(18),textDecoration:"none"}],""),Ge=(0,s.A)("img",{target:"e1y0p5pi0",label:"SevenPlusIcon"})({width:(0,o.g)(21),marginLeft:(0,o.g)(10)},""),Be=t(41576),be=({URL:e})=>a.createElement(xe,{target:"_blank",href:e},a.createElement(ze,null,"Stream free on"),a.createElement(Ge,{src:Be,alt:"7plus logo"}));be.displayName="SevenPlusArticleButton";var Ze=t(1532),Ke=t(9341),v=t(33664),A=t(19108),K=t(65143);const Ne=(0,s.A)(v.N_,{target:"e1f4srfq0",label:"StyledTag"})("display:inline-block;text-decoration:none;transition:background 250ms ease, transform 150ms ease;position:relative;&:hover, &:focus{-webkit-tap-highlight-color:transparent;}&:focus{outline:none;}",e=>({background:(0,K.P)(e.theme,{thewest:void 0,perthnow:A.T.perthnow.greyMarble,sevennews:A.T.sevennews.seashell,fallback:void 0}),color:(0,K.P)(e.theme,{thewest:A.T.thewest.greyElephant,perthnow:A.T.black,sevennews:A.T.sevennews.charade,thenightly:e.theme.colors.text.secondary,fallback:void 0}),fontFamily:e.theme.fonts.sansSerif,fontSize:(0,K.P)(e.theme,{perthnow:(0,o.g)(13),thewest:(0,o.g)(14),sevennews:(0,o.g)(12),thenightly:(0,o.g)(16),fallback:void 0}),fontWeight:(0,K.P)(e.theme,{perthnow:700,thewest:400,sevennews:500,thenightly:400,fallback:void 0}),lineHeight:(0,K.P)(e.theme,{perthnow:1,thewest:1.2,sevennews:void 0,fallback:void 0}),margin:(0,K.P)(e.theme,{perthnow:(0,o.g)(0,9,9,0),sevennews:`0 ${(0,o.g)(x.q.globalMargin/2)} ${(0,o.g)(x.q.globalMargin/2)} 0`,thewest:void 0,fallback:void 0}),padding:(0,K.P)(e.theme,{perthnow:(0,o.g)(1.5,9),thewest:void 0,sevennews:(0,o.g)(5,15),fallback:void 0})}),({theme:e})=>e.kind==="sevennews"&&{borderRadius:(0,o.g)(18),fontFamily:g.fonts.sevennews.sansSerif,"&:hover":{color:A.T.white,background:(0,K.P)(e,{sevennews:e.sectionValues.primaryColor,fallback:void 0})},"&:focus":{color:A.T.white,background:(0,K.P)(e,{sevennews:e.sectionValues.primaryColor,fallback:void 0}),textDecoration:"underline"}
27,"&:active":{color:A.T.sevennews.stormGrey}},({theme:e})=>e.kind==="thewest"&&{"&:hover":{color:e.sectionValues.primaryColor},"&:focus":{color:e.sectionValues.primaryColor,textDecoration:"underline"},"&:active":{color:A.T.thewest.greyGorilla},paddingRight:(0,o.g)(10),paddingLeft:(0,o.g)(10),transform:"translateX(-10px)","&:not(:first-child)":{"::before":{content:"''",width:1,height:"100%",position:"absolute",left:0,top:0,background:A.T.thewest.greyQuokka}}},({theme:e})=>e.kind==="perthnow"&&{border:"1px solid transparent","&:hover":{borderRadius:(0,o.g)(2),background:A.T.perthnow.greyMoonstone,color:A.T.white},"&:focus":{background:A.T.white,border:`1px solid ${A.T.black}`,color:A.T.black},"&:active":{background:A.T.perthnow.greyMoonstone,color:A.T.white,transform:"none"}},({theme:e})=>e.kind==="thenightly"&&{border:"1px solid transparent",textDecoration:"underline",textTransform:"lowercase","&:hover":{textDecoration:"none"},"&:focus":{textDecoration:"none"},"&:active":{textDecoration:"none"}},""),M=({topic:e})=>{const{section:l}=(0,b.u)();return a.createElement(Ne,{"data-section":l,to:(0,Ke.H)(e)},e.title)};M.displayName="Tag";function G(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const de=(0,s.A)("div",{target:"exqmkap3",label:"StyledTopicListContainer"})(({theme:e,verticalSpacing:l})=>[e.kind==="perthnow"&&{alignItems:"center",display:"flex"},{marginBottom:l&&e.margins[l]}],""),ie=(0,s.A)("nav",{target:"exqmkap2",label:"StyledTopicNav"})({name:"hcrwp6",styles:"display:flex;flex-wrap:wrap;flex:1;overflow-x:auto"}),Le=(0,s.A)("h2",{target:"exqmkap1",label:"StyledHeader"})({alignSelf:"flex-start",color:A.T.black,fontFamily:Me.l.perthnow.sansSerifCond,fontSize:(0,o.g)(16),fontWeight:700,lineHeight:1,margin:`0 ${(0,o.g)(15)} 0 0`,textTransform:"uppercase"},""),pe=(0,s.A)("span",{target:"exqmkap0",label:"StyledNightlyText"})(({theme:e})=>({fontSize:(0,o.g)(16),fontWeight:400,color:e.colors.text.secondary}),"");var Ve=t(19073),Ye=t(77192);const Xe=({primaryTopic:e,secondaryTopics:l=[],verticalSpacing:S,themeOverride:T})=>{const f=(0,b.u)();if(!e&&l.length===0)return null;let H=l.filter(V=>e?V.id!==e.id:!0);return l.length>6&&(H=(0,Ze.R)(H)),a.createElement(de,{className:"topic-list hide-print",verticalSpacing:S},a.createElement(Ve.u,{override:T},a.createElement(Ye.k,{perthnow:()=>a.createElement(Le,null,"Topics"),thewest:()=>null,sevennews:()=>null}),f.kind==="thenightly"?a.createElement(ie,null,e&&a.createElement(a.Fragment,null,a.createElement(pe,null,"Tags: \xA0"),a.createElement(M,{topic:e}),a.createElement(pe,null,H.length!==0?",":".","\xA0")),H.map((V,C)=>a.createElement("div",{key:V.id},a.createElement(M,{key:V.id,topic:V}),a.createElement(pe,null,C+1===H.length?".":",","\xA0")))):a.createElement(ie,null,e?a.createElement(M,{topic:e}):void 0,H.map(V=>a.createElement(M,{key:V.id,topic:V})))))};Xe.displayName="TopicList";var et=t(78851),Et=t(83490);const it=(0,s.A)("p",{target:"e184g9zm0",label:"StyledFootnote"})(({theme:e})=>[{fontWeight:400,a:{color:(0,K.P)(e,{thenightly:L.tokens.thenightly.colors.palette.deepPurple,fallback:void 0})}},Et.DH,({theme:l})=>({fontFamily:(0,K.P)(l,{thewest:l.fonts.body,thenightly:l.fonts.serif,fallback:l.fonts.sansSerif}),fontSize:(0,K.P)(l,{thenightly:(0,o.g)(20),fallback:(0,o.g)(14)}),lineHeight:(0,K.P)(l,{thewest:1.25,perthnow:1.429,thenightly:1.5,fallback:void 0}),color:(0,K.P)(l,{thewest:A.T.black,perthnow:A.T.perthnow.greyMoonstone,thenightly:L.tokens.thenightly.colors.palette.neutral[70],fallback:void 0}),margin:(0,K.P)(l,{thewest:`${(0,o.g)(x.q.thewest.textMargin)} 0 0 0`,perthnow:`${(0,o.g)(x.q.perthnow.textMargin)} 0 0 0`,fallback:void 0}),clear:l.kind===k.Y.TheWest?"both":void 0})],"");var He=t(81487);const Je=({text:e,link:l})=>a.createElement(it,null,e,l&&a.createElement(He.Y,{href:l.href,className:l.className},l.text));Je.displayName="Footnote";const wt=({text:e,link:l,source:S})=>(l&&Pt(l.href),a.createElement(it,null,l&&a.createElement(He.Y,{href:l.href,className:l.className},e[0],S,e[1])));wt.displayName="SevenFootnote";function Pt(e){return e.split(".")[1]}const Ct=({className:e,rotate:l})=>a.createElement("svg",{className:e,viewBox:"0 0 15 18",xmlns:"http://www.w3.org/2000/svg"},l&&a.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0",to:"360",dur:"0.6s",repeatCount:"indef
27inite"}),a.createElement("path",{d:"M0 7.48159L1.70448 0L3.5106 2.12424C6.81584 -0.32523 11.2361 0.143022 14.1149 3.52899L12.7707 5.11005C10.6393 2.60327 7.42172 2.15264 4.89983 3.75815L6.36119 5.47693L0 7.48159Z",fill:"white"}),a.createElement("path",{d:"M14.1429 10.5184L12.4383 18L10.6322 15.8757C7.32703 18.3252 2.90674 17.857 0.0278482 14.471L1.37214 12.89C3.50351 15.3968 6.72105 15.8473 9.24296 14.2419L7.78158 12.523L14.1429 10.5184Z",fill:"white"}));var Ht=t(71177),ht=t(84517);const jt=(0,s.A)("button",{target:"e19kcot53",label:"StyledButton"})(({theme:e,show:l})=>[{backgroundColor:e.colors.actions.button.primary.background.default,borderRadius:(0,o.g)(32),marginTop:e.margins.md,marginBottom:e.margins.sm,height:(0,o.g)(40),cursor:"pointer",border:`1px solid ${e.colors.brand}`,position:"sticky",top:20,margin:"0 auto",zIndex:1e3,display:"flex",color:e.colors.actions.button.primary.text.default,opacity:l?1:0,pointerEvents:l?"initial":"none",transition:`opacity ${ht.cz.easeOut.med}, box-shadow ${ht.cz.easeOut.fast}, transform ${ht.cz.easeOut.fast}`,boxShadow:"0px 4px 11px 4px rgb(0 0 0 / 18%)","&:focus, &:hover":{backgroundColor:e.colors.actions.button.primary.background.default,borderColor:e.colors.actions.button.primary.background.default},"&:active":{backgroundColor:e.colors.actions.button.primary.background.default,borderColor:e.colors.actions.button.primary.background.default},"&:focus, &:active":{outline:"none"},"&:focus":{boxShadow:"0px 2px 10px 10px rgba(9, 180, 192, 0.18)"},"&:hover":{boxShadow:"0px 9px 21px 3px rgb(0 0 0 / 30%)",transform:"translateY(-4px)"}},e.kind==="thenightly"&&{top:"calc(20px + var(--stickyHeaderHeight))",transition:"top 0.2s linear"},e.kind==="perthnow"||e.kind==="thewest"&&{"&:focus, &:hover":{backgroundColor:"#114CE4",borderColor:"#114CE4"},"&:active":{backgroundColor:"#0231B5",borderColor:"#0231B5"}}],""),Fe=(0,s.A)("div",{target:"e19kcot52",label:"StyledButtonInnerContainer"})(({theme:e})=>({display:"flex",alignContent:"center",justifyContent:"center",padding:(0,o.g)(10,10),gap:(0,o.g)(6),"& > span":{alignItems:"center",justifyContent:"center",fontFamily:e.fonts.sansSerif,fontWeight:700,fontSize:(0,o.g)(15),lineHeight:(0,o.g)(16)}}),""),Tt=(0,s.A)(Ht.A,{target:"e19kcot51",label:"StyledArrow"})(({theme:e})=>({width:(0,o.g)(12),height:(0,o.g)(14),fill:e.colors.actions.button.primary.text.default}),""),kt=(0,s.A)(Ct,{target:"e19kcot50",label:"StyledSpinner"})(({theme:e})=>({width:(0,o.g)(12),height:(0,o.g)(14),fill:e.colors.actions.button.primary.text.default}),""),Y=({onClick:e,inViewport:l,isLoading:S,newPostCount:T,defaultLabel:f="BACK TO TOP"})=>{const H=l||T>0,V=(0,b.u)(),C=()=>{if(V.kind===k.Y.TheNightly)return T===0?f:"NEW POSTS";switch(T){case 0:return"Jump to top";case 1:return"1 New Update";default:return`${T} New Updates`}},ae=()=>T>0?a.createElement(kt,{rotate:S}):a.createElement(Tt,null),Z=ee=>{ee.currentTarget.blur(),e()};return a.createElement(jt,{onClick:Z,show:H},a.createElement(Fe,null,a.createElement(ae,null),a.createElement("span",null,C())))};var J=t(87447);function Lt(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const qe=(0,s.A)("button",{target:"ebslu6d2",label:"StyledButton"})(({theme:e,isLoading:l})=>[{backgroundColor:e.colors.actions.button.primary.background.default,transition:"background-color 0.3s ease",opacity:l?.3:1,marginTop:e.margins.md,marginBottom:e.margins.sm,cursor:"pointer",border:`1px solid ${e.colors.brand}`,position:"relative",width:"unset",height:(0,o.g)(40),borderRadius:"unset","&:hover":{backgroundColor:l?e.colors.actions.button.primary.background.default:e.colors.actions.button.primary.background.hover,"& > div":{color:l?e.colors.actions.button.primary.text.default:e.colors.actions.button.primary.text.hover}},"&:focus":{outline:"none","&::after":{display:"block"}}},e.kind==="sevennews"&&{"&::after":{content:"''",position:"absolute",top:-3,left:-3,width:"calc(100% + 6px)",height:"calc(100% + 6px)",borderRadius:(0,o.g)(4),border:`1px solid ${e.colors.palette.black}`},backgroundColor:"rgba(39, 38, 38, 0.5)",opacity:l?.3:.5,borderRadius:(0,o.g)(4.171),border:"none",width:(0,o.g)(324),height:(0,o.g)(42),"&:hover":{backgroundColor:l?A.T.sevennews.nero:A.T.redButton}}],""),tt=(0,s.A)("div",{target:"ebslu6d1",label:"StyledButtonInnerContainer"})(({theme:e})=>[{display:"flex",padding:`${(0,o.g)(e.margins.sm)}`,alignItems:"center",justifyItems:"center",justifyContent:"unset",color:e.colors.actions.button.primary.text.default,gap:(0,o.g)(e.margins.sm),"& > span":{fontFamily:e.fonts.sansSerif,fontWeight:700,fontSize:(0,o.g)(15),lineHeight:(0,o.g)(16)},"&:hover":{}},e.kind==="sevennews"&&{justifyContent:"center"}],""),pt=(0,s.A)("div",{target:"ebslu6d0",label:"StyledSpinner"})(({theme:e})=>({display:"inline-block",width:(0,o.g)(12),height:(0,o.g)(12),borderLeft:`2px solid ${e.colors.background.primary}`,borderRight:`2px solid ${e.colors.background.primary}`,borderTop:`2px solid ${e.colors.background.primary}`,borderRadius:"50%",animation:`${Wt} 0.8s infinite`,WebkitAnimation:`${Wt} 0.8s infinite`}
27),""),Wt=(0,J.i7)({name:"lfm5ps-spin",styles:"to{transform:rotate(360deg);};label:spin;"}),yt=({onClick:e,isLoading:l})=>a.createElement(qe,{isLoading:l,onClick:e},a.createElement(tt,{isLoading:l},l?a.createElement(a.Fragment,null,a.createElement(pt,null),a.createElement("span",null,"Loading")):a.createElement("span",null,"Load more")));var xt=t(3529),st=t(41181),ft=t(60417),vt=t(16858),lt=t(90475),nt=t(22683);const At=L.tokens.thewest.colors.palette.gradialBlue,rt=L.tokens.sevennews.colors.palette.gradialRed,at=L.tokens.perthnow.colors.palette.fadedPinkThulite,$t=L.tokens.thenightly.colors.palette.neutral[20],dt=(e,l)=>({"10%":{background:e},"100%":{background:l}}),bt=(0,s.A)("div",{target:"en6oh1n4",label:"StyledLiveEventPost"})(({theme:e,noBotMargin:l,isActivePost:S,isPinnedPost:T})=>[{padding:(0,o.g)(e.margins.md),marginBottom:l?void 0:e.margins.sm,scrollMarginTop:"80px",background:e.colors.palette.white,[(0,D.C9)("sm")]:{margin:e.margins.md,marginBottom:l?0:e.margins.md}},e.kind==="sevennews"&&{boxShadow:l?void 0:"0px 0px 11px rgba(0, 0, 0, 0.25)",[(0,D.C9)("md")]:{margin:(0,o.g)(e.margins.md,e.margins.sm),marginBottom:l?0:(0,o.g)(e.margins.md,e.margins.sm),borderBottom:"none"}},e.kind==="thewest"&&{boxShadow:l?void 0:"0px 2px 3px rgba(0, 0, 0, 0.08)",[(0,D.C9)("md")]:{padding:(0,o.g)(e.margins.lg,e.margins.md),margin:0,marginBottom:0,borderBottom:l?void 0:`1px solid ${A.T.thewest.greyQuokka}`}},e.kind==="perthnow"&&{boxShadow:l?void 0:"0px 2px 3px rgba(0, 0, 0, 0.08)",[(0,D.C9)("md")]:{margin:0,marginBottom:0,borderBottom:l?void 0:`1px solid ${A.T.thewest.greyQuokka}`}},e.kind==="thenightly"&&{padding:T?(0,o.g)(24):(0,o.g)(32,24),background:"inherit",marginBottom:0,margin:0,scrollMarginTop:"max(calc(var(--stickyHeaderHeight) + 80px), 20dvh)",borderBottom:T?"none":`${(0,o.g)(.5)} solid ${e.colors.borders.secondary}`,[(0,D.C9)("sm")]:{marginBottom:0,margin:0}},S&&{animation:`${(0,J.i7)(dt((0,K.P)(e,{thewest:At,sevennews:rt,perthnow:at,thenightly:$t,fallback:At}),e.colors.palette.white),";label:animation;")} 3s ease`}],""),we=(0,s.A)("h2",{target:"en6oh1n3",label:"StyledLiveEventTitle"})(({theme:e})=>[{margin:"",fontSize:(0,o.g)(26),fontFamily:"inherit",fontWeight:400,color:e.colors.palette.black,lineHeight:(0,o.g)(31)},e.kind==="thewest"&&{margin:(0,o.g)(e.margins.md,0)},e.kind==="sevennews"&&{margin:(0,o.g)(e.margins.sm,0),fontSize:(0,o.g)(21),fontFamily:e.fonts.sansSerif,fontWeight:700},e.kind==="thenightly"&&{margin:(0,o.g)(e.margins.md,0,e.margins.sm),fontFamily:e.fonts.sansSerif,fontSize:(0,o.g)(20),fontWeight:700,lineHeight:(0,o.g)(24),letterSpacing:(0,o.g)(-.44),[(0,D.C9)("md")]:{fontSize:(0,o.g)(25),fontWeight:700,lineHeight:(0,o.g)(32),letterSpacing:(0,o.g)(-.55)}}],""),ct=(0,s.A)("div",{target:"en6oh1n2",label:"StyledLiveEventArticleBlockContent"})(({theme:e})=>[{margin:(0,o.g)(e.margins.md,0),"& > div > p":{fontFamily:"inherit",fontSize:(0,o.g)(16),lineHeight:(0,o.g)(24)},"& > div > blockquote > p":{marginLeft:e.margins.md,fontSize:(0,o.g)(21),fontWeight:400,fontFamily:e.fonts.serif,color:"inherit",lineHeight:(0,o.g)(25)},"& > div > blockquote > div":{width:4}},e.kind==="sevennews"&&{"& > div > p":{fontFamily:e.fonts.sansSerif,fontWeight:400,lineHeight:(0,o.g)(27)},"& > div > blockquote > p":{marginLeft:0,fontSize:(0,o.g)(18),fontWeight:700,fontFamily:e.fonts.sansSerif,color:e.colors.brand},"& > div > blockquote ":{transform:"translateX(0)",marginLeft:0,marginRight:0,width:"100%",maxWidth:"100%","& > p":{maxWidth:"100%"}}},e.kind==="thenightly"&&{margin:0,"& > div > p":{fontFamily:e.fonts.serif,fontWeight:400,fontSize:(0,o.g)(20),lineHeight:(0,o.g)(30),letterSpacing:(0,o.g)(-.4),margin:(0,o.g)(0,0,16,0),[(0,D.C9)("md")]:{fontFamily:e.fonts.serif,fontSize:(0,o.g)(20),lineHeight:(0,o.g)(30),letterSpacing:(0,o.g)(-.4),margin:(0,o.g)(0,0,16,0)}},"& > div > blockquote > p":{fontSize:(0,o.g)(18),fontFamily:e.fonts.sansSerif},"& > div > div > p":{margin:0}}],""),ut=(0,s.A)(nt.r,{target:"en6oh1n1",label:"StyledLiveEventSocialIcons"})(({theme:e})=>[{display:"inline-block","&":{marginBottom:0,marginTop:0},"& > button ":{position:"relative",color:A.T.thewest.greyKoala,backgroundColor:A.T.thewest.greyErmine,border:"none",width:(0,o.g)(32),height:(0,o.g)(32),[(0,D.C9)("md")]:{width:(0,o.g)(24),height:(0,o.g)(24)}},"& > button:hover ":{color:A.T.thewest.greyKoala,backgroundColor:A.T.thewest.greyElephant,border:"none"},"& > button:active ":{color:A.T.thewest.greyKoala,backgroundColor:A.T.thewest.greyQuokka,border:"none"},"& > button.gtm-clipboard-share-button:active:before":{opacity:1,transition:"0s"},"& > button.gtm-clipboard-share-button:before":{position:"absolute",top:(0,o.g)(-35),left:(0,o.g)(-31),width:(0,o.g)(98),opacity:0,padding:(0,o.g)(6),content:'"\u2713 Link Copied "',transition:"opacity 1.7s cubic-bezier(.0,.05,1,-0.24)",fontFamily:e.fonts.sansSerif,fontSize:(0,o.g)(13),fontWeight:600,background:e.colors.palette.black,color:e.colors.palette.white}},e.kind==="thewest"&&{"&":{marginTop:(0,o.g)(e.margins.sm)},"& > button:hover ":{backgroundColor:A.T.thewest.greyDolphin}},e.kind==="sevennews"&&{"& > button ":{color:"inherit",backgroundColor:"inherit",border:"solid 1px",width:(0,o.g)(40),height:(0,o.g)(40),[(0,D.C9)("md")]:{width:(0,o.g)(40),height:(0,o.g)(40)}},"& > button:hover ":{color:e.colors.brand,backgroundColor:"none",border:`solid ${e.colors.brand} 1px`},"& > button:active ":{color:"inherit",backgroundColor:"inherit"},"&::before":{display:"none"},"& > button.gtm-facebook-share-button > svg":{top:"53%"},"& > button.gtm-clipboard-share-button:before":{fontSize:(0,o.g)(12)}}],""),Rt=(0,s.A)("div",{target:"en6oh1n0",label:"LabelsContainer"})(()=>({display:"flex",paddingTop:(0,o.g)(8),gap:(0,o.g)(8)}),""),It=(0,s.A)("div",{target:"e1409mtu2",label:"StyledLiveEventShareButtonContainer"})(({theme:e,buttonPosition:l="left"})=>({display:"inline-flex",width:"fit-content",marginLeft:l==="left"?0:"auto",marginRight:l==="left"?"auto":0}),""),Ut=(0,s.A)("button",{target:"e1409mtu1",label:"StyledShareButtonContainer"})(({theme:e,shareButtonsVisible:l,compactTextPaddingOnMobile:S})=>[{display:"flex",padding:S?(0,o.g)(e.margins.sm,29.408):(0,o.g)(e.margins.sm,e.margins.md,e.margins.sm,12),justifyContent:"center",alignItems:"center",height:"fit-content",width:"fit-content",borderRadius:(0,o.g)(100),background:L.tokens.thenightly.colors.palette.neutral[10],border:`1px solid ${L.tokens.thenightly.colors.palette.neutral[10]}`,cursor:"pointer",marginRight:(0,o.g)(e.margins.sm),[(0,D.C9)("md")]:{padding:(0,o.g)(e.margins.sm,e.margins.md,e.margins.sm,12),marginRight:(0,o.g)(e.margins.md)},"&:hover":{background:L.tokens.thenightly.colors.palette.neutral[20]}},l&&{padding:S?(0,o.g)(e.margins.sm,e.margins.md):(0,o.g)(e.margins.sm,30.4),background:L.tokens.thenightly.colors.palette.neutral[0],border:`1px solid ${L.tokens.thenightly.colors.palette.neutral[100]}`,[(0,D.C9)("md")]:{padding:(0,o.g)(e.margins.sm,30.4)},"&:hover":{background:L.tokens.thenightly.colors.palette.neutral[10]}}],""),Ot=(0,s.A)("span",{target:"e1409mtu0",label:"StyledShareButtonText"})(({theme:e,shareButtonsVisible:l,hideTextOnMobile:S})=>[{color:L.tokens.thenightly.colors.palette.neutral[100],fontFamily:e.fonts.sansSerif,fontSize:(0,o.g)(16),lineHeight:(0,o.g)(24),fontWeight:400,letterSpacing:(0,o.g)(-.32),textDecoration:"uppercase",marginLeft:(0,o.g)(e.margins.sm),display:S?"none":"block",[(0,D.C9)("md")]:{dis
27play:"block"}},l&&{marginLeft:0,display:"block"}],""),_e=({className:e,strokeColor:l="#161616"})=>a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},a.createElement("path",{stroke:l,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.7914 12.6075C21.0355 12.3982 21.1575 12.2936 21.2023 12.1691C21.2415 12.0598 21.2415 11.9403 21.2023 11.831C21.1575 11.7065 21.0355 11.6019 20.7914 11.3926L12.3206 4.13202C11.9004 3.77182 11.6903 3.59172 11.5124 3.58731C11.3578 3.58348 11.2101 3.6514 11.1124 3.77128C11 3.90921 11 4.18595 11 4.73942V9.03468C8.86532 9.40813 6.91159 10.4898 5.45971 12.1139C3.87682 13.8846 3.00123 16.176 3 18.551V19.163C4.04934 17.8989 5.35951 16.8766 6.84076 16.166C8.1467 15.5395 9.55842 15.1684 11 15.0706V19.2607C11 19.8141 11 20.0909 11.1124 20.2288C11.2101 20.3487 11.3578 20.4166 11.5124 20.4128C11.6903 20.4084 11.9004 20.2283 12.3206 19.8681L20.7914 12.6075Z"}));var St=t(99266);const Vt=e=>{const[l,S]=(0,a.useState)(!!e.forceOpen),[T,f]=(0,a.useState)(e.forceOpen?"visible":"");return a.createElement(It,{buttonPosition:e.buttonPosition},a.createElement(Ut,{shareButtonsVisible:l,compactTextPaddingOnMobile:!0,onClick:()=>{l?(S(!1),f("invisible")):(S(!0),f("visible"))}},!l&&a.createElement(_e,null),a.createElement(Ot,{shareButtonsVisible:l,hideTextOnMobile:!0},l?"CLOSE":"SHARE")),a.createElement(St.r,{visible:T,onEvent:e.onEvent,shareOptions:e.shareOptions,text:e.text,url:e.url,animationType:"fade-down-n-in",hideClipboardTextOnMobile:!0}))};var Gt=t(34051);const Yt=({post:e,eventTitle:l,log:S,adUnitPath:T,lazyLoadRef:f,onEvent:H,renderIDAnchorTag:V=!0,canTruncate:C,isActivePost:ae,isPinnedPost:Z,entryType:ee,isKeyEvent:ve})=>{const _=(0,b.u)(),ge=e.profiles.length>=1?e.profiles.map(me=>me.name).join(" &"):e.byline,Ae=(0,lt.F)(e.sticky,C),Se=Qt(_,Ae),oe=Dt(_);return a.createElement(bt,{ref:f,key:e.id,id:V?e.id:void 0,noBotMargin:C,isActivePost:ae,isPinnedPost:Z},a.createElement(vt.K,{profile:e.profiles,publicationKind:e.kind,timestamp:e.publishedDate,isFullWidth:!0,allowCommenting:!1,fundingType:void 0,text:ge||void 0,happeningPost:e.happening?.label,pinnedPost:Ae,entryType:ee,isKeyEvent:ve}),_.kind===k.Y.TheNightly&&a.createElement(Rt,null,ve&&a.createElement(Gt.v,{text:"Key Event",variant:"happening"}),e.happening?.label&&a.createElement(Gt.v,{text:e.happening.label,variant:"happening"})),e.title&&a.createElement(we,null,e.title),a.createElement(ct,null,a.createElement(et.R,{blocks:(0,ft.ER)(e.content.blocks),onEvent:()=>{},log:S,adUnitPath:T,publicationKind:"event",isEventPost:!0})),Se==="show-thenightly"&&a.createElement(Vt,{url:e._self,text:e.title||l,onEvent:H,shareOptions:oe,customCampaign:"liveblog",publicationId:e.eventId,postId:e.id}),Se==="show-regular"&&a.createElement(ut,{url:e._self,text:e.title||l,onEvent:H,shareOptions:oe,customCampaign:"liveblog",publicationId:e.eventId,postId:e.id}))},Qt=(e,l)=>l!=="full"?e.kind===k.Y.TheNightly?"show-thenightly":"show-regular":"none",Dt=e=>e.kind===k.Y.TheNightly?["facebook","linkedin","x","email_tn","clipboard"]:["twitter","facebook","clipboard"],d=(0,s.A)("div",{target:"e10uvxp60",label:"StyledPinnedPosts"})(({theme:e})=>({}),"");var B=t(78520),z=t(47441),re,F,te;const he=L.tokens.sevennews.colors.palette.gradialRed,ce=L.tokens.sevennews.colors.palette.gradialGrey,We=L.tokens.sevennews.colors.palette.greyLight,Qe=(e,l)=>({"10%":{background:e},"100%":{background:l}}),c=(0,s.A)("div",{target:"eozvh5e11",label:"StyledLiveEventPost"})(({theme:e,noBotMargin:l,isActivePost:S})=>[{padding:e.margins.md,marginBottom:l?void 0:e.margins.sm,background:We,[(0,D.C9)("sm")]:{margin:e.margins.md,marginBottom:l?0:e.margins.md},[(0,D.C9)("md")]:{padding:(0,K.P)(e,{fallback:e.margins.md}),margin:(0,o.g)(0,0,e.margins.md,0),marginBottom:l?0:(0,o.g)(e.margins.md,e.margins.sm)}},S&&{animation:`${(0,J.i7)(Qe(he,e.colors.palette.white),";label:animation;")} 3s ease`}],""),i=(0,s.A)("h2",{target:"eozvh5e10",label:"StyledLiveEventTitle"})(({theme:e})=>({margin:(0,o.g)(e.margins.sm,0),fontSize:(0,o.g)(21),fontFamily:e.fonts.sansSerif,fontWeight:700,color:e.colors.palette.black,lineHeight:(0,o.g)(31)}),""),h=(0,s.A)("div",{target:"eozvh5e9",label:"StyledLiveEventTitleRow"})(()=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:(0,o.g)(8),"& > h2":{flex:1,marginTop:0,marginBottom:0},"& > button":{flexShrink:0,margin:0}}),""),p=(0,s.A)("div",{target:"eozvh5e8",label:"StyledTopPinnedChipContainer"})(()=>({display:"flex",justifyContent:"flex-end",width:"100%",marginBottom:(0,o.g)(8),"& > button":{margin:0}}),""),m=(0,s.A)("div",{target:"eozvh5e7",label:"StyledLiveEventArticleBlockContent"})(({theme:e})=>[{margin:(0,o.g)(e.margins.md,0),"& > div > p":{fontFamily:e.fonts.sansSerif,fontSize:(0,o.g)(16),fontWeight:400,lineHeight:(0,o.g)(27)},"& > div > blockquote > p":{marginLeft:0,fontSize:(0,o.g)(18),fontWeight:700,fontFamily:e.fonts.sansSerif,color:e.colors.brand,lineHeight:(0,o.g)(25)},"& > div > blockquote > div":{width:4}},e.kind==="sevennews"&&{"& > div > blockquote ":{transform:"translateX(0)",marginLeft:0,marginRight:0,width:"100%",maxWidth:"100%","& > p":{maxWidth:"100%"}}}],""),O=(0,s.A)("div",{target:"eozvh5e6",label:"StyledBylineWrap"})(({})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative"}),""),se=(0,s.A)("div",{target:"eozvh5e5",label:"StyledShareWrapper"})(({isOpened:e})=>({display:"flex",alignItems:"center",gap:(0,o.g)(8),visibility:e?"visible":"hidden",
27width:e?(0,o.g)(110):0,marginTop:(0,o.g)(3),[(0,D.C9)("xxs")]:{gap:(0,o.g)(16)},[(0,D.C9)("md")]:{marginTop:0},'& [class*="StyledButton"]':{width:(0,o.g)(26),height:(0,o.g)(26)}}),""),ye=null,ne=(0,s.A)(z.D,{target:"eozvh5e3",label:"StyledLiveEventTimestamp"})(()=>({fontFamily:Me.l.sevennews.sansSerif,fontSize:(0,o.g)(12),fontWeight:600,color:ce,minWidth:(0,o.g)(80),[(0,D.C9)("xxs")]:{minWidth:(0,o.g)(204)}}),""),ue=(0,s.A)("div",{target:"eozvh5e2",label:"StyledFooterCardContainer"})(()=>({display:"flex",justifyContent:"space-between"}),""),Q=(0,s.A)("div",{target:"eozvh5e1",label:"StyledFooterCardMobileWrap"})(()=>({display:"flex",alignItems:"center",gap:(0,o.g)(8)}),""),le=(0,s.A)("div",{target:"eozvh5e0",label:"StyledShareMobileWrapper"})(({isOpened:e})=>({width:(0,o.g)(18),height:"100%",cursor:"pointer","&:hover":{"& svg path":{fill:A.T.sevennews.red}},"& svg path":{fill:e?A.T.sevennews.red:void 0}}),"");var Ie=t(87484);const j=()=>a.createElement("svg",{width:"18",height:"13",viewBox:"0 0 18 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{opacity:"0.7",d:"M10.2308 4V1L17 6L10.2308 11V7.5C6.81538 7.5 3.67692 8.1 1 12C1.35692 9.68421 1.71385 4.57895 10.2308 4Z",stroke:A.T.sevennews.red,strokeWidth:"1.2",strokeMiterlimit:"16",strokeLinejoin:"round"}));var X=t(91408),Pe=t(95054),je=t(49250);const Re=({post:e,eventTitle:l,log:S,adUnitPath:T,lazyLoadRef:f,onEvent:H,renderIDAnchorTag:V=!0,canTruncate:C,isActivePost:ae,entryType:Z})=>{const[ee,ve]=(0,a.useState)(!1),[_,ge]=(0,a.useState)(!1),Ae=(0,a.useRef)(null),Se=e.profiles.length>=1?e.profiles.map(De=>De.name).join(" &"):e.byline,oe=(0,lt.F)(e.sticky,C),me=(0,Ie.k)(),ke=oe==="full"||oe==="icon-only",Oe=ke&&!_;(0,a.useEffect)(()=>{if(!ke){ge(!1);return}let De=0;const Jt=()=>{const _t=Ae.current;if(!_t)return;const en=Number.parseFloat(window.getComputedStyle(_t).lineHeight);if(!Number.isFinite(en)||en===0)return;const nn=Math.round(_t.getBoundingClientRect().height/en);ge(nn>3)};De=window.requestAnimationFrame(Jt);const qt=()=>{ge(!1),De=window.requestAnimationFrame(Jt)};return window.addEventListener("resize",qt),()=>{window.cancelAnimationFrame(De),window.removeEventListener("resize",qt)}},[ke,oe,e.title]);const Xt=async()=>{if(navigator&&typeof navigator.share<"u")try{await navigator.share({url:e._self,text:e.title||void 0}),ve(!1)}catch(De){ve(!1),console.error(De,"Error while sharing")}else ve(De=>!De)},$e=()=>me?a.createElement(Q,null,a.createElement(le,{isOpened:ee,onClick:Xt},a.createElement(j,null)),e.publishedDate&&a.createElement(ne,{timestamp:e.publishedDate,timestampFormat:"relativeLongFormat"})):a.createElement(se,{isOpened:!0},a.createElement(X.S,{url:e._self,text:e.title||l,onEvent:()=>{},sharingOptions:["facebookRounded","clipboard","x"],isLiveBlog:!0}),e.publishedDate&&a.createElement(ne,{timestamp:e.publishedDate,timestampFormat:"relativeLongFormat"}));return a.createElement(c,{ref:f,key:e.id,id:V?e.id:void 0,noBotMargin:C,isActivePost:ae},_&&a.createElement(p,null,(0,je.f)({pinned:oe,happening:void 0,entryType:Z})),e.title&&(Oe?a.createElement(h,null,a.createElement(i,{ref:Ae},e.title),(0,je.f)({pinned:oe,happening:void 0,entryType:Z})):a.createElement(i,{ref:Ae},e.title)),a.createElement(m,null,a.createElement(et.R,{blocks:(0,ft.ER)(e.content.blocks),onEvent:()=>{},log:S,adUnitPath:T,publicationKind:"event"})),a.createElement(ue,null,a.createElement(O,null,a.createElement(Pe.a,{profiles:e.profiles,byline:Se||void 0,isLiveBlog:!0,source:"7NEWS"}),$e()),!ke&&(0,je.f)({pinned:oe,happening:e.happening?.label,entryType:Z})))},Mt=({eventTitle:e,pinned:l,log:S,adUnitPath:T,onEvent:f})=>{const H=(0,xt.B)();return a.createElement(d,null,l.map(V=>a.createElement(B.f,{key:`pinned-${V.id}`,customStyle:"pinned-post"},H==="sevennews"?a.createElement(Re,{post:V,eventTitle:e,log:S,adUnitPath:T,onEvent:f,renderIDAnchorTag:!1}):a.createElement(Yt,{post:V,eventTitle:e,log:S,adUnitPath:T,onEvent:f,renderIDAnchorTag:!1,isPinnedPost:!0,isKeyEvent:V.milestone??!1}))))},Zt=(0,s.A)("div",{target:"e19b64ev0",label:"StyledLiveEventTimeline"})(({theme:e})=>[{overflow:"auto",minHeight:"100vh",marginLeft:e.margins.md*-1,marginRight:e.margins.md*-1,background:g.colors.thewest.greySeal,"& > div:first-of-type":{marginTop:e.margins.md},[(0,D.C9)("md")]:{"& > div:first-of-type":{marginTop:void 0}}},e.kind==="perthnow"||e.kind==="thewest"&&{[(0,D.C9)("md")]:{"& > div:first-of-type":{marginTop:0}}},e.kind==="sevennews"&&{background:e.colors.palette.white,[(0,D.C9)("md")]:{"& > div:first-of-type":{marginTop:e.margins.md}}},e.kind==="thenightly"&&{background:e.colors.palette.white,marginLeft:0,marginRight:0,"& > div:first-of-type":{marginTop:(0,o.g)(24)},"& > div:last-of-type":{borderBottom:"none"}}],""),Kt=({posts:e,adUnits:l,pinnedPosts:S,milestonePosts:T,eventTitle:f,log:H,triggerLazyLoad:V,onEvent:C,divRef:ae,adState:Z,deepLinkedPostID:ee,entryType:ve})=>{const{componentRef:_}=(0,st.W)({offset:"0px",callback:V}),ge=a.useMemo(()=>new Set(T.map(oe=>oe.id)),[T]),Ae=S.length>0,Se=(0,xt.B)();return a.createElement(Zt,{ref:ae},Ae&&a.createElement(Mt,{pinned:S,eventTitle:f,log:H,adUnitPath:Z.targeting.adUnitPath,onEvent:C}),e.map((oe,me)=>a.createElement(a.Fragment,{key:oe.id},Se==="sevennews"?a.createElement(Re,{post:oe,log:H,eventTitle:f,adUnitPath:Z.targeting.adUnitPath,lazyLoadRef:me===e.length-2?_:void 0,onEvent:C,isActivePost:ee===oe.id,entryType:ve}):a.createElement(Yt,{post:oe,log:H,eventTitle:f,adUnitPath:Z.targeting.adUnitPath,lazyLoadRef:me===e.length-2?_:void 0,onEvent:C,isActivePost:ee===oe.id,entryType:ve,isKeyEvent:ge.has(oe.id)}),me in l&&a.createElement(g.AdUnitWrapper,{noticePosition:"above-center",padding:[4,0,4,0],adState:Z,unitId:l[me].id,onEvent:C,adType:"inline"}))))};var gt=t(68624),fe=t(75616),mt=t(4637);const Bt=(0,s.A)("div",{target:"e27n8ii5",label:"StyledMilestonesContainer"})(({theme:e})=>[{backgroundColor:g.colors.thewest.greyErmine,padding:e.margins.sm,margin:0},e.kind==="sevennews"&&{backgroundColor:g.colors.white,margin:(0,o.g)(e.margins.lg,-7,0)},e.kind==="thenightly"&&{backgroundColor:g.colors.white,padding:(0,o.g)(0,0,8)}],""),ot=(0,s.A)("div",{target:"e27n8ii4",label:"StyledMilestonesTimeline"})(({theme:e})=>({"& > a":{textDecoration:"none"}}),""),Ce=(0,s.A)("div",{target:"e27n8ii3",label:"StyledMilestone"})(({theme:e,dimmed:l})=>[{position:"relative",margin:(0,o.g)(0,20),padding:(0,o.g)(0,14,e.margins.md),borderLeft:`1px solid ${g.colors.thewest.greySeal}`,opacity:l?.2:1,"&:hover":{opacity:1}},e.kind!=="thenightly"&&{"&::after":{display:"block",position:"absolute",borderRadius:"50%",content:"''",left:-5,top:3,width:10,height:10,backgroundColor:e.colors.brand,zIndex:11}},e.kind==="thenightly"&&{padding:(0,o.g)(0,14,0),margin:(0,o.g)(0,8),borderLeft:"0px solid"}],""),Te=(0,s.A)(fe.D,{target:"e27n8ii2",label:"StyledMilestoneTimestamp"})(({theme:e})=>[{marginLeft:0,backgroundColor:"transparent",color:e.colors.palette.black,fontWeight:700,fontSize:(0,o.g)(15),lineHeight:(0,o.g)(16),fontFamily:e.fonts.sansSerif},e.kind==="sevennews"&&{color:(0,mt.B3)(39,38,38,.5),fontWeight:600,fontSize:(0,o.g)(12),fontFamily:e.fonts.sansSerif}],""),dn=(0,s.A)("span",{target:"e27n8ii1",label:"StyledMilestoneTitle"})(({theme:e})=>[{textDecoration:"none",color:e.colors.palette.black,fontWeight:"inherit",fontFamily:e.fonts.serif},e.kind==="sevennews"&&{fontFamily:e.fonts.sansSerif,fontWeight:400},e.kind==="thenightly"&&{display:"list-item",color:e.colors.text.tertiary,textDecorationLine:"underline",lineHeight:(0,o.g)(24),letterSpacing:(0,o.g)(-.32),fontFamily:e.fonts.sansSerif,fontWeight:400}],""),Nn=(0,s.A)("h3",{target:"e27n8ii0",label:"StyledMilestonesTitle"})(({theme:e})=>[{fontSize:(0,o.g)(22),padding:(0,o.g)(0,e.margins.md,e.margins.md),margin:0},e.kind==="thenightly"&&{padding:(0,o.g)(0,0,8)}],"");var Ln=t(60914),Wn=t(22010),Rn=t(60461),pn=t(53417);const On=(0,s.A)("div",{target:"e106zpcn1",label:"TNLiveComponentContainer"})(({backgroundColor:e="#FFF",padding:l})=>({display:"inline-flex",gap:(0,o.g)(4),height:"fit-content",width:"fit-content",padding:l,"&.with-background":{padding:(0,o.g)(4,8),borderRadius:(0,o.g)(15),backgroundColor:e},"&.image-overlay":{left:(0,o.g)(16),bottom:(0,o.g)(16),position:"absolute",zIndex:pn.f.thenightly.cardPlayButton}}),""),Dn=(0,s.A)("span",{target:"e106zpcn0",label:"TNLiveComponentText"})(({textColor:e=L.tokens.thenightly.colors.palette.utility.error.default})=>({display:"flex",alignSelf:"center",margin:0,color:e,fontWeight:700,textDecoration:"uppercase"}
27),""),zn=({showBackground:e=!1,backgroundColor:l,textColor:S,overlayOnImage:T=!1,showIconAnimation:f=!0,padding:H})=>a.createElement(On,{padding:H,backgroundColor:l,className:`${e?"with-background":""} ${T?"image-overlay":""}`},a.createElement(Rn.S,{useAnimation:f,fillColor:S}),a.createElement(Dn,{textColor:S},"LIVE"));var Fn=t(53108);function qa(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const Hn=(0,s.A)("h3",{target:"e1kdzf30",label:"Headline"})({name:"1sz5d51",styles:"width:100%;margin:0"});var jn=t(9675),_a,eo,to;function no(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const ao=null,$n=(0,s.A)(Hn,{target:"ejtl1rp2",label:"StyledHeadline"})(({theme:e})=>(0,jn.H)(e,"article"),""),Un=(0,s.A)(gt.f,{target:"ejtl1rp1",label:"CardLinkWrapper"})({display:"flex",flexDirection:"column",color:"unset",textDecoration:"none",position:"relative",[`&:is(:hover, :focus) ${$n}`]:{textDecoration:"underline"}},""),oo=null,yn=e=>{const l=new URL(e);return l.pathname+l.hash},Gn=({milestones:e,onEvent:l,isActiveEvent:S=!1})=>{const[T,f]=(0,a.useState)(!1),V=(0,b.u)().kind===k.Y.TheNightly;return a.createElement(Wn.e,{condition:V,Wrapper:({children:C})=>a.createElement(Ln.GO,null,C)},V&&S&&a.createElement(zn,{padding:(0,o.g)(18,0,0)}),a.createElement(B.f,{customStyle:"milestones"},V?a.createElement(Fn.g,{posts:e.filter(C=>C.title!=null&&C.title.trim()!=="").map(C=>({postId:C.id,title:C.title,link:yn(C._self),publishedDate:C.publishedDate})),getLinkComponentWithChildren:C=>a.createElement(Un,{...C,openExternalInNewWindow:!1}),showHeader:!0,showDateTime:!0}):a.createElement(Bt,null,a.createElement(Nn,null,"Key Events"),a.createElement(ot,null,e.map(C=>a.createElement(gt.f,{key:C.id,to:yn(C._self),openExternalInNewWindow:!1},a.createElement(Ce,{dimmed:!V&&T,onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),onClick:()=>{l({type:E.b.milestoneClick,originator:"LiveEvent",payload:{publicationId:C.eventId,postId:C.id}})}},a.createElement(Te,{timestampStyle:"relative",time:C.publishedDate}),a.createElement(dn,null,C.title))))))))};var tn=t(96727),cn=t(17356),Nt=t(72674),Yn=t(91199),Qn=t(30618),fn=t(82543),Zn=t(30680),Kn=t(93561),zt=t(6189),Xn=t(79575),Jn=t(92536),qn=t(47583);const un=5,_n=5,ea=5,ta=({publicationId:e,initialPostState:l,onLiveEventUpdate:S,onEvent:T,addDebugEvent:f})=>{const H=(0,qn.W6)(),{fetchEventPosts:V,isFetching:C}=(0,Kn.L)(),[ae,Z]=(0,a.useState)(l.activePosts),[ee,ve]=(0,a.useState)(l.postCount),[_,ge]=(0,a.useState)(l.stickyPosts),[Ae,Se]=(0,a.useState)(l.milestonePosts),[oe,me]=(0,a.useState)(l.queuedPosts),[ke,Oe]=(0,a.useState)(!1),[Xt,$e]=(0,a.useState)(l.activePosts.length<l.postCount),De=ae.length>0?ae[ae.length-1]:void 0,Jt=(0,a.useCallback)(async()=>{if(C)return;f("Loading more posts...");const q=await V({publicationId:e,reference:De?.id,after:0,before:un});T({type:Zn.b.loadMoreOlderPosts,originator:"LiveEvent",payload:{publicationId:e,lastPostPrior:De?.id??"first post"}});const Ee=q.totalAfter+q.totalBefore+1;ve(Ee);const[Ue,...mn]=q.documents;Z(ln=>[...ln].concat(mn)),$e(q.totalBefore>=un),f(`${q.documents.length} new posts loaded.`)},[f,V,C,De,T,e]),qt=(0,a.useCallback)(()=>{me(q=>(Oe(Ee=>(Ee?(f("Exiting deep-link state and restoring original content."),Z(q),$e(!0)):(f("Updating list with new posts."),Z(Ue=>(0,zt.Mm)(Ue,...q)),ve(Ue=>Ue+q.length)),!1)),[]))},[f]),_t=(0,a.useCallback)(q=>me(Ee=>Ee.find(Ue=>Ue.id===q.id&&Ue.lastUpdated===q.lastUpdated)?Ee:(f(`Post ${q.id} recieved as update. Incorporating and adding to update queue.`),(0,zt.zz)(q)&&ge(Ue=>(0,zt.Mm)(Ue,q)),(0,zt.$L)(q)&&Se(Ue=>(0,zt.Mm)(Ue,q)),S?.(q),[...Ee,q])),[f,S]),en=(0,a.useCallback)(q=>{f(`Post ${q.id} recieved deletion update. Deleting post.`),ge(Ee=>(0,zt.e2)(q,Ee)),Se(Ee=>(0,zt.e2)(q,Ee)),Z(Ee=>(0,zt.e2)(q,Ee)),ve(Ee=>Ee-1),S?.(q)},[f,S]);(0,Jn.r)({publicationId:e,onPostCreate:_t,onPostDelete:en});const nn=(0,a.useCallback)(async q=>{if(ae.findIndex(Ee=>Ee.id===q)===-1){f(`Post ${q} not found on page! Entering deep link state.`);const Ee=await V({publicationId:e,reference:q,before:_n,after:ea});ke||Z(Ue=>(me(Ue),Ee.documents)),$e(Ee.totalBefore>=un),Oe(!0)}f(`Post ${q} loaded. Scrolling to post.`),await(0,cn.d)(q),(0,Xn.E)(H)},[ae,f,V,ke,e]);return{isFetching:C,postState:{activePosts:ae,stickyPosts:_,milestonePosts:Ae,queuedPosts:oe,postCount:ee},loadUpdates:qt,handleDeepLink:nn,loadMore:Jt,canLoadMore:Xt}};var na=t(19684),io,so;const vn=(0,s.A)("div",{target:"e1pymg8j18",label:"StyledMainView"})(({theme:e})=>({display:"flex",flexDirection:"row",backgroundColor:g.colors.thenightly.neutral[100],margin:(0,o.g)(10,10,0),padding:(0,o.g)(8),borderRadius:(0,o.g)(12),columnGap:(0,o.g)(8),alignItems:"center",justifyContent:"space-around","&:hover":{cursor:"pointer",borderColor:g.colors.thenightly.custom[10]},[(0,D.C9)("sm")]:{margin:(0,o.g)(10,0,0)}}),""),aa=(0,s.A)("div",{target:"e1pymg8j17",label:"StyledOpenedMainView"})(({theme:e})=>({display:"flex",flexDirection:"column",backgroundColor:g.colors.thenightly.neutral[100],margin:(0,o.g)(10,10,0),padding:(0,o.g)(16),borderRadius:(0,o.g)(12),rowGap:(0,o.g)(16),alignItems:"flex-start",[(0,D.C9)("sm")]:{margin:(0,o.g)(10,0,0)}}),""),oa=(0,s.A)("div",{target:"e1pymg8j16",label:"StyledAuthorsView"})(({theme:e})=>({display:"flex",flexDirection:"row",columnGap:(0,o.g)(8),alignItems:"center","&:hover":{cursor:"pointer"}}),""),An=(0,s.A)("div",{target:"e1pymg8j15",label:"StyledImageView"})(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",borderRadius:(0,o.g)(12),"& > *:not(:first-of-type)":{marginLeft:"-5px"}}),""),lo=null,ia=(0,s.A)("button",{target:"e1pymg8j13",label:"StyledLessButton"})(({theme:e})=>({width:"100%",background:"transparent",border:`1px solid ${g.colors.thenightly.live[50]}`,borderRadius:(0,o.g)(8),padding:(0,o.g)(4,0),display:"flex",flexDirection:"row",gap:(0,o.g)(8),justifyContent:"center",transition:"0.2s ease","&:hover":{cursor:"pointer",borderColor:g.colors.thenightly.custom[10]}}),""),sa=(0,s.A)("p",{target:"e1pymg8j12",label:"StyledLessButtonText"})(({theme:e})=>({color:g.colors.thenightly.live.default,fontFamily:e.fonts.sansSerif,margin:0,lineHeight:"150%"}),""),la=(0,s.A)("p",{target:"e1pymg8j11",label:"TitleText"})(({theme:e})=>({fontSize:(0,o.g)(20),fontWeight:"bold",color:g.colors.thenightly.live.default,fontFamily:e.fonts.sansSerif,margin:0}),""),gn=(0,s.A)("i",{target:"e1pymg8j10",label:"StyledSquareIcon"})(({theme:e,size:l,color:S,rotate:T})=>[{display:"flex",width:l??24,height:l??24,color:S||g.colors.thenightly.neutral[70]},T&&{transform:`rotate(${T}deg)`}],""),ro=null,ra=(0,s.A)("img",{target:"e1pymg8j8",label:"StyledAuthorImage"})(({size:e,isShadowView:l})=>({width:e,height:e,borderRadius:e*2,...l&&{marginLeft:"-5px"}}),""),da=(0,s.A)("span",{target:"e1pymg8j7",label:"StyledNoImageGradient"})(({size:e})=>({borderRadius:e*2,width:e,height:e,display:"flex",justifyContent:"center",alignItems:"center"}),""),ca=(0,s.A)("div",{target:"e1pymg8j6",label:"StyledShadow"})(({theme:e,size:l})=>({backgroundColor:g.colors.thenightly.neutral[10],borderRadius:l*2,boxShadow:"0 0 0 2px rgba(22, 22, 22, 0.5)"}),""),co=null,ua=(0,s.A)("p",{target:"e1pymg8j4",label:"StyledNameText"})(({theme:e})=>({color:g.colors.thenightly.neutral[0],fontFamily:e.fonts.sansSerif,lineHeight:"150%",margin:0}),""),ga=(0,s.A)("p",{target:"e1pymg8j3",label:"StyledNames"})(({theme:e})=>({color:g.colors.thenightly.neutral[0],display:"flex",flex:1,fontFamily:e.fonts.sansSerif,fontSize:(0,o.g)(12),margin:(0,o.g)(10,0),[(0,D.C9)("xs")]:{fontSize:(0,o.g)(16)}}),""),ma=(0,s.A)("span",{target:"e1pymg8j2",label:"StyledLiveText"})(({theme:e})=>({color:g.colors.thenightly.live.default,fontFamily:e.fonts.sansSerif,fontWeight:"bold",marginLeft:(0,o.g)(6)}),""),ha=(0,s.A)("div",{target:"e1pymg8j1",label:"StyledShadowView"})(({theme:e})=>({borderRadius:(0,o.g)(48),width:24,height:24,display:"flex",justifyContent:"center",alignItems:"center",marginLeft:(0,o.g)(-5),backgroundColor:g.colors.thenightly.live[90],boxShadow:"0 0 2.4px 0 rgba(0, 0, 0, 0.50)"}),""),pa=(0,s.A)("p",{target:"e1pymg8j0",label:"StyledCountText"})(({theme:e})=>({fontFamily:e.fonts.sansSerif,fontSize:(0,o.g)(10),color:g.colors.thenightly.live[10]}),""),ya=({fill:e,...l})=>a.createElement("svg",{fill:"none",viewBox:"0 0 24 24",...l},a.createElement("path",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 21C20 19.6044 20 18.9067 19.8278 18.3389C19.44 17.0605 18.4395 16.06 17.1611 15.6722C16.5933 15.5 15.8956 15.5 14.5 15.5H9.5C8.10444 15.5 7.40665 15.5 6.83886 15.6722C5.56045 16.06 4.56004 17.0605 4.17224 18.3389C4 18.9067 4
2719.6044 4 21M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z"})),on=({src:e,size:l,isShadowView:S=!1})=>{const T=l==="small"?24:40;return e?a.createElement(ra,{isShadowView:S,size:T,src:e,alt:"Journalist Image"}):a.createElement(ca,{size:T},a.createElement(da,{size:T},a.createElement(gn,{size:l==="small"?14.4:24},a.createElement(ya,{fill:"#000000"}))))},bn=({name1:e,name2:l})=>a.createElement(ga,null,e,l?` and ${l} are`:" is",a.createElement(ma,null," reporting live."));var Sn=t(18885);const fa=({publicationKind:e,activePosts:l,isActiveEvent:S})=>{const f=(0,b.u)().kind==="thenightly",H=(0,a.useMemo)(()=>S?l.map(V=>{const C=V.profiles;return Array.isArray(C)&&C.length>0?C:{name:V.byline}}).reduce((V,C)=>(Array.isArray(C)?C.forEach(ae=>{V.some(Z=>Z.name===ae.name)||V.push(ae)}):V.some(ae=>ae.name===C.name)||V.push(C),V),[]):[],[l,S]);return S&&e==="event"&&f?a.createElement(Aa,{authors:H}):null},va=({authors:e})=>{const[l,S]=(0,a.useState)(!1),T=(0,a.useCallback)(f=>{f.slug!==void 0&&window.open(`/profile/${f.slug}`,"_blank","noopener,noreferrer")},[]);return!e||e.length===0?null:e.length===1?a.createElement(vn,{onClick:()=>T(e[0])},a.createElement(An,null,a.createElement(on,{size:"small",src:e[0].thumbnailPhoto})),a.createElement(bn,{name1:e[0].name})):l?a.createElement(aa,null,a.createElement(la,null,"Reporting Live"),e.map((f,H)=>a.createElement(oa,{key:H,onClick:()=>T(f)},a.createElement(on,{size:"large",src:f.thumbnailPhoto}),a.createElement(ua,null,f.name))),a.createElement(ia,{onClick:()=>S(!1)},a.createElement(sa,null,"Less"),a.createElement(gn,{size:24,rotate:180},a.createElement(Sn.D,{strokeColor:"#ffffff"})))):a.createElement(vn,{onClick:()=>S(!0)},a.createElement(An,null,a.createElement(on,{size:"small",src:e[0].thumbnailPhoto}),e.length===2&&a.createElement(on,{size:"small",isShadowView:!0,src:e[1].thumbnailPhoto}),e.length>2&&a.createElement(ha,null,a.createElement(pa,null,"+",e.length-1))),a.createElement(bn,{name1:e[0].name,name2:e.length===2?e[1].name:`${e.length-1}+ more`}),a.createElement(gn,{size:24},a.createElement(Sn.D,{strokeColor:"#ffffff"})))},Aa=a.memo(va),ba=4,Sa=4,uo=!1,Ea=e=>(0,n.iT)("live-event-pagination")?a.createElement(wa,{...e}):a.createElement(Pa,{...e}),wa=({publication:e,log:l,adState:S,pageSize:T=10,maxPages:f=100,onEvent:H,onLiveEventUpdate:V})=>{const{isVisible:C,componentRef:ae}=(0,st.W)(),{debugPanelProps:Z,addDebugEvent:ee}=(0,tn.Rj)("event"),{isFetching:ve,postState:_,paging:ge,setPage:Ae,handleDeepLink:Se,loadUpdates:oe}=(0,Yn.q)({publicationId:e.id,pageSize:T,initialPostState:{activePosts:e.entries.documents,stickyPosts:e.entries.stickies,milestonePosts:e.entries.milestones,queuedPosts:[],postCount:e.entries.total},onLiveEventUpdate:V,addDebugEvent:ee}),me=(0,fn.E)({handleDeepLink:Se,addDebugEvent:ee}),ke=(0,a.useMemo)(()=>Z.isEnabled?{isVisible:C,deepLinkId:me,activePosts:_.activePosts.map($e=>$e.id),stickyPosts:_.stickyPosts.map($e=>$e.id),milestonePosts:_.milestonePosts.map($e=>$e.id),queuedPosts:_.queuedPosts.map($e=>$e.id),totalPostCount:_.postCount,isFetching:ve,paging:ge}:{},[Z.isEnabled,me,ve,C,ge,_]),Oe=(0,a.useRef)(null),Xt=(0,a.useCallback)(()=>{(0,tn.YL)("Jumping to top"),(0,cn.P)(Oe.current),oe()},[oe]);return a.createElement(Nt.rf,{ref:ae},a.createElement(Nt.RQ,{ref:Oe},a.createElement(Y,{onClick:Xt,inViewport:C,isLoading:ve,newPostCount:_.queuedPosts.length,defaultLabel:"BACK TO LATEST"})),a.createElement(En,{publication:e,postState:_,deepLinkPostId:me,adState:S,onEvent:H,log:l}),_.postCount>ge.pageSize&&a.createElement(Qn.d,{itemCount:_.postCount,maxPages:f,setPage:Ae,paging:ge,onEvent:H}),a.createElement(tn.Yq,{...Z,debugObject:ke}))},Pa=({publication:e,log:l,adState:S,onEvent:T,onLiveEventUpdate:f})=>{const{isVisible:H,componentRef:V}=(0,st.W)(),{debugPanelProps:C,addDebugEvent:ae}=(0,tn.Rj)("event"),{isFetching:Z,postState:ee,handleDeepLink:ve,loadMore:_,loadUpdates:ge,canLoadMore:Ae}=ta({publicationId:e.id,initialPostState:{activePosts:e.entries.documents,stickyPosts:e.entries.stickies,milestonePosts:e.entries.milestones,queuedPosts:[],postCount:e.entries.total},onLiveEventUpdate:f,onEvent:T,addDebugEvent:ae}),Se=(0,fn.E)({handleDeepLink:ve,addDebugEvent:ae}),oe=(0,a.useMemo)(()=>C.isEnabled?{isVisible:H,deepLinkId:Se,activePosts:ee.activePosts.map(Oe=>Oe.id),stickyPosts:ee.stickyPosts.map(Oe=>Oe.id),milestonePosts:ee.milestonePosts.map(Oe=>Oe.id),queuedPosts:ee.queuedPosts.map(Oe=>Oe.id),totalPostCount:ee.postCount,isFetching:Z,canLoadMore:Ae}:{},[Ae,C.isEnabled,Se,Z,H,ee]),me=(0,a.useRef)(null),ke=(0,a.useCallback)(()=>{(0,tn.YL)("Jumping to top"),(0,cn.P)(me.current),ge()},[ge]);return a.createElement(Nt.rf,{ref:V},a.createElement(Nt.RQ,{ref:me}
27,a.createElement(Y,{onClick:ke,inViewport:H,isLoading:Z,newPostCount:ee.queuedPosts.length})),a.createElement(En,{publication:e,postState:ee,deepLinkPostId:Se,adState:S,onEvent:T,triggerLazyLoad:void 0,log:l}),a.createElement(Nt.py,null,Ae&&a.createElement(yt,{isLoading:Z,onClick:_})),a.createElement(tn.Yq,{...C,debugObject:oe}))},En=({publication:e,postState:{activePosts:l,stickyPosts:S,milestonePosts:T},deepLinkPostId:f,triggerLazyLoad:H,adState:V,onEvent:C,log:ae})=>{const Z=T.length>0,ee=e.classification?.label==="live",_=(0,b.u)().kind==="thenightly",ge=(0,na.v)({listSize:l.length,spacing:ba,offset:Sa});return l.length===0?null:a.createElement(a.Fragment,null,Z&&a.createElement(Gn,{milestones:T,onEvent:C,isActiveEvent:ee}),a.createElement(fa,{publicationKind:e.kind,activePosts:l,isActiveEvent:ee}),!_&&a.createElement(Nt.PD,{isActive:ee},ee&&a.createElement(a.Fragment,null,a.createElement(Nt.aK,null),a.createElement(Nt.tM,null,"Reporting",a.createElement("span",null," LIVE")))),!_&&ee&&a.createElement(Nt.lz,null),a.createElement(Kt,{posts:l,adUnits:ge,pinnedPosts:S,milestonePosts:T,eventTitle:e.heading,log:ae,triggerLazyLoad:H,onEvent:C,adState:V,deepLinkedPostID:f,entryType:e.entryType}))};var go;function mo(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const wn=x.q.sevennews.margins.md,Pn=x.q.sevennews.margins.lg,Ca=(0,s.A)("article",{target:"e1tjkl219",label:"StyledGrid"})({margin:"0 auto",width:"100%",display:"grid",gridTemplateColumns:"100%",gridGap:(0,o.g)(wn)},""),sn=(0,s.A)("div",{target:"e1tjkl218",label:"StyledCell"})(({largeGap:e})=>({padding:e===!0?`0 0 ${(0,o.g)(Pn)} 0`:0}),""),ho=null,po=(0,s.A)("div",{target:"e1tjkl216",label:"StyledNestedGrid"})({display:"grid",gridTemplateColumns:"100%",gridGap:(0,o.g)(wn),[(0,D.C9)("md")]:{gridTemplateColumns:"40px auto"},"@media print":{display:"block"}},""),yo=(0,s.A)(nt.r,{target:"e1tjkl215",label:"SevenNewsStyledSharing"})({position:"sticky",top:x.q.sevennews.margins.xxl},""),Ta=(0,s.A)("div",{target:"e1tjkl214",label:"StyledArticleContent"})({width:"100%",gridColumn:2,"& *:last-child":{marginBottom:0,zIndex:0},"& figure:last-child figcaption":{borderBottom:"none"},"& .twin-image-wrapper":{marginBottom:(0,o.g)(x.q.sevennews.margins.md),[(0,D.C9)("sm")]:{marginBottom:0}},"& .List":{paddingLeft:(0,o.g)(x.q.sevennews.margins.lg)}},""),Cn=321,ka=300,Tn=278,xa=(0,s.A)("div",{target:"e1tjkl213",label:"StyledStickyCell"})(({largeGap:e})=>({display:"block",[`&.${y.im}`]:{left:`calc(51vw - ((100vw - 100%)/2) + ${Cn/2}px)`,position:"fixed",top:`calc(100vh - ${Tn}px)`,width:Cn,zIndex:pn.f.common.stickyVideo,pointerEvents:"auto",paddingBottom:0},[(0,D.C9)("sm")]:{padding:e===!0?`0 0 ${(0,o.g)(Pn)} 0`:0}}),"");xa.displayName="StickyContainer";const kn=(0,s.A)("div",{target:"e1tjkl212",label:"StyledEntStickyCell"})(({isGallery:e})=>({display:e?"flex":"block",gap:(0,o.g)(20)}),"");kn.displayName="EntStickyContainer";const fo=(0,s.A)("div",{target:"e1tjkl211",label:"StyledEntStickyCellWrapper"})({display:"block",[`&.${y.im}`]:{width:"100%",position:"fixed",maxWidth:(0,o.g)(x.q.sevennews.siteMetrics.sevenEntMainContentWidth),height:Tn,bottom:(0,o.g)(10),margin:"0 auto",left:0,right:0,padding:(0,o.g)(0,x.q.sevennews.margins.xl),zIndex:1001,pointerEvents:"none",display:"flex",justifyContent:"flex-end",[`${kn}`]:{width:ka}}},""),Ia=(0,s.A)("div",{target:"e1tjkl210",label:"StyledStickyTop"})({name:"dwujfk",styles:"height:1px"});Ia.displayName="StickyWatcher";var xn,Va;const In=()=>{},Ma={buttonSlotElement:null,setButtonSlotElement:In,expandedPlayerSlotElement:null,setExpandedPlayerSlotElement:In},Vn=(0,a.createContext)(Ma);function Ba(){return(0,a.useContext)(Vn)}function vo({children:e}){const[l,S]=xn(null),[T,f]=xn(null);return Va.createElement(Vn.Provider,{value:{buttonSlotElement:l,setButtonSlotElement:S,expandedPlayerSlotElement:T,setExpandedPlayerSlotElement:f}},e)}var Na=t(5196);const La=(0,s.A)("div",{target:"eaxzjat0",label:"StyledTvGuideContainer"})(({theme:e})=>({display:"flex",justifyContent:"center",paddingTop:(0,o.g)(50),"& #tvguidetonight-widget-channels":{height:(0,o.g)(417),width:"100%",border:"none"}}),"");function Wa(){return a.createElement(La,null,a.createElement("iframe",{id:"tvguidetonight-widget-channels",src:"https://tvguidetonight.com.au/widgets/plus-channels.html",title:""}))}function Ra(e){const l=[{id:"entertainment/sas-australia",url:"https://7plus.com.au/sas-australia?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=sas-australia"},{id:"entertainment/dancing-with-the-stars",url:"https://7plus.com.au/dancing-with-the-stars-all-stars?utm_source=7NEWS&utm_medium=footer-button&utm_campaign=DWTS"},{id:"entertainment/home-and-away",url:"https://7plus.com.au/home-and-away?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=home-and-away"},{id:"entertainment/the-voice-australia",url:"https://7plus.com.au/the-voice?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=the-voice"},{id:"entertainment/big-brother-australia",url:"https://7plus.com.au/big-brother?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=big-brother"},{id:"entertainment/kitchen-nightmares-australia",url:"https://7plus.com.au/kitchen-nightmares-australia?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=kitchen-nightmares-australia"},{id:"entertainment/agt",url:"https://7plus.com.au/australias-got-talent?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=australias-got-talent"},{id:"entertainment/australian-idol",url:"https://7plus.com.au/australian-idol?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=australian-idol"},{id:"entertainment/heartbreak-island",url:"https://7plus.com.au/heartbreak-island-australia?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=heartbreak-island-aus"},{id:"entertainment/my-kitchen-rules",url:"https://7plus.com.au/my-kitchen-rules?utm_source=7NEWS&utm_medium=stream-free-button&utm_campaign=mkr-article-page"},{id:"entertainment/farmer-wants-a-wife",url:"https://7plus.com.au/farmer-wants-a-wife?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=farmer-wants-a-wife"},{id:"sport/aflw",url:"https://7plus.com.au/aflw?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=aflw-article"},{id:"sport/afl",url:"https://7plus.com.au/afl?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=afl-article"},{id:"sport/cricket",url:"https://7plus.com.au/cricket?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=cricket"},{id:"sport/surfing",url:"https://7plus.com.au/surfing?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=surfing"},{id:"sport/motorsport",url:"https://7plus.com.au/motorsport?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=motorsport"},{id:"sport/horse-racing",url:"https://7plus.com.au/horse-racing?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=horse-racing"},{id:"sport/nfl",url:"https://7plus.com.au/nfl?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=nfl"},{id:"sport/golf",url:"https://7plus.com.au/golf?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=golf"},{id:"sport/cycling",url:"https://7plus.com.au/cycling?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=cycling"},{id:"sport/athletics",url:"https://7plus.com.au/athletics?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=athletics"},{id:"sport",url:"https://7plus.com.au/sport?utm_source=7NEWS&utm_medium=bottom-7plus-button&utm_campaign=sport-article"},{id:"sunrise",url:"https://7plus.com.au/sunrise?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=sunrise-articles"},{id:"entertainment",url:"https://7plus.com.au/shows?utm_source=7NEWS&utm_medium=stream-free-bottom-article-button&utm_campaign=entertainment-articles"},{id:"the-morning-show",url:"https://7plus.com.au/the-morning-show?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=the-morning-show-articles"}
27,{id:"technology",url:"https://7plus.com.au/news?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=tech-articles"},{id:"news/world",url:"https://7plus.com.au/news?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=world-articles"},{id:"news/nsw",url:"https://7plus.com.au/seven-nsw-regional-news?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=news-nsw-articles"},{id:"news/vic",url:"https://7plus.com.au/7news-border?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=news-vic-articles"},{id:"news/qld",url:"https://7plus.com.au/seven-local-news-sunshine-coast?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=news-qld-articles"},{id:"news/wa",url:"https://7plus.com.au/7news-regional-wa?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=news-wa-articles"},{id:"news",url:"https://7plus.com.au/news?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=news-articles"},{id:"business",url:"https://7plus.com.au/news?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=business-articles"},{id:"weather",url:"https://7plus.com.au/news?utm_source=7NEWS&utm_medium=end-of-article-button&utm_campaign=weather-articles"},{id:"spotlight",url:"https://7plus.com.au/7news-spotlight?utm_source=7NEWS&utm_medium=7plus-footer-button&utm_campaign=spotlight-article-page"},{id:"lifestyle",url:"https://7plus.com.au/lifestyle?utm_source=7NEWS&utm_medium=7plus-footer-button&utm_campaign=lifestyle"}],S=[e],T=e.indexOf("/");if(T!==-1){const f=e.substring(0,T);S.push(f)}for(const f of S){const H=l.find(V=>V.id===f);if(H)return{isEnabled:!0,buttonLink:H.url}}return{isEnabled:!1}}const Oa="sticky-container",Da=({children:e})=>a.createElement(sn,{largeGap:!0},e),za=e=>{const{isTabletOrMobile:l}=(0,$.k)(),{buttonSlotElement:S,expandedPlayerSlotElement:T}=Ba(),f=e.data,H=f.content,V=(0,Na.T_)(f),C=e.targetedContent&&e.targetedContent.position==="inline"?e.targetedContent.element:void 0,ae=(0,n.Hn)(),Z=(0,w.XM)(ae),ve=f.kind==="event",_=(0,u.n)(f);(0,a.useEffect)(()=>{_&&e.onEvent({type:E.b.articleAvailable,originator:"SevenNewsPublication",payload:_})},[]);const ge=()=>{const me=Ra(f.primaryTopic.id);if(!(f.kind=="event")&&me.isEnabled&&me.buttonLink)return a.createElement(be,{URL:me.buttonLink})},Ae=a.createElement(et.R,{blocks:H,showInlineVideoTitles:!0,targetedContentElement:C,inlinePositionedContent:e.inlinePositionedContent,onEvent:e.onEvent,log:e.log,publicationKind:f.kind,ttsPresignedUrls:f.ttsPresignedUrls,ttsSlotElement:S,ttsExpandedSlotElement:T,publicationPathname:e.location.pathname,adUnitPath:e.adState.targeting.adUnitPath,getVideoQueue:e.getVideoQueue}),Se=V&&a.createElement(sn,{largeGap:!1},a.createElement(wt,{text:["This article was originally published from "," and appears with permission."],link:V,source:f.source})),oe=(0,w.G7)(Z,"7-news-tv-guide-widgets")&&l&&f.primaryTopic.id.includes("entertainment/tv");return a.createElement(Ca,null,a.createElement(sn,{largeGap:!0},a.createElement("div",null,H&&a.createElement(Ta,null,Ae,Se,ge()),ve&&a.createElement(Ea,{publication:f,log:e.log,adState:e.adState,onEvent:e.onEvent}))),a.createElement(g.Pubfeed,{publication:f,WrappingComponent:Da}),a.createElement(sn,null,a.createElement(Xe,{primaryTopic:f.primaryTopic,secondaryTopics:f.secondaryTopics})),oe&&a.createElement(Wa,null))};za.displayName="SevenNewsPublication";var Fa=t(72307),Ha=t(30011),ja=t(57185),$a=t(54586);const Ua=e=>{const l=(0,b.u)(),[S,T]=(0,a.useState)(!1),[f,H]=(0,a.useState)(!!e.autoplayOptions),[V,C]=(0,a.useState)(!1),ae=(0,R.e)(),Z=(0,I.v)({consentRequiredLevel:P.Rg.Advertising|P.Rg.Analytics}),ee=ae||Z,ve=Ft=>{Ft.type==="video.play"&&H(!0),e.onEvent(Ft)};(0,a.useEffect)(()=>{const Ft=document.querySelector(".sticky-cell"),Qa=an=>{!!(e.viewportWidth>=$a.f.md&&f)&&Ft&&an[0].isIntersecting===!1?(Ft.classList.add(y.im),T(!0)):(Ft&&Ft.classList.remove(y.im),T(!1))};let rn;const Za={rootMargin:`${Ft?.offsetHeight||630}px 0px 0px 0px`,threshold:.05};if(e.isVideoStickyEnabled&&"IntersectionObserver"in window){const an=document.querySelector(".sticky-cell");an&&an.style.setProperty("--stickyHeight",`${an.getBoundingClientRect().height+20}px`),rn=new IntersectionObserver(Qa,Za);const hn=document.querySelector(".sticky-top");if(hn&&rn.observe(hn),l.kind===k.Y.SevenNews){const Ka=e.showPlaylist?180:0,Bn=document.querySelector(`.${Oa}`),Xa=document.querySelector(`.${r.e}`),Ja=document.querySelector(".sticky-container .figcaption");Bn&&Bn.style.setProperty("--stickyContainerHeight",`${Xa.getBoundingClientRect().height+Ja.getBoundingClientRect().height+Ka+22.5}px`)}}return()=>{rn&&rn.disconnect()}},[e.isVideoStickyEnabled,e.viewportWidth,e.showPlaylist,l.kind,f]);const _=(0,n.iT)("magnite-header-tag-wrapper"),{byline:ge,captionText:Ae,credit:Se,kind:oe="video",videoDetails:me,isHeroVideo:ke,isVerticalVideo:Oe,autoplayOptions:Xt,auto
27playNextOptions:$e,figcaptionRenderOptions:De,playButtonText:Jt,isVideoHub:qt,publicUrl:_t,publicationPathname:en,onPlayNextVideo:nn,setVideoRendered:q,forcedMuted:Ee,onMuteChange:Ue}=e;if(!me.id)return null;if(!ee)return a.createElement(Fa.V,null);const mn=e.showPlaylist&&(!S||l.kind==="sevennews"),ln=S||e.videoOptions.compactMode,Ya=a.createElement(N.C,{ref:q,videoDetails:me,showTitles:e.showTitles,pauseOverlay:e.pauseOverlay,autoplayOptions:Xt,autoplayNextOptions:$e,playWhenReady:e.playWhenReady,videoOptions:{...e.videoOptions,compactMode:ln,isMagniteEnabled:_},innerRef:e.innerRef,getVideoQueue:e.getVideoQueue,onEvent:e.onEvent,pagePosition:e.pagePosition??(e.isHeroVideo?"hero-video":"inline-article"),onUserInteraction:ve,showPlaylist:mn,playButtonText:qt?"Play":Jt||void 0,hideSticky:V,setHideSticky:C,isVideoHub:qt,publicUrl:_t,currentPath:en,onPlayNextVideo:nn,adElement:e.adElement,forcedMuted:Ee,onMuteChange:Ue});return a.createElement(y.xn,{isHeroVideo:ke,isVerticalVideo:Oe,className:y.fw},a.createElement(y.Mq,{isHeroVideo:ke},Ya),De==="hidden"?a.createElement(y.aB,{isHeroVideo:ke}):ln?!V&&(Ae||Se||ge)&&a.createElement(y.aB,{byline:ge,captionText:Ae,credit:ke?void 0:Se,isHeroVideo:ke,kind:oe,figcaptionLayout:De,sticky:!0}):(Ae||Se||ge)&&a.createElement(y.aB,{byline:ge,captionText:Ae,credit:ke?void 0:Se,isHeroVideo:ke,kind:oe,figcaptionLayout:De}))},Mn=(0,Ha.Y)((0,ja.I)(Ua));var Ga=Mn}),40120:(function(U,W,t){U.exports=t.p+"static/js/1c7c272eddb12e4592405121f163cc78.js"}),31112:(function(U,W,t){"use strict";U.exports=t.p+"static/media/aap.2e9d9714..svg"}),62345:(function(U,W,t){"use strict";U.exports=t.p+"static/media/ap.031a9ed0..svg"}),18875:(function(U,W,t){"use strict";U.exports=t.p+"static/media/author-image-7you.87176bf2..jpg"}),772:(function(U,W,t){"use strict";U.exports=t.p+"static/media/author-image.3a48478f..jpg"}),37171:(function(U,W,t){"use strict";U.exports=t.p+"static/media/carexpert.ee32189c..png"}),38678:(function(U,W,t){"use strict";U.exports=t.p+"static/media/cnn.a8b0d15f..svg"}),72075:(function(U,W,t){"use strict";U.exports=t.p+"static/media/conversation.20c665b9..svg"}),83937:(function(U,W,t){"use strict";U.exports=t.p+"static/media/nbc.650de1b2..svg"}),30689:(function(U,W,t){"use strict";U.exports=t.p+"static/media/nightly.1a9485ec..svg"}),90391:(function(U,W,t){"use strict";U.exports=t.p+"static/media/playButton.7efda53a..svg"}),41576:(function(U,W,t){"use strict";U.exports=t.p+"static/media/7plus.4273d9c8..png"})}]); 28 29//# sourceMappingURL=ArticleVideo-web_de91788b309ad357972d.js.map
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.