"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["7945"],{59025:function(e,t,n){n.d(t,{Z:()=>c});var i=n(52322),r=n(79644),o=n(78943);let a=o.ZP.div.withConfig({componentId:"sc-c014aa46-0"})(["color:",";font-size:17px;line-height:28px;margin-top:40px;padding-top:16px;position:relative;@media ","{font-size:18px;line-height:32px;width:",";","}@media ","{width:",";}&::before{border-top:3px solid ",";content:'';display:block;left:0;position:absolute;top:0;width:40px;}"],e=>e.theme.colorBody,r.Z.query.medium,e=>e.inline?"100%":r.Z.columnWidth(10,12),e=>!e.inline&&`left: ${r.Z.columnOffset(1,12)};`,r.Z.query.large,e=>e.inline?"100%":r.Z.columnWidth(7,12),e=>e.theme.colorLightAccent),l=o.ZP.h4.withConfig({componentId:"sc-c014aa46-1"})(["color:",";display:inline;font-size:13px;letter-spacing:1px;line-height:24px;@media ","{font-family:",`;font-weight:bold;text-transform:uppercase;}&::after{color:black;content:'—';font-family:`,";margin:0 4px;}"],e=>e.theme.colorBrandOffset,r.Z.query.medium,e=>e.theme.fontPrimary,e=>e.theme.fontTertiary),d=o.ZP.div.withConfig({componentId:"sc-c014aa46-2"})(["display:inline;font-family:",";p{&:first-child{display:inline;}&:not(:first-child){margin-top:16px;@media ","{margin-top:24px;}}}a{color:",";text-decoration:",";text-underline-offset:0.2em;&:focus,&:hover{color:",";text-decoration:",";}}"],e=>e.theme.fontSecondary,r.Z.query.medium,e=>e.theme.colorLinkInline,e=>e.theme.textDecorationLinkInline,e=>e.theme.colorLinkInlineHover,e=>e.theme.textDecorationLinkInlineHover),c=({asset:e,inline:t,contentWallVisible:n=!1})=>{if(n||!e?.extensions?.amendmentNotice)return null;let{type:r,markup:o}=e.extensions.amendmentNotice;return(0,i.jsxs)(a,{inline:t,children:[(0,i.jsx)(l,{children:r}),(0,i.jsx)(d,{dangerouslySetInnerHTML:{__html:o}})]})}},86010:function(e,t,n){n.d(t,{C8:()=>o,J5:()=>l,tG:()=>a});var i=n(79644),r=n(78943);let o=r.ZP.div.withConfig({componentId:"sc-50be11cf-0"})(["@media ","{left:",";position:relative;width:",";}@media ","{width:",";}.featureArticle &{@media ","{left:0;width:100%;}}border-bottom:",";margin-bottom:12px;padding-bottom:12px;position:relative;"],i.Z.query.medium,i.Z.columnOffset(1,12),i.Z.columnWidth(10,12),i.Z.query.large,i.Z.columnWidth(7,12),i.Z.query.medium,e=>e.$audioAvailable?"1px solid #ddd":"none"),a=r.ZP.div.withConfig({componentId:"sc-50be11cf-1"})(["background-color:#fffa;height:100%;position:absolute;top:0;width:100%;"]),l=r.ZP.div.withConfig({componentId:"sc-50be11cf-2"})(["display:",";"],e=>e.$audioAvailable?"block":"none")},76561:function(e,t,n){n.d(t,{Z:()=>w});var i=n(52322),r=n(38936),o=n(56111),a=n(41865),l=n(11402),d=n(72671),c=n(56038),s=n(81924),p=n(17845),u=n(31106),m=n(69414);let{BEYONDWORDS:{PROJECT_ID:f}}=u.Z,h="https://cmod-apac.live.streamtheworld.com/ondemand/ars",g=async(e,t,i,r)=>{let o={backgroundColor:"#fff",clickableSections:"none",highlightSections:"none",logoIconEnabled:!1,playerStyle:"standard",projectId:f,skipButtonStyle:"seconds",sourceId:e,target:`#${t}`,widgetStyle:"none"};window?.dataLayerHybrid?.adserving&&r&&(o.adverts=(()=>{let{adserving:e,page:t}=window.dataLayerHybrid,{hierarchy:n,pageType:i}=e.keywords,r=`pagelevel01:${n.pagelevel01},pagelevel02:${n.pagelevel02},pagelevel03:${n.pagelevel03},pagelevel04:${n.pagelevel04},pagetype:${i},contentid:${t.pageId}`;return[{placement:"pre-roll",type:"vast",vastUrl:`${h}?type=preroll&stid=908553&ttag=${r}`},{placement:"mid-roll",type:"vast",vastUrl:`${h}?type=midroll&stid=908553&ttag=${r}`}]})());try{return new(await n.e("7011").then(n.bind(n,50108))).default.Player(o)}catch(t){m.Y.error("Failed loading BeyondWords player",p.log.EventType("asset","BeyondWords:failedLoading"),p.log.Error(t),p.log.String("description",`Asset id: ${e}`))}};var E=n(2596),x=n(2784),v=n(52001),y=n(72204),b=n(86010);let w=({asset:e,className:t})=>{let{headlines:{headline:n},publicId:p,tags:u}=e,[m,f]=(0,x.useState)({duration:null}),h=(0,x.useRef)(null),w=(0,x.useRef)(!1),[_,L]=(0,x.useState)(!1),{contentWallVisible:Z}=(0,d.Z)(),k="beyondwords-player",P=u?.secondary.some(e=>"tta off"===e.displayName.toLowerCase()),I=(0,a.Z)(),{DEPLOY_ENV:T}=(0,o.Z)(),A=!I[E.PERM_FEATURE_FLAG_BEYONDWORDS_DISABLED]&&(["staging","production"].includes(T)||(0,y.zN)(u,["tta include"])),S=(0,v.q)(),N=(0,l.ZP)(),D=(0,x.useCallback)(()=>{h.current?.playbackState==="playing"&&(h.current.playbackState="paused")},[]);if((0,x.useEffect)(()=>{if(A&&S&&!_&&!w.current){if(P)return void(0,s.m4)(c.Jj,n);w.current=!0,g(p,k,T,I[E.PERM_FEATURE_FLAG_BEYONDWORDS_VAST_URL_ENABLED]).then(e=>{h.current=e,L(!0)})}},[T,p,S,I,n,A,_,P]),(0,x.useEffect)(()=>{if(_&&h.current){(0,s.m4)(c.Z$,n);let e=h?.current?.addEventListener("MetadataLoaded",()=>{f({duration:h.current.duration})});return()=>h.current.removeEventListener("MetadataLoaded",e)}},[_,n]),(0,x.useEffect)(()=>{if(_&&h.current){let e=h.current.addEventListener("PressedSeekBack",()=>N.pushAnalyticsEvent({event:N.EVENTS.TTA_LISTENED_EVENT,interaction_type:"skip back click",article_title:n})),t=h.current.addEventListener("PressedSeekAhead",()=>N.pushAnalyticsEvent({event:N.EVENTS.TTA_LISTENED_EVENT,interaction_type:"skip forward click",article_title:n})),i=h.current.addEventListener("PressedPlay",()=>N.pushAnalyticsEvent({event:N.EVENTS.TTA_LISTENED_EVENT,interaction_type:"play click",article_title:n})),r=h.current.addEventListener("PressedPause",()=>N.pushAnalyticsEvent({event:N.EVENTS.TTA_LISTENED_EVENT,interaction_type:"pause click",article_title:n}));return()=>{h.current.removeEventListener("PressedPlay",i),h.current.removeEventListener("PressedPause",r),h.current.removeEventListener("PressedSeekBack",e),h.current.removeEventListener("PressedSeekAhead",t)}}},[N,_,n]),(0,x.useEffect)(()=>{if(!Z||!_||!h.current)return()=>null;D();let e=h.current?.addEventListener("PlaybackPlaying",()=>D());return()=>h.current?.removeEventListener("PlaybackPlaying",e)},[Z,D,_]),!A||P)return null;let B=null;return m?.duration&&(B=(e=>{if(e<60)return" < 1 min ";let t=Math.round(e/60);return`${t} min`})(m.duration)),(0,i.jsx)(r.ZP,{children:(0,i.jsxs)(b.C8,{$audioAvailable:!!B,className:`noPrint ${t||""}`,children:[(0,i.jsx)(b.J5,{$audioAvailable:!!B,"data-testid":"beyondwords-player-container",children:(0,i.jsx)("div",{id:k})}),Z&&(0,i.jsx)(b.tG,{"data-testid":"beyondwords-disabled-overlay"})]})})}},56977:function(e,t,n){n.d(t,{NV:()=>r,O4:()=>a,OI:()=>l,h4:()=>o,uT:()=>d});var i=n(78943);let r=i.ZP.div.withConfig({componentId:"sc-73e90da4-0"})(["background:",";color:",";display:flex;flex-direction:column;font-size:15px;line-height:20px;margin-top:24px;overflow:hidden;padding:24px 24px 32px;"],e=>e.theme.colorExplainerBannerBackground,e=>e.theme.colorExplainerBannerText),o=i.ZP.h3.withConfig({componentId:"sc-73e90da4-1"})(["display:inline-block;font-family:",";font-size:20px;font-weight:bold;line-height:24px;position:relative;"],e=>e.theme.fontSecondary),a=i.ZP.div.withConfig({componentId:"sc-73e90da4-2"})(["width:fit-content;"]),l=i.ZP.div.withConfig({componentId:"sc-73e90da4-3"})(["background:linear-gradient(to right,",",",") top,linear-gradient(to right,",",",") bottom;background-repeat:no-repeat;background-size:100% 4px,100% 1px;height:8px;margin-bottom:12px;margin-left:calc(-100%);margin-top:4px;position:relative;width:200%;"],e=>e.theme.colorExplainer,e=>e.theme.colorExplainer,e=>e.theme.colorExplainer,e=>e.theme.colorExplainer),d=i.ZP.p.withConfig({componentId:"sc-73e90da4-4"})(["a{color:",";text-decoration:",";transition:color 200ms ease-out;&:hover{color:",";text-decoration:",";}}"],e=>e.theme.colorExplainerBannerLinkText,e=>e.theme.textDecorationExplainerBannerLinkText,e=>e.theme.colorExplainerBannerLinkTextHover,e=>e.theme.textDecorationExplainerBannerLinkTextHover)},93708:function(e,t,n){n.d(t,{Z:()=>l});var i=n(52322),r=n(47741),o=n(76597),a=n(56977);let l=({asset:e})=>(0,r.iv)(e.overview?.label)?(0,i.jsxs)(a.NV,{"data-testid":"explainer-banner",children:[(0,i.jsxs)(a.O4,{children:[(0,i.jsx)(a.h4,{children:"Let us explain"}),(0,i.jsx)(a.OI,{})]}),(0,i.jsxs)(a.uT,{children:["If you'd like some expert background on an issue or a news event, drop us a line at"," ",(0,i.jsx)("a",{href:"mailto:explainers@smh.com.au",children:"explainers@smh.com.au"})," or"," ",(0,i.jsx)("a",{href:"mailto:explainers@theage.com.au",children:"explainers@theage.com.au"}),". Read more explainers"," ",(0,i.jsx)(o.Z,{url:"/topic/explainers-1lz9",children:"here"}),"."]})]}):null},12268:function(e,t,n){n.d(t,{Z:()=>g});var i=n(52322),r=n(41865),o=n(79979),a=n(2596),l=n(2784),d=n(83628),c=n(49554),s=n(95086),p=n(79644),u=n(78943);let m="40px",f=u.ZP.div.withConfig({componentId:"sc-d4275634-0"})(["margin:"," auto;min-height:221px;@media ","{margin:0 auto ",";min-height:299px;}@media ","{margin:"," auto;}"],"32px",p.Z.query.medium,m,p.Z.query.large,m),h="dg-app-driver",g=({asset:e})=>{let[t,n]=(0,l.useState)(!1),{isAndroid:p,isIOS:u}=(0,o.Z)(),m=(0,r.Z)()[a.PERM_FEATURE_FLAG_DOMAIN_MEMBERSHIP_WIDGET]&&(0,d.gg)(e)&&(p||u)&&t;return((0,l.useEffect)(()=>{n(!0)},[]),(0,l.useEffect)(()=>{m&&(0,s.Z)(c.t4,{hasLogo:!0,targetId:h})},[m]),m)?(0,i.jsx)(f,{className:"noPrint","data-testid":h,id:h}):null}},96530:function(e,t,n){n.d(t,{Z:()=>u});var i=n(52322),r=n(41865),o=n(2596),a=n(2784),l=n(83628),d=n(49554),c=n(95086);let s=n(78943).ZP.div.withConfig({componentId:"sc-ff3c9f73-0"})(["margin-top:32px;"]),p="dg-membership",u=({asset:e,appearance:t="article"})=>{let n=(0,r.Z)()[o.PERM_FEATURE_FLAG_DOMAIN_MEMBERSHIP_WIDGET]&&(0,l.gg)(e);return((0,a.useEffect)(()=>{n&&(0,c.Z)(d.aE,{appearance:t,targetId:p})},[n,t]),n)?(0,i.jsx)(s,{className:"noPrint",id:p}):null}},49554:function(e,t,n){n.d(t,{OY:()=>r,aE:()=>o,iD:()=>a,t4:()=>i});let i="app-driver",r="listing-details",o="membership",a="recommended-listings"},95086:function(e,t,n){n.d(t,{Z:()=>i});let i=function(e,t={}){if("undefined"!=typeof window&&"undefined"!=typeof document){var n,i,r,o;window?.dg||(n=window,(i=document).getElementById("domainGroupWidget")||(r=i.createElement("script"),o=i.getElementsByTagName("script")[0],r.id="domainGroupWidget",r.async=1,r.src="https://s.domainstatic.com.au/content/fe-widgets/1.15.11/domain-fc797cb9127cc5b3e811.js",o.parentNode.insertBefore(r,o)),n.DomainGroupWidget="dg",n.dg=n.dg||function(){(n.dg.q=n.dg.q||[]).push(arguments)},n.dg.l=+new Date),window.dg(e,t)}}}}]);