"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["1200"],{75724:function(e,t,i){i.d(t,{Z:()=>v});var n=i(52322),r=i(38936),o=i(41865),d=i(2596),a=i(2784),l=i(40966),s=i(79644),m=i(78943);let p=m.ZP.div.withConfig({componentId:"sc-54c4a04e-0"})(["background:#fff;box-sizing:content-box;clear:both;display:flex;flex-direction:column;justify-content:flex-start;line-height:1.2;min-height:",";padding:",";@media ","{min-height:",";padding:",";}@media ","{min-height:",";padding:",";}"],e=>`${e.$minHeightSmall}px`,e=>e.$minHeightSmall>0?"24px 0 16px":"0",s.Z.query.medium,e=>`${e.$minHeightMedium}px`,e=>e.$minHeightMedium>0?"24px 0 16px":"0",s.Z.query.large,e=>`${e.$minHeightLarge}px`,e=>e.$minHeightLarge>0?"24px 0 16px":"0"),c=m.ZP.div.withConfig({componentId:"sc-54c4a04e-1"})([""]),u=m.ZP.small.withConfig({componentId:"sc-54c4a04e-2"})(["align-self:flex-end;color:",";display:none;font-size:10px;line-height:12px;margin-top:4px;text-align:center;width:100%;"],s.Z.colorMid);var h=i(93673),f=i(68680),g=i(16830),x=i(70992);let w=(e,t,i=0)=>{if(!e)return 0;let{native:n,size:r}=e,o=16*!n;return i>0?i+o:r.reduce((e,[,i])=>i>e&&t||ie?{...e,id:`${e.id}-${t}`}:e,v=(0,a.forwardRef)(({adaptiveSize:e=!1,autoRefresh:t=!1,className:i,largeUnit:s,mediumUnit:m,smallUnit:v,stickDepth:y,sticky:Z=!1,useMaxPlaceholderSize:$=!1},_)=>{let{ads:E}=(0,l.G)()||{},A=E?.suppress,[L,M,S]=[b(v,"mobile"),b(m,"tablet"),b(s,"desktop")],P=(0,o.Z)()[d.PERM_FEATURE_FLAG_ADS_AUTO_REFRESH]||t,C=((e,t,i,n,r,o,d)=>{let l=(0,h.Z)("smallMax"),s=(0,h.Z)("mediumOnly"),m=(0,h.Z)("large"),p=l&&e||s&&t||m&&i;return(0,a.useEffect)(()=>{if(!p||o)return()=>null;let a=l?2:3,c=p.pos>a||"below"===p.foldPosition,u={...p,foldPosition:c?"below":p.foldPosition,lazy:!p.native&&c,slotKeywords:{refreshEnabled:n,refreshInterval:p.slotKeywords?.refreshInterval||3e4,stickDepth:r?d:void 0,sticky:r}},h=[!l&&e?.id,!s&&t?.id,!m&&i?.id],g=(0,f.q)().filter(e=>!h.includes(e.id));return g.push(u),(0,f.q)(g),()=>{let e=(0,f.q)().filter(e=>e.id!==u.id);(0,f.q)(e)}},[m,s,l,i,t,n,e,d,r,o,p?.id]),p})(L,M,S,P,Z,A,y),j=((e,t)=>{let{inView:i,ref:n}=(0,x.YD)({skip:!e,threshold:.5}),r=(0,a.useRef)(!0);return(0,a.useEffect)(()=>{if(!e)return;let t=()=>{r.current=!1},i=()=>{r.current=!0};return window.addEventListener("blur",t),window.addEventListener("focus",i),()=>{window.removeEventListener("blur",t),window.removeEventListener("focus",i)}},[e]),(0,a.useEffect)(()=>{if(!e||!t)return;let n=i&&setInterval(()=>{!document.hidden&&r.current&&(0,g.$E)([t.id])},3e4);return()=>n&&clearInterval(n)},[t,i,e]),n})(P,C),I=((e,t)=>{let[i,n]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!e)return()=>null;let i=e=>{let{state:i}=e.detail;if("on"!==i||!t)return;let r=document.getElementById(t);if(r){let{height:e}=r.getBoundingClientRect();n(e)}};return document.addEventListener("stickyAd",i),()=>document.removeEventListener("stickyAd",i)},[e,t]),i})(e,C?.id);if(A)return null;let R=C?`${C.id}${C.size.map(e=>e.join("x")).join("-")}`:"empty";return(0,n.jsx)(r.ZP,{children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)(p,{$minHeightLarge:w(s,$,I),$minHeightMedium:w(m,$,I),$minHeightSmall:w(v,$,I),className:`adWrapper noPrint ${i||""}`,"data-testid":"ad",ref:_,children:[(0,n.jsx)(c,{id:C?.id,ref:j},R),!C?.native&&(0,n.jsx)(u,{children:"Advertisement"},`${R}-text`)]})})})})},90016:function(e,t,i){i.d(t,{U:()=>u});let n=e=>e.map(e=>e.join("x")).join("_"),r=(e,t,i)=>({allow_smaller_sizes:!1,foldPosition:"above",id:i?.native?`adspot-native-${n(t)}-pos${e}`:`adspot-${n(t)}-pos${e}`,lazy:!1,native:!1,pos:e,size:t,slotKeywords:{refreshEnabled:!1,refreshInterval:3e4,sticky:!1},...i}),o=[970,250],d=[728,90],a=[300,50],l=[320,50],s=[300,250],m=[6,2],p=[160,600],c=[300,600],u={halfpageSkyscraper:(e,t)=>r(e,[p,s,c],t),leaderboard:(e,t)=>r(e,[d],t),leaderboardBillboard:(e,t)=>r(e,[d,o],t),leaderboardBillboardMrec:(e,t)=>r(e,[d,o,s],t),leaderboardMrec:(e,t)=>r(e,[d,s],t),mobbanner:(e,t)=>r(e,[a,l],t),mobbannerMrec:(e,t)=>r(e,[a,s],t),mrec:(e,t)=>r(e,[s],t),native:(e,t=m,i={foldPosition:"below",native:!0})=>r(e,[t],i)}},38826:function(e,t,i){i.r(t),i.d(t,{Container:()=>o,ShowMoreButton:()=>d});var n=i(79644),r=i(78943);let o=r.ZP.div.withConfig({componentId:"sc-3384e10d-0"})(["display:flex;justify-content:center;margin-top:16px;overflow:hidden;&::before,&::after{border-top:1px solid ",";content:'';position:relative;top:20px;width:45%;}&::before{right:16px;}&::after{left:16px;}"],e=>e.theme.colorLightAccent),d=(0,r.ZP)(n.Z.ButtonStandardMetro).withConfig({componentId:"sc-3384e10d-1"})(["border:none;display:block;font-weight:bold;min-width:155px;padding:12px 28px;@media ","{min-width:168px;}"],n.Z.query.medium)},77853:function(e,t,i){i.d(t,{Z:()=>b});var n={};i.r(n),i.d(n,{Container:()=>h,ShowMoreButton:()=>f});var r=i(52322),o=i(66385),d=i(75724),a=i(90016),l=i(96314),s=i(53896),m=i(79916),p=i(38826),c=i(79644),u=i(78943);let h=u.ZP.div.withConfig({componentId:"sc-c4c13ba-0"})([""]),f=(0,u.ZP)(c.Z.ButtonStandardGF).withConfig({componentId:"sc-c4c13ba-1"})(["border:none;display:block;font-weight:bold;margin:8px auto 0;min-width:155px;padding:12px 28px;transition:background-color .15s ease-in-out;@media ","{margin-top:48px;min-width:168px;}"],c.Z.query.medium),g=({className:e,isLoading:t,showMoreHandler:i})=>{let o=(0,m.Un)((0,s.TH)().pathname)?n:p;return(0,r.jsx)(o.Container,{children:(0,r.jsx)(o.ShowMoreButton,{className:e,disabled:t,onClick:t?null:i,type:"button",children:t?(0,r.jsx)(l.Z,{inverse:!0,size:"16px"}):"Show more"})})},x=u.ZP.div.withConfig({componentId:"sc-723ade18-0"})(["border-bottom:1px solid ",";border-top:1px solid ",";margin:32px 0 0;@media ","{margin:52px 0 0;}"],e=>e.theme.colorLightAccent,e=>e.theme.colorLightAccent,c.Z.query.medium),w=u.ZP.p.withConfig({componentId:"sc-723ade18-1"})(["font-size:15px;text-align:center;+ ","{margin-top:16px;}"],f),b=({adFirstPosition:e=5,adPosStart:t=2,adSpacing:i=10,assets:n,className:s,getStoryTiles:m,hasNextPage:p=!1,heading:c,isLoading:u=!1,networkStatus:h=o.I.loading,numberOfAds:f=Number.MAX_SAFE_INTEGER,showMoreHandler:b,totalText:v=""})=>{if(u&&h!==o.I.fetchMore)return(0,r.jsx)(l.Z,{});let y=[];if(0===f)y.push(m(n,0,n.length));else{y.push(m(n,0,e));let o=t;for(let l=e;l=f){y.push(m(n,l,n.length));break}y.push(m(n,l,l+i))}}return(0,r.jsxs)("section",{className:s,"data-testid":"storyset-assetlist",children:[c,y,v&&(0,r.jsx)(w,{children:`Viewing ${n.length} of ${v}`}),p&&(0,r.jsx)(g,{isLoading:u&&h===o.I.fetchMore,showMoreHandler:b})]})}},25739:function(e,t,i){i.d(t,{ZC:()=>c,X:()=>u});var n=i(52322),r=i(3488),o=i(53896),d=i(79916),a=i(38946);let l=({assets:e,displayOptions:t,grid:i})=>{let l=(0,d.Un)((0,o.TH)().pathname);return(0,n.jsx)(a.A,{$grid:i,$isSubBrand:!!l,children:e.map((e,o)=>(0,n.jsx)(a.E,{$grid:i,as:r.Z,asset:e,displayOptions:t,position:o+1},e.publicId))})};var s=i(73302);let m={headlineSizes:s.Mo.XS_SM_L,imageSizes:{large:{aspectRatio:"3x2",width:360},medium:{aspectRatio:"3x2",width:240},small:{aspectRatio:"1x1",width:120}},showAuthor:!0,showLabel:!0,showPrimaryTag:!0,showSponsoredOnly:!0,showTimestamp:!0},p={headlineSizes:s.Mo.XS_M_M,imagePositions:"left",imageSizes:{large:{aspectRatio:"3x2",width:264},medium:{aspectRatio:"3x2",width:240},small:{aspectRatio:"1x1",width:120}},showAbout:!0,showAuthor:!0,showLabel:!0,showPrimaryTag:!0,showTimestamp:!0},c=e=>(t,i,r)=>{if(i>=t.length)return null;let o=t.slice(i,r),d={...p,...e};return(0,n.jsx)(l,{assets:o,displayOptions:d},`stories${i}`)},u=e=>(t,i,r)=>{if(i>=t.length)return null;let o=t.slice(i,r),d={...m,...e};return(0,n.jsx)(l,{assets:o,displayOptions:d,grid:!0},`stories${i}`)}},38946:function(e,t,i){i.d(t,{A:()=>c,E:()=>s});var n=i(41549),r=i(46423),o=i(79644),d=i(78943);let a=(0,d.iv)(["border-top:1px solid ",";gap:16px;padding:24px 0;@media ","{gap:24px;}&:first-of-type{border-top:none;}"],e=>e.theme.colorLightAccent,o.Z.query.medium),l=(0,d.iv)(["@media ","{","}@media ","{width:",";","{width:100%;}}"],o.Z.query.smallMax,a,o.Z.query.medium,o.Z.columnWidth(4,12),n.B),s=d.ZP.div.withConfig({componentId:"sc-9612e30d-0"})([""," ","{font-weight:normal;}"],e=>e.$grid?l:a,r.OR),m=(0,d.iv)(["@media ","{width:",";}& + &{border-top:1px solid ",";}"],o.Z.query.large,e=>e.$isSubBrand?o.Z.columnWidth(8,12):o.Z.columnWidth(10,12),e=>e.theme.colorLightAccent),p=(0,d.iv)(["margin-top:24px;@media ","{flex-flow:row wrap;gap:40px 24px;margin:40px auto;&:first-child{margin-top:24px;}}"],o.Z.query.medium),c=d.ZP.div.withConfig({componentId:"sc-9612e30d-1"})(["display:flex;flex-flow:column nowrap;margin:0 auto;",""],e=>e.$grid?p:m)},72204:function(e,t,i){i.d(t,{CO:()=>d,Wn:()=>a,_W:()=>r,n1:()=>l,zN:()=>o});var n=i(2596);let r=(e,t)=>{if(!e)return"";let{canonical:i,external:n,published:r}=e||{};if(n?.url)return n.url;let o=r?.find(({brand:{key:e}})=>e===t);if(o)return o.path;if(i)return`https://www.${i.brand.key}.com.au${i.path}`;let d=r?.find(({brand:{key:e}})=>"smh"===e)||r[0];return d?`https://www.${d.brand.key}.com.au${d.path}`:""},o=(e,t)=>{if(e){let{primary:i,secondary:n}=e;return t.some(e=>!!(i&&i.displayName.toLowerCase()===e||n?.some(t=>t.displayName.toLowerCase()===e)))}return!1},d=(e,t)=>{if(!e)return!1;let{primary:i,secondary:n}=e;return!!(i&&i.id===t||n?.some(e=>e.id===t))},a=(e,{featureFlags:t,pagebuilder:i,truncatable:r})=>i||!r?e:t[n.TEMP_FEATURE_FLAG_GF_APP_CONTENT_TRUNCATION]&&e.sources?.some(e=>"good-food-guide"===e.name)?{...e,body:{...e.body,blocks:[]}}:e,l=(e,t)=>e?.scoreboard?.sport===t}}]);