"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["2556"],{10519:function(e,t,n){n.d(t,{Z:()=>a});var i,o=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;ta});var i,o=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;ta});var i,o=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;ta});var i,o=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;td});var i,o,r,a,l=n(2784);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;ta});var i,o=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;ta});var i,o=n(2784);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;td});var i=n(52322),o=n(75724),r=n(90016),a=n(2784),l=n(79644);let s=n(78943).ZP.div.withConfig({componentId:"sc-1c01c11e-0"})(["padding:16px 0;@media ","{padding:24px 0;}"],l.Z.query.medium),d=(0,a.forwardRef)(({className:e,stickDepth:t,sticky:n=!1},a)=>(0,i.jsx)(s,{adaptiveSize:!0,as:o.Z,className:e,largeUnit:r.U.leaderboardBillboard(1),mediumUnit:r.U.leaderboard(1),ref:a,smallUnit:r.U.mobbanner(1),stickDepth:t,sticky:n,useMaxPlaceholderSize:!0}))},8652:function(e,t,n){n.d(t,{F:()=>r,P:()=>o});var i=n(78943);let o=i.ZP.div.withConfig({componentId:"sc-1f81b179-0"})(["height:100%;width:300px;"]),r=i.ZP.div.withConfig({componentId:"sc-1f81b179-1"})(["margin-bottom:224px;padding:0;position:sticky;top:58px;&:first-child{margin-top:224px;}"])},71378:function(e,t,n){n.d(t,{Z:()=>m});var i=n(52322),o=n(75724),r=n(90016),a=n(2784),l=n(8652);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)(l.P,{"data-testid":"ad-slider-track",ref:t,...e})),d=({adPos:e})=>{let[t,n]=(0,a.useState)(void 0),s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{s?.current&&requestAnimationFrame(()=>{if(!s?.current)return;let e=s.current.getBoundingClientRect(),t=s.current.closest('[data-testid="ad-slider-track"]');if(t){let i=t.getBoundingClientRect(),o=e.top-i.top,r=e.height;n(Math.round(i.height-o-r))}})},[]),(0,i.jsx)(l.F,{ref:s,children:(0,i.jsx)(o.Z,{autoRefresh:!0,largeUnit:r.U.halfpageSkyscraper(e),stickDepth:t,sticky:!0})})},c=e=>(0,i.jsx)(s,{children:(0,i.jsx)(d,{...e})});c.Ad=d,c.Track=s;let m=c},44114:function(e,t,n){n.d(t,{Z:()=>p});var i=n(52322),o=n(74757),r=n(93673),a=n(41865),l=n(49263),s=n(2596),d=n(2784),c=n(79644),m=n(78943);let u=m.ZP.div.withConfig({componentId:"sc-37562b78-0"})(["left:0;position:relative;top:0;z-index:",";",";"," ",""],c.Z.zIndex.stickyAd.sticky,e=>e.$isSticky&&(0,m.iv)(["border-bottom:1px solid ",";width:100vw;position:sticky;margin-left:calc(50% - 50vw);z-index:",";"],e.theme.colorLightAccent,c.Z.zIndex.stickyAd.sticky),e=>e.$shouldSlideOut?(0,m.iv)(["opacity:0;top:-120px;transition:all 0.5s ease-in;"]):(0,m.iv)(["opacity:1;"]),e=>e.$isNarrow&&e.$isBelowStickDepth&&(0,m.iv)(["position:relative !important;"])),p=({className:e})=>{let t=(0,r.Z)("large"),n=(0,a.Z)()[s.TEMP_FEATURE_FLAG_AD_STICKY_HIDE_NARROW],[c,m]=(0,d.useState)(!1),[p,h]=(0,d.useState)(!1),[g,v]=(0,d.useState)(0),[f,x]=(0,d.useState)(void 0),[b,k]=(0,d.useState)(!1),[y,C]=(0,d.useState)(!1),w=(0,d.useRef)(null),S=(0,d.useRef)(0),P=t?450:1100,Z=P+100;(0,d.useEffect)(()=>{if(w?.current){let e=w.current.getBoundingClientRect().top+window.scrollY;v(e),x(P-e||350)}},[P]),(0,d.useEffect)(()=>{let e=w.current;if(!e||"undefined"==typeof window)return;let t=new ResizeObserver(([e])=>{n&&k(e.contentRect.widtht.disconnect()},[n]);let N=(0,d.useCallback)(()=>{let{scrollY:e}=window,t=e>S.current;S.current=e,e<=g&&(m(!1),C(!1)),e>=P&&C(!0),e>g&&e=P&&e=Z&&(h(!1),m(!1)),e<=g&&!t&&h(!1)},[g,P,Z]);return(0,l.Z)(N,!1),(0,i.jsx)(u,{$isBelowStickDepth:y,$isNarrow:b,$isSticky:c,$shouldSlideOut:p,"data-testid":"ad-sticky-container",children:(0,i.jsx)(o.Z,{className:e,ref:w,stickDepth:f,sticky:!0})})}},53406:function(e,t,n){n.d(t,{IN:()=>s,W8:()=>c,YQ:()=>l,iz:()=>d});var i=n(88635),o=n(79644),r=n(21971),a=n(78943);let l=a.ZP.div.withConfig({componentId:"sc-7132c98c-0"})(["display:flex;flex-direction:row;flex-shrink:0;justify-content:space-between;@media ","{margin-bottom:0;padding:12px 14px 0 0;}@media ","{align-items:center;flex-direction:row;justify-content:flex-start;}"],o.Z.query.mediumMax,o.Z.query.medium),s=a.ZP.div.withConfig({componentId:"sc-7132c98c-1"})(["align-items:center;display:flex;margin:0;@media ","{button{width:52px;}","{width:28px;}","{display:none;}}@media ","{margin:4px 0;}"],o.Z.query.smallMax,i.M,r.oD,o.Z.query.medium),d=a.ZP.div.withConfig({componentId:"sc-7132c98c-2"})(["background-color:",";display:none;height:20px;margin:8px;width:1px;@media ","{display:block;}&:last-child{display:none;}"],e=>e.inverse?e.theme.colorGrey:e.theme.colorLightAccent,o.Z.query.medium),c=a.ZP.div.withConfig({componentId:"sc-7132c98c-3"})(["display:contents;"])},32458:function(e,t,n){n.d(t,{Z:()=>y});var i=n(52322),o=n(35280),r=n(70481),a=n(91339),l=n(93673),s=n(56111),d=n(41865),c=n(43798),m=n(90152),u=n(55742),p=n(2596),h=n(84641),g=n(2784),v=n(53896),f=n(57737),x=n(13585),b=n(79916),k=n(53406);let y=({asset:e,inverse:t})=>{let n=(0,b.Un)((0,v.TH)().pathname),{PAGEBUILDER:{ENABLED:y}}=(0,s.Z)(),C=(0,d.Z)(),w=(0,l.Z)("smallMax"),{data:S}=(0,x.x)(e),{commenting:P}=S?.commentsByPublicId||{},Z=P?.latestCommentsConnection?.count,{type:N}=e,I=(0,g.useCallback)(()=>{(0,f.Z)(!0),document.getElementById("comments")?.scrollIntoView()},[]);return(0,i.jsxs)(k.YQ,{className:"noPrint","data-testid":"article-actions",children:[(0,i.jsxs)(k.IN,{children:[(0,i.jsx)(m.Z,{asset:e,inverse:t,tooltipAlignment:w?"left":"right"}),(0,i.jsx)(k.iz,{inverse:t}),N===h.h3.Recipe&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Z,{}),(0,i.jsx)(k.iz,{inverse:t})]}),(0,i.jsx)(u.Z,{asset:e,inverse:t,position:"top"}),(0,i.jsx)(k.iz,{inverse:t}),N!==h.h3.Recipe&&(0,i.jsx)(a.Z,{})]},"saveShare"),!C[p.PERM_FEATURE_FLAG_COMMENTS_DISABLED]&&(0,r.Q)(e,y,n,P)&&(0,i.jsxs)(k.W8,{children:[(0,i.jsx)(k.iz,{inverse:t}),(0,i.jsx)(o.Z,{asset:e,onClick:I,totalCommentCount:Z})]})]})}},95351:function(e,t,n){n.d(t,{Z:()=>m});var i=n(52322),o=n(53896),r=n(79916),a=n(79644),l=n(78943);let s=l.ZP.p.withConfig({componentId:"sc-578b4fe0-0"})(["font-family:",";font-size:13px;font-weight:bold;line-height:16px;margin-bottom:12px;@media ","{font-size:15px;line-height:17px;margin-bottom:16px;}"],e=>e.theme.fontPrimary,a.Z.query.medium),d=l.ZP.span.withConfig({componentId:"sc-578b4fe0-1"})(["background-color:",";color:",";display:inline-block;padding:4px 8px;@media ","{padding:6px 8px;}"],e=>e.theme.colorOrangeLightFill,e=>e.theme.colorBrand,a.Z.query.medium),c=365/12,m=({asset:e})=>{if((0,r.Un)((0,o.TH)().pathname)||!e?.dates?.published)return null;let t=(Date.now()-new Date(e.dates.published).getTime())/864e5;return t<90?null:(0,i.jsx)(s,{children:(0,i.jsxs)(d,{children:["This was published ",(e=>{let t=Math.floor(e>365?e/365:e/c),n=`${e>365?"year":"month"}${t<2?"":"s"}`;return`${t} ${n}`})(t)," ago"]})})}},48239:function(e,t,n){n.d(t,{Z:()=>v});var i=n(52322),o=n(79644),r=n(78943);let a=r.ZP.section.withConfig({componentId:"sc-998ff9aa-0"})(["color:",";font-size:15px;line-height:20px;margin-bottom:24px;padding-bottom:24px;position:relative;&::after{border-bottom:1px solid ",";bottom:0;content:'';position:absolute;width:72px;@media ","{content:none;}}strong,b{font-weight:bold;}em,i{font-style:italic;}h3{font-size:15px;font-weight:bold;letter-spacing:1px;line-height:20px;margin-bottom:16px;text-transform:uppercase;}a{color:",";text-decoration-color:",";text-decoration-line:underline;&:hover,&:focus{color:",";text-decoration:underline;transition:color .2s ease-out;}}"," ",""],e=>e.theme.colorBrand,e=>e.theme.colorLightAccent,o.Z.query.large,e=>e.theme.colorLinkInlineAnchorAction,e=>e.theme.colorLinkInlineAnchorActionUnderline,e=>e.theme.colorLinkInlineAnchorActionHover,e=>"inline"===e.$variant&&(0,r.iv)(["@media ","{display:none;}"],o.Z.query.large),e=>"rail"===e.$variant&&(0,r.iv)(["display:none;@media ","{display:block;}"],o.Z.query.large)),l=r.ZP.h3.withConfig({componentId:"sc-998ff9aa-1"})(["color:",";"],e=>e.theme.colorLabelLiveArticle),s=r.ZP.h3.withConfig({componentId:"sc-998ff9aa-2"})(["color:",";"],e=>e.theme.colorBrand),d=r.ZP.span.withConfig({componentId:"sc-998ff9aa-3"})(["color:",";display:block;font-family:",";font-size:20px;font-weight:bold;line-height:20px;margin-bottom:4px;"],e=>e.theme.colorDark,e=>e.theme.fontTertiary),c=r.ZP.ul.withConfig({componentId:"sc-998ff9aa-4"})(["list-style-type:none;"]),m=r.ZP.li.withConfig({componentId:"sc-998ff9aa-5"})(["border-bottom:1px solid ",";color:",";font-size:13px;line-height:16px;margin-bottom:12px;padding-bottom:12px;width:100%;&:last-child{border:none;margin-bottom:0;padding-bottom:0;}"],e=>e.theme.colorLightAccent,e=>e.theme.colorMid),u=r.ZP.ul.withConfig({componentId:"sc-998ff9aa-6"})(["list-style:disc;padding-left:20px;"]),p=r.ZP.li.withConfig({componentId:"sc-998ff9aa-7"})(["padding-right:16px;&:not(:last-child){margin-bottom:16px;}"]),h=r.ZP.span.withConfig({componentId:"sc-998ff9aa-8"})(["",""],o.Z.visuallyHidden),g={FACTS:({asset:e})=>{let{items:t,title:n}=e.extensions.talkingPoints;return(0,i.jsxs)("div",{children:[(0,i.jsx)(l,{children:n||"In numbers"}),(0,i.jsx)(c,{children:t.map(({quantity:e,text:t},n)=>(0,i.jsxs)(m,{children:[(0,i.jsx)(d,{children:e}),(0,i.jsx)(h,{children:" - "}),t]},n))})]})},LIST:({asset:e})=>{let{items:t,title:n}=e.extensions.talkingPoints;return(0,i.jsxs)("div",{children:[(0,i.jsx)(s,{children:n||"Key points"}),(0,i.jsx)(u,{children:t.map(({markup:e},t)=>(0,i.jsx)(p,{dangerouslySetInnerHTML:{__html:e}},t))})]})},TEXT:({asset:e})=>{let{text:t,title:n}=e.extensions.talkingPoints;return(0,i.jsxs)("div",{children:[(0,i.jsx)(s,{children:n||"Why it matters"}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})]})}},v=e=>{if(!e?.asset?.extensions?.talkingPoints)return null;let{type:t}=e.asset.extensions.talkingPoints;return(0,i.jsx)(a,{$variant:e.$variant,className:e.className,children:g[t](e)})}},82600:function(e,t,n){n.d(t,{W:()=>o});var i=n(79644);let o=n(78943).ZP.div.withConfig({componentId:"sc-36836d28-0"})(["> *:first-child{margin-bottom:24px;}> *:nth-child(2){margin:0 -20px 24px;@media ","{margin:0 0 20px;}.article &{@media ","{margin-left:",";}}}.article &{@media ","{left:",";position:relative;width:",";}}"],i.Z.query.medium,i.Z.query.large,i.Z.columnOffset(1.5,12),i.Z.query.large,i.Z.columnOffset(0,12),i.Z.columnWidth(8,12))},41571:function(e,t,n){n.d(t,{Z:()=>f});var i=n(52322),o=n(19565),r=n(41865),a=n(2596),l=n(84641),s=n(72204),d=n(72649),c=n(82600);let m=(0,o.ZP)({resolved:{},chunkName:()=>"components-CricketScoreboard-CricketScoreboard",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("1172").then(n.bind(n,31935)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>31935}),u=(0,o.ZP)({resolved:{},chunkName:()=>"components-SoccerScoreboard-SoccerScoreboard",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("5877").then(n.bind(n,99112)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>99112}),p=(0,o.ZP)({resolved:{},chunkName:()=>"components-Scoreboard-Scoreboard",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8971"),n.e("1853")]).then(n.bind(n,63484)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>63484}),h=(0,o.ZP)({resolved:{},chunkName:()=>"components-StanSportDriver-StanSportDriverEPL",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("7522").then(n.bind(n,97690)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>97690}),g=(0,o.ZP)({resolved:{},chunkName:()=>"components-StanSportDriver-StanSportDriverTennis",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("9033").then(n.bind(n,61129)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>61129}),v=(0,o.ZP)({resolved:{},chunkName:()=>"components-TennisScorecard-TennisScorecard",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("6993").then(n.bind(n,52854)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>52854}),f=({asset:{type:e,extensions:t,tags:n}})=>{let o=(0,r.Z)(),f=e===l.h3.LiveArticle;if(n&&(0,s.CO)(n,d.le)){let e=o[a.PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_WIDGETS];return(0,i.jsxs)(c.W,{children:[(0,i.jsx)(h,{pageType:"article"}),e&&(0,i.jsx)(u,{})]})}if(n&&(0,s.CO)(n,d.w5))return(0,i.jsxs)(c.W,{children:[(0,i.jsx)(g,{type:"in-article-promo"}),(0,i.jsx)(v,{live:f})]});if((0,s.n1)(t,d.HJ))return(0,i.jsx)(c.W,{children:(0,i.jsx)(m,{})});if(o[a.PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_FIFA_WORLD_CUP_WIDGET]&&n&&(0,s.CO)(n,d.j4))return(0,i.jsx)(c.W,{"data-testid":"fifa-world-cup-scoreboard",children:(0,i.jsx)(u,{feedValue:"natl_2026",testId:"fifa-world-cup-homepage-football"})});if(o[a.PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_RUGBY_UNION_WIDGET]&&(0,s.n1)(t,d.$4)){let{competitionId:e,matchId:n,sport:o,title:r}=t?.scoreboard||{};return(0,i.jsx)(c.W,{children:(0,i.jsx)(p,{gameID:e,live:f,matchID:n,title:r,type:o})})}if(o[a.PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_AFL_WIDGET]&&(0,s.n1)(t,d.sB)){let{competitionId:e,matchId:n,sport:o,title:r}=t?.scoreboard||{};return(0,i.jsx)(c.W,{"data-testid":"afl-scoreboard",children:(0,i.jsx)(p,{gameID:e,live:f,matchID:n,title:r,type:o})})}if(o[a.PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_NRL_WIDGET]&&(0,s.n1)(t,d.nu)){let{competitionId:e,matchId:n,sport:o,title:r}=t?.scoreboard||{};return(0,i.jsx)(c.W,{"data-testid":"nrl-scoreboard",children:(0,i.jsx)(p,{gameID:e,live:f,matchID:n,title:r,type:o})})}return null}},91238:function(e,t,n){n.d(t,{Z:()=>v});var i=n(52322),o=n(14691),r=n(13783),a=n(2784),l=n(79644),s=n(78943);let d=s.ZP.div.withConfig({componentId:"sc-255ac5b-0"})(["position:relative;top:-64px;"]),c=s.ZP.div.withConfig({componentId:"sc-255ac5b-1"})(["position:fixed;bottom:0;left:0;width:100%;z-index:",";pointer-events:none;"],l.Z.zIndex.modal),m=(0,s.ZP)(l.Z.Content).withConfig({componentId:"sc-255ac5b-2"})(["margin:auto;display:flex;flex-direction:row-reverse;"]),u=s.ZP.button.withConfig({componentId:"sc-255ac5b-3"})(["pointer-events:auto;display:flex;gap:10px;align-items:center;border:1px solid ",";border-radius:4px 4px 0 0;background-color:white;padding:10px 16px;box-shadow:",";transform:translateY(",");transition:transform 0.5s;cursor:pointer;@media ","{margin-right:calc("," - 40px);}"],e=>e.theme.colorLightAccent,e=>e.$visible?"0 0 6px rgba(0, 0, 0, .15)":"none",e=>e.$visible?"0":"100%",l.Z.query.large,l.Z.columnWidth(4,12)),p=s.ZP.span.withConfig({componentId:"sc-255ac5b-4"})(["font-size:13px;letter-spacing:1px;text-transform:uppercase;font-weight:bold;span{display:none;}@media ","{span{display:inline;}}"],l.Z.query.medium),h=s.ZP.svg.withConfig({componentId:"sc-255ac5b-5"})(["width:12px;height:12px;transform:rotate(180deg);"]),g=2e3,v=({threshold:e=g})=>{let[t,n]=(0,a.useState)(!1),l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let i=()=>{t!==window.pageYOffset>=e&&n(window.pageYOffset>=e)};i();let o=(0,r.Z)(i,100);return window.addEventListener("scroll",o),()=>{window.removeEventListener("scroll",o)}},[t,e]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d,{"data-testid":"scroll-top-marker",ref:l}),(0,i.jsx)(c,{children:(0,i.jsx)(m,{children:(0,i.jsxs)(u,{$visible:t,"data-testid":"back-to-top-button",onClick:()=>{l.current?l.current.scrollIntoView({behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},children:[(0,i.jsx)(h,{as:o.Z}),(0,i.jsxs)(p,{children:[(0,i.jsx)("span",{children:"Back to "}),"Top"]})]})})})]})}},30012:function(e,t,n){n.d(t,{Z:()=>w});var i,o,r,a,l,s,d,c,m,u=n(52322),p=n(2784);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!(0,k.jW)(e))return null;switch((0,k.Hf)(e)){case x.By:return(0,u.jsx)(C,{className:t,children:(0,u.jsx)(b.Z,{url:x.$r,children:(0,u.jsx)(g,{"data-testid":"goodweekend"})})});case x.fp:return(0,u.jsx)(C,{className:t,children:(0,u.jsx)(b.Z,{url:x.Iq,children:(0,u.jsx)(f,{"data-testid":"sundaylife"})})});default:return null}}},96876:function(e,t,n){n.d(t,{Z:()=>ef});var i={};n.r(i),n.d(i,{ArrowRightIcon:()=>em,AssetList:()=>el,ContinueText:()=>eo,Header:()=>ea,MagazineLogo:()=>er,RecirculationNextPrev:()=>ed,SeeAllLink:()=>ec,UpNextAssetList:()=>es,Wrapper:()=>ei});var o={};n.r(o),n.d(o,{ArrowRightIcon:()=>em,AssetList:()=>eu,ContinueText:()=>eo,Header:()=>ea,MagazineLogo:()=>er,RecirculationNextPrev:()=>ed,SeeAllLink:()=>ec,UpNextAssetList:()=>ep,Wrapper:()=>ei});var r=n(52322),a=n(38936),l=n(84641),s=n(68189),d=n(72649),c=n(17845),m=n(56111),u=n(69414),p=n(72204),h=n(79644),g=n(78943);let v=g.ZP.div.withConfig({componentId:"sc-1e3b9404-0"})(["color:",";font-family:",";font-size:18px;line-height:32px;margin-bottom:40px;margin-top:40px;position:relative;@media ","{left:",";width:",";}@media ","{width:",";}"],e=>e.theme.colorDark,e=>e.theme.fontSecondary,h.Z.query.medium,h.Z.columnOffset(1,12),h.Z.columnWidth(10,12),h.Z.query.large,h.Z.columnWidth(7,12)),f=g.ZP.h3.withConfig({componentId:"sc-1e3b9404-1"})(["font-family:",";font-size:20px;line-height:24px;margin-bottom:4px;"],e=>e.theme.fontTertiary),x=g.ZP.ul.withConfig({componentId:"sc-1e3b9404-2"})(["display:flex;flex-direction:column;gap:16px;list-style:disc;margin-top:12px;padding-left:24px;"]),b=g.ZP.a.withConfig({componentId:"sc-1e3b9404-3"})(["color:",";text-decoration-color:",";text-underline-offset:0.2em;&:focus,&:hover{text-decoration-thickness:3px;}"],e=>e.theme.colorDark,e=>e.theme.colorBrand500);var k=n(23539),y=n(52115);let C=5,w={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let n=e.name.value;return!t[n]&&(t[n]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetRelatedEntitiesParents"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AssetByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"parentLimit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetByPublicId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"relatedEntitiesParents"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parentAssetTypes"},value:{kind:"ListValue",values:[{kind:"StringValue",value:"collection"}]}},{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"parentLimit"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ParentsRelatedEntityFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ParentsRelatedEntityFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetRelatedEntitiesParents"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"headlines"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"headline"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urls"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetUrlsFragment"},directives:[]}]}}]}}]}}].concat(y.WV.definitions)),loc:{start:0,end:372,source:{body:'query AssetRelatedEntitiesParents($input:AssetByPublicIDInput!,$parentLimit:Int){assetByPublicId(input:$input){asset{relatedEntitiesParents(input:{parentAssetTypes:["collection"],limit:$parentLimit}){...ParentsRelatedEntityFragment}}error{message}}}fragment ParentsRelatedEntityFragment on AssetRelatedEntitiesParents{assets{headlines{headline}urls{...AssetUrlsFragment}}}'}}},S=({asset:e})=>{let{brand:{shortSiteName:t}}=(0,m.Z)(),{data:n,error:i,loading:o}=((e,t=C)=>(0,k.a)(w,{variables:{input:{publicId:e},parentLimit:t}}))(e.publicId);if(o)return null;let{asset:a,error:l}=n?.assetByPublicId||{},s=i||l;if(s)return u.Y.error("Parent related entities error",c.log.EventType("asset","relatedEntitiesParents"),c.log.Error(s),c.log.String("description",`Asset id: ${e.publicId}`)),null;let d=a?.relatedEntitiesParents.assets;return d&&0!==d.length?(0,r.jsxs)(v,{className:"noPrint",children:[(0,r.jsx)(f,{children:"Appears in these collections"}),(0,r.jsx)(x,{children:d.map(({headlines:e,urls:n})=>(0,r.jsx)("li",{children:(0,r.jsx)(b,{href:(0,p._W)(n,t),children:e.headline})},e.headline))})]}):null};var P=n(89311),Z=n(29939),N=n(30012),I=n(93673),A=n(55670),j=n(77853),E=n(25739),F=n(38946),L=n(41549),T=n(57046);let R=g.ZP.div.withConfig({componentId:"sc-fdcc9827-0"})(["",";margin:56px 0 80px;"],({$isMagazine:e})=>e?(0,g.iv)(["border-top:none;"]):(0,g.iv)(["border-top:1px solid ",";"],({theme:e})=>e.colorDarkAccent)),V=g.ZP.h3.withConfig({componentId:"sc-fdcc9827-1"})(["font-size:18px;font-weight:700;letter-spacing:2px;line-height:20px;margin:16px 0 32px;text-align:center;text-transform:uppercase;"]),B=g.ZP.div.withConfig({componentId:"sc-fdcc9827-2"})(["margin-bottom:32px;margin-top:-12px;text-align:center;"]),_=g.ZP.div.withConfig({componentId:"sc-fdcc9827-3"})(["",";","{flex-direction:column;gap:14px;margin:0;width:100%;@media ","{flex-direction:row;justify-content:center;}@media ","{gap:18px;}}","{height:100%;max-height:100%;max-width:100%;padding-left:8px;&::before,&::after{content:'';height:calc(100% - 3px);position:absolute;}&::before{background:transparent;border-left:1px solid ",";left:-1px;top:3px;width:1px;}&::after{background:#fff;border-right:1px solid ",";left:0;top:0;width:3px;}video{left:8px;top:-2px;width:calc(100% - 9px);}}","{align-items:center;border-top:none;display:flex;flex-direction:column;height:100%;padding:0;text-align:center;@media ","{width:",";}}","{font-size:20px;}"],({$isMagazine:e})=>e&&(0,g.iv)(["margin-bottom:48px;"]),F.A,h.Z.query.medium,h.Z.query.large,L.B,e=>e.theme.colorMidAccent,e=>e.theme.colorMidAccent,F.E,h.Z.query.large,h.Z.columnWidth(1,3,"16px"),T.Headline),D=g.ZP.div.withConfig({componentId:"sc-fdcc9827-4"})(["font-size:17px;line-height:24px;text-align:center;"]),M=g.ZP.a.withConfig({componentId:"sc-fdcc9827-5"})(["color:",";font-weight:700;text-decoration:none;svg{color:",";}&:focus,&:hover{color:",";text-decoration:underline;}"],e=>e.theme.colorLink,e=>e.theme.colorLink,e=>e.theme.colorLinkHover),$=g.ZP.svg.withConfig({componentId:"sc-fdcc9827-6"})(["height:18px;margin-left:4px;width:18px;"]),H={"":"","holiday-guide":"series",investigation:"investigations",magazine:"editions",series:"series",travel:"series"},O=({asset:e})=>{let t,{brand:{shortSiteName:n}}=(0,m.Z)(),i=(0,I.Z)("large"),{id:o,subType:a}=e,d=(e=>{let t=(0,s.Hf)(e);return t===Z.By?{link:Z.$r,tagId:Z.kO,title:Z.By}:t===Z.fp?{link:Z.Iq,tagId:Z.kw,title:Z.fp}:null})(e),c={assetType:l.h3.Collection,assetSubType:a,tagIds:{any:d?[d.tagId]:[]}},{data:u}=(0,A.Z)(n,"",4,l.qI.MostRecent,c),p=(u?.search?.storiesConnection?.edges||[]).map(({node:e})=>e).filter(e=>e.id!==o);if(0===p.length)return null;let h=H[a||""];if(!h)return null;let g=(t=`Other ${h}`,"holiday-guide"===a&&(t="More holiday guides"),"travel"===a&&(t="More collections"),t),v=(0,s.jW)(e);return(0,r.jsxs)(R,{$isMagazine:v,children:[(0,r.jsx)(V,{children:g}),(0,s.jW)(e)&&(0,r.jsx)(B,{as:N.Z,asset:e}),(0,r.jsx)(_,{$isMagazine:v,as:j.Z,assets:p.slice(0,i?3:2),getStoryTiles:(0,E.ZC)((e=>{let t=e?"2x3":"3x2";return{imageSizes:{large:{aspectRatio:t,width:360},medium:{aspectRatio:t,width:372},small:{aspectRatio:t,width:584}},showAbout:!0,showAuthor:!1,showLabel:!1,showNumberOfStories:!0,showPrimaryTag:!1,showTimestamp:!1}})(v))}),v&&d&&(0,r.jsx)(D,{children:(0,r.jsxs)(M,{href:d.link,children:["View more editions of ",d.title,(0,r.jsx)($,{as:P.Z})]})})]})};var q=n(76597),U=n(53896),z=n(79916),G=n(95204);let W=g.ZP.div.withConfig({componentId:"sc-38cbf6f-0"})(["border:1px solid ",";margin-top:24px;padding:20px 16px;@media ","{left:",";padding:28px 32px;position:relative;width:",";}@media ","{left:",";width:",";}"],e=>e.theme.colorLightAccent,h.Z.query.medium,h.Z.columnOffset(1,12),h.Z.columnWidth(10,12),h.Z.query.large,h.Z.columnOffset(0,12),h.Z.columnWidth(8,12)),Y=g.ZP.a.withConfig({componentId:"sc-38cbf6f-1"})(["border-bottom:1px solid ",";color:#000;display:block;font-size:18px;font-weight:bold;letter-spacing:2px;line-height:20px;margin-bottom:16px;padding-bottom:16px;text-transform:uppercase;@media ","{margin-bottom:24px;padding-bottom:24px;}"],e=>e.theme.colorLightAccent,h.Z.query.medium),X=g.ZP.div.withConfig({componentId:"sc-38cbf6f-2"})(["","{border-top:none;padding-top:0;}","{width:100%;}"],G.StoryTile,F.A),Q=g.ZP.a.withConfig({componentId:"sc-38cbf6f-3"})(["color:",";font-weight:bold;&:focus,&:hover{text-decoration:underline;}"],e=>e.theme.colorLinkAlt),K=g.ZP.svg.withConfig({componentId:"sc-38cbf6f-4"})(["color:",";height:16px;margin-left:4px;position:relative;top:-1px;width:16px;path{stroke-width:3;}"],e=>e.theme.colorLinkAlt),J={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let n=e.name.value;return!t[n]&&(t[n]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetByPublicID"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AssetByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"parentPublicId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetByPublicId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"relatedEntitiesSiblings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parentPublicId"},value:{kind:"Variable",name:{kind:"Name",value:"parentPublicId"}}},{kind:"ObjectField",name:{kind:"Name",value:"wrap"},value:{kind:"BooleanValue",value:!0}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nextRelatedEntities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"headlines"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"headline"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetImagesFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"urls"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetUrlsFragment"},directives:[]}]}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}}].concat(y.Os.definitions,y.WV.definitions)),loc:{start:0,end:332,source:{body:"query AssetByPublicID($input:AssetByPublicIDInput!,$parentPublicId:String!){assetByPublicId(input:$input){asset{relatedEntitiesSiblings(input:{parentPublicId:$parentPublicId,wrap:true}){nextRelatedEntities{asset{extensions headlines{headline}images{...AssetImagesFragment}publicId type urls{...AssetUrlsFragment}}}}}error{message}}}"}}},ee=({asset:e,className:t="",collectionSiblings:n=[],parentAsset:i})=>{let o,a,l,{brand:{shortSiteName:s}}=(0,m.Z)(),d=(0,z._P)((0,U.TH)().pathname),h=i&&0===n.length,{data:g,error:v}=(o=e.publicId,a=i?.publicId,l=!h,(0,k.a)(J,{skip:l,variables:{input:{publicId:o},parentPublicId:a}})),f=g?.assetByPublicId.asset?.relatedEntitiesSiblings?.nextRelatedEntities||[],x=h?f.map(e=>e.asset):n,{error:b}=g?.assetByPublicId||{},y=v||b;if(y)return u.Y.error("Related siblings error",c.log.EventType("asset","relatedEntitiesSiblings"),c.log.Error(y),c.log.String("description",`Asset id: ${e.publicId}, parent id: ${i?.publicId}`)),null;if(!i||0===x.length)return null;let{extensions:C,headlines:w,urls:S}=i,Z=(0,p._W)(S,s);return(0,r.jsxs)(W,{className:`noPrint ${t}`,children:[(0,r.jsx)(Y,{as:q.Z,url:Z,children:w.headline}),(0,r.jsx)(X,{as:j.Z,assets:x,getStoryTiles:(0,E.ZC)({imageSizes:{large:{aspectRatio:"3x2",width:211},medium:{aspectRatio:"1x1",width:160},small:{aspectRatio:"1x1",width:96}},showAbout:!1,showAuthor:!1,showLabel:!1,showPrimaryTag:!1,showTimestamp:!1})}),(0,r.jsxs)(Q,{as:q.Z,url:Z,children:[!d&&C?.numberOfStories?`See ${C.numberOfStories} stories`:"See all stories",(0,r.jsx)(K,{as:P.Z})]})]})};var et=n(2784),en=n(38664);let ei=g.ZP.div.withConfig({componentId:"sc-f994e5e4-0"})(["border:1px solid ",";color:",";margin-top:40px;padding:16px;@media ","{left:",";padding:32px;position:relative;width:",";.featureArticle &{left:0;width:100%;}}@media ","{left:",";width:",";}"],e=>e.theme.colorLightAccent,e=>e.theme.colorDark,h.Z.query.medium,h.Z.columnOffset(1,12),h.Z.columnWidth(10,12),h.Z.query.large,h.Z.columnOffset(0,12),h.Z.columnWidth(8,12)),eo=g.ZP.p.withConfig({componentId:"sc-f994e5e4-1"})(["font-size:13px;font-weight:bold;letter-spacing:1px;line-height:16px;margin-bottom:8px;text-transform:uppercase;"]),er=g.ZP.div.withConfig({componentId:"sc-f994e5e4-2"})(["margin-bottom:0;svg{height:16px;margin-bottom:8px;margin-top:16px;width:auto;@media ","{height:22px;}}"],h.Z.query.medium),ea=g.ZP.a.withConfig({componentId:"sc-f994e5e4-3"})(["border-bottom:1px solid ",";color:",";display:block;font-family:",";font-size:24px;font-weight:bold;line-height:28px;margin-bottom:16px;padding-bottom:16px;@media ","{font-size:36px;line-height:46px;margin-bottom:24px;padding-bottom:24px;}"],e=>e.theme.colorLightAccent,e=>e.theme.colorDark,e=>e.theme.fontTertiary,h.Z.query.medium),el=g.ZP.div.withConfig({componentId:"sc-f994e5e4-4"})(["","{border-top:none;gap:20px;padding:16px 0;}","{line-height:28px;}","{margin-bottom:8px;}","{width:100%;}","{@media ","{width:100%;}@media ","{flex-basis:",";}}"],T.StoryTile,T.Headline,en.ZD,F.A,L.B,h.Z.query.smallMax,h.Z.query.medium,h.Z.columnWidth(1,3,"8px")),es=(0,g.ZP)(el).withConfig({componentId:"sc-f994e5e4-5"})(["border-bottom:1px solid ",";margin-bottom:16px;@media ","{border-bottom:none;}"],e=>e.theme.colorLightAccent,h.Z.query.medium),ed=g.ZP.h5.withConfig({componentId:"sc-f994e5e4-6"})(["font-size:13px;font-weight:bold;letter-spacing:1px;line-height:16px;text-transform:uppercase;"]),ec=g.ZP.a.withConfig({componentId:"sc-f994e5e4-7"})(["color:",";display:block;font-weight:bold;letter-spacing:1px;margin-top:8px;text-align:center;&:focus,&:hover{text-decoration:underline;}@media ","{margin-top:16px;text-align:left;}"],e=>e.theme.colorCollectionRecirculationSeeAllLink,h.Z.query.medium),em=g.ZP.svg.withConfig({componentId:"sc-f994e5e4-8"})(["color:",";height:16px;margin-left:4px;position:relative;top:-1px;width:16px;path{stroke-width:3;}"],e=>e.theme.colorCollectionRecirculationSeeAllLink),eu=(0,g.ZP)(el).withConfig({componentId:"sc-90713d12-0"})(["","{gap:20px;padding:16px 0;}","{font-weight:bold;line-height:28px;}@media ","{","{border:none;}","{align-self:flex-start;flex-basis:66.6666%;}","{font-family:",";}}"],G.StoryTile,G.Headline,h.Z.query.medium,G.StoryTile,G.Summary,G.About,e=>e.theme.fontSecondary),ep=(0,g.ZP)(es).withConfig({componentId:"sc-90713d12-1"})(["","{font-weight:bold;line-height:28px;}"],G.Headline),eh={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let n=e.name.value;return!t[n]&&(t[n]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetRelatedEntitiesSiblings"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AssetByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"parentPublicId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetByPublicId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"relatedEntitiesSiblings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parentPublicId"},value:{kind:"Variable",name:{kind:"Name",value:"parentPublicId"}}},{kind:"ObjectField",name:{kind:"Name",value:"previousLimit"},value:{kind:"IntValue",value:"1"}},{kind:"ObjectField",name:{kind:"Name",value:"nextLimit"},value:{kind:"IntValue",value:"2"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nextRelatedEntities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SiblingsRelatedEntityFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"previousRelatedEntities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SiblingsRelatedEntityFragment"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SiblingsRelatedEntityFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetRelatedEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"headlines"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"headline"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetImagesFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"overview"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"about"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primary"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"urls"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canonical"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"urls"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetUrlsFragment"},directives:[]}]}}]}}]}}].concat(y.WV.definitions,y.Os.definitions)),loc:{start:0,end:618,source:{body:"query AssetRelatedEntitiesSiblings($input:AssetByPublicIDInput!,$parentPublicId:String!){assetByPublicId(input:$input){asset{relatedEntitiesSiblings(input:{parentPublicId:$parentPublicId,previousLimit:1,nextLimit:2}){nextRelatedEntities{...SiblingsRelatedEntityFragment}previousRelatedEntities{...SiblingsRelatedEntityFragment}}}error{message}}}fragment SiblingsRelatedEntityFragment on AssetRelatedEntity{asset{extensions headlines{headline}images{...AssetImagesFragment}overview{about label}publicId tags{primary{displayName urls{canonical{brand{key}path}published{brand{key}path}}}}type urls{...AssetUrlsFragment}}}"}}},eg={investigation:"investigation",magazine:"edition"},ev=({asset:e,parentAsset:t})=>{let{brand:{shortSiteName:n}}=(0,m.Z)(),a=(0,z.Un)((0,U.TH)().pathname),{data:l,error:d,loading:h}=((e,t="")=>(0,k.a)(eh,{variables:{input:{publicId:e},parentPublicId:t}}))(e.publicId,t.publicId);if(h)return null;let{asset:g,error:v}=l?.assetByPublicId||{},f=d||v;if(f)return u.Y.error("Previous related entities error",c.log.EventType("asset","previousRelatedEntities"),c.log.Error(f),c.log.String("description",`Asset id: ${e.publicId}, parent id: ${t.publicId}`)),null;let x=g.relatedEntitiesSiblings.previousRelatedEntities.map(({asset:e})=>e),b=(0,s.AN)(t,x),y=g.relatedEntitiesSiblings.nextRelatedEntities.map(({asset:e})=>e),C=(0,s.AN)(t,y);if(0===b.length&&0===C.length)return null;let w=(0,p._W)(t.urls,n),S={imagePositions:["top","left","left"],imageSizes:{large:{aspectRatio:"3x2",width:220},medium:{aspectRatio:"3x2",width:183},small:{aspectRatio:"3x2",width:550}},showAuthor:!1,showPrimaryTag:!1,showTimestamp:!1},Z=a?o:i;return(0,r.jsxs)(Z.Wrapper,{className:"noPrint",children:[(0,r.jsxs)(Z.ContinueText,{children:["Continue this ",eg[t.subType]||"series"]}),(0,s.jW)(t)&&(0,r.jsx)(Z.MagazineLogo,{as:N.Z,asset:t}),(0,r.jsx)(Z.Header,{as:q.Z,url:w,children:t.headlines.headline}),C.length>0&&(0,r.jsxs)(et.Fragment,{children:[(0,r.jsx)(Z.RecirculationNextPrev,{children:"Up next"}),(0,r.jsx)(Z.UpNextAssetList,{as:j.Z,assets:C,getStoryTiles:(0,E.ZC)(S)})]},"up-next"),b.length>0&&(0,r.jsxs)(et.Fragment,{children:[(0,r.jsx)(Z.RecirculationNextPrev,{children:"Previously"}),(0,r.jsx)(Z.AssetList,{as:j.Z,assets:b,getStoryTiles:(0,E.ZC)(S)})]},"previous"),(0,r.jsxs)(Z.SeeAllLink,{as:q.Z,url:w,children:["See all stories",(0,r.jsx)(Z.ArrowRightIcon,{as:P.Z})]})]})},ef=({asset:e,className:t})=>{let n=e.relatedEntitiesParents?.assets?.[0];if(e.type===l.h3.Collection&&e?.subBrand?.id!==d.F3&&!n)return(0,r.jsx)(a.ZP,{children:(0,r.jsx)(O,{asset:e})});if(!n)return null;if(n.type===l.h3.Collection&&"recipe"===n.subType)return(0,r.jsx)(a.ZP,{children:(0,r.jsx)(S,{asset:e})});if(n.subBrand?.id!==d.Hn)return(0,r.jsx)(a.ZP,{children:(0,r.jsx)(ev,{asset:e,parentAsset:n})});let i=e.relatedEntitiesSiblings.nextRelatedEntities.map(({asset:e})=>e),o=(0,s.AN)(n,i);return(0,r.jsx)(a.ZP,{children:(0,r.jsx)(ee,{asset:e,className:`noPrint ${t||""}`,collectionSiblings:o,parentAsset:n})})}},55229:function(e,t,n){n.d(t,{Z:()=>T});var i=n(52322),o=n(66385),r=n(17845),a=n(12043),l=n(56111),s=n(41865),d=n(11402),c=n(23539),m=n(28067);let u={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"MemberCommentsAuthQuery"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"MemberCommentsMetroAuthInput"}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"tokenPurpose"}},type:{kind:"NamedType",name:{kind:"Name",value:"TokenPurpose"}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberCommentsMetroAuth"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}},{kind:"Argument",name:{kind:"Name",value:"tokenPurpose"},value:{kind:"Variable",name:{kind:"Name",value:"tokenPurpose"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ErrorTypeInvalidAuth"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ErrorTypeInvalidRequest"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ErrorTypeUnavailable"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"retryable"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:314,source:{body:"query MemberCommentsAuthQuery($input:MemberCommentsMetroAuthInput,$tokenPurpose:TokenPurpose){memberCommentsMetroAuth(input:$input,tokenPurpose:$tokenPurpose){token error{message type{class...on ErrorTypeInvalidAuth{code}...on ErrorTypeInvalidRequest{fields{field message}}...on ErrorTypeUnavailable{retryable}}}}}"}}};var p=n(82332),h=n(59558),g=n(2784),v=n(79644),f=n(78943);let x=f.ZP.div.withConfig({componentId:"sc-fe06dd0f-0"})(["position:relative;"]),b=f.ZP.div.withConfig({componentId:"sc-fe06dd0f-1"})(["container-type:inline-size;"]),k=f.ZP.button.withConfig({componentId:"sc-fe06dd0f-2"})(["background-color:",";border:1px solid transparent;border-radius:4px;color:",";font-family:",";margin:0 20px 24px;padding:12px 16px;&:hover{border:1px solid ",";}@media ","{margin:0 0 24px;width:fit-content;}@container (max-width:320px){padding:12px 8px;}"],({theme:e})=>e.colorLightFill,e=>e.theme.colorDark,e=>e.theme.fontPrimary,({theme:e})=>e.colorLightAccent,v.Z.query.medium),y=f.ZP.div.withConfig({componentId:"sc-fe06dd0f-3"})(["font-size:15px;line-height:20px;"]),C=f.ZP.svg.withConfig({componentId:"sc-fe06dd0f-4"})(["background-color:",";border-radius:50%;color:#fff;height:15px;margin:0 9.5px 2.5px 0;padding:3px;width:15px;"],({theme:e})=>e.colorCommentsActionFill),w=({trackableUser:e})=>{let[t,n]=(0,g.useState)(!1);return e?null:(0,i.jsxs)(x,{children:[(0,i.jsx)(h.Z,{showing:t,children:"Due to legal restrictions, we are unable to allow commenting in select regions outside Australia."}),(0,i.jsx)(b,{children:(0,i.jsx)(k,{"data-testid":"commenting-disabled-message",onClick:()=>n(!t),children:(0,i.jsxs)(y,{children:[(0,i.jsx)(C,{as:p.Z}),"Commenting is unavailable in your region."]})})})]})};var S=n(2596),P=n(69414),Z=n(1797),N=n(65677),I=n(633),A=n(91629),j=n(72204);let E=e=>e?.children[1]?e?.children[1]?.shadowRoot:null,F=e=>{let t=e.cloneNode(!0);return e.parentNode.replaceChild(t,e),t},L=(e,t,n,i)=>{e.pushAnalyticsEvent({event:e.EVENTS.VIEW_COMMENTS_EVENT,interaction_label:t,interaction_type:n,page_title:i})},T=({asset:e})=>{let{COMMENTS_METRO_API_URL:t,brand:n}=(0,l.Z)(),p=(0,a.Z)(),h=(0,s.Z)(),v=(0,d.ZP)(),[x,b]=(0,g.useState)(!1),k=(0,I.Gq)(`${t}/assets/js/embed.js`),y=(0,A.O)(e.type),C=(0,N.U)(),{data:T,error:R,networkStatus:V,refetch:B}=(({assetType:e,tokenPurpose:t=m.Nx.CommentsLegacy},n=!1)=>(0,c.a)(u,{context:{clientName:"api-front"},skip:n,ssr:!1,variables:{input:{commentingContext:{assetType:{assetType:e}.assetType}},tokenPurpose:t}}))({assetType:y,tokenPurpose:m.Nx.Comments},void 0===y),_=(0,g.useContext)(f.Ni);return(0,g.useEffect)(()=>{if(V===o.I.refetch||!T&&!R||"ready"!==k)return;if(R)return void P.Y.error("Unable to fetch member commenting auth token",r.log.EventType("comment","auth"),r.log.Error(R));let{error:i,token:a}=T.memberCommentsMetroAuth,l=async()=>{b(!0),p(()=>{B().catch(e=>{P.Y.error("Unable to re-fetch member commenting auth token",r.log.EventType("comment","auth"),r.log.Error(e))})},h[S.PERM_FEATURE_FLAG_MEMBER_SERVICES_FORCE_DISABLED])};if(i){let{type:{class:e}}=i||{};e===m.c4.InvalidAuth?x?P.Y.error("Invalid auth token",r.log.EventType("comment","auth"),r.log.Error(i.message)):l():e===m.c4.InvalidRequest?P.Y.error("Invalid request",r.log.EventType("comment","auth"),r.log.Error(i.message)):P.Y.error("Unable to fetch member commenting auth token",r.log.EventType("comment","auth"),r.log.Error(i.message));return}(()=>{if(!window.Coral||"function"!=typeof window.Coral.createStreamEmbed)return P.Y.error("Coral.createStreamEmbed is not available");let i=e.publicId,o=(0,j._W)(e.urls,n.shortSiteName),r=e.headlines.headline,l=window.Coral.createStreamEmbed({accessToken:C?a:null,autoRender:!0,containerClassName:"comments-embed",events:t=>{t.on("ready",()=>{let t=e.type===m.h3.LiveArticle;((e,t,n,i=!1)=>{let o=E(e);if("undefined"==typeof document||!o||!document?.documentElement)return;let r=n.colorDark,a=n.colorBrand,l=n.colorButtonSecondary,s=n.colorButtonSecondaryHover,d=n.colorButtonSecondaryText,c=n.colorCommentingBox,m=n.colorCommentsAction,u=n.colorCommentsActionFill,p=n.colorCommentsActionHover,h=n.colorCommentsDivider,g=n.colorCommenterRole,v=n.colorCommentsTimestamp,x="#fff",b=n.colorCommentsButtonAction,k=n.colorCommentsButtonActionHover,y=n.colorCommentsButtonInactive,C=n.colorCommentsButtonInactiveText,w=n.colorCommentsButtonText,S=n.colorCommentsGrey200,P=n.colorCommentsGrey400,Z=n.colorCommentsLink,N=n.colorCommentsLinkHover,I=n.colorCommentsPrimary100,A=n.colorCommentsPrimary300,j=n.colorCommentsPrimary500,F=n.colorCommentsPrimary600,L=n.colorCommentsPrimary700,T=n.colorCommentsSecondaryButtonAction,R=n.colorCommentsSecondaryButtonActionHover,V=n.textDecorationCommentsLink,B=n.colorCommentsGuidelineLink,_=n.colorCommentsGuidelineLinkHover,D=n.colorTextDecorationCommentsGuidelineLinkHover,M=n.textDecorationCommentsGuidelineLink,$=n.textDecorationCommentsGuidelineLinkHover,H=n.textDecorationThicknessCommentsGuidelineLinkHover,O=n.colorCommentsTag,q=(0,f.iv)(["#coral{--font-family-primary:'PT Sans','Trebuchet MS','Arial Narrow',sans-serif;--font-family-secondary:'PT Sans','Trebuchet MS','Arial Narrow',sans-serif;--font-size-3:0.9375rem;--font-size-4:0.9375rem;--palette-primary-500:",";--spacing-1:7px;--palette-divider:",";--palette-grey-300:",";--palette-primary-600:",";--palette-grey-600:",";--palette-primary-100:",";--palette-primary-300:",";--palette-primary-700:",";--palette-grey-200:",";--palette-grey-400:",";--palette-grey-500:",";--palette-text-500:",";--palette-text-900:",";}.coral.coral-createComment-submit,.coral.coral-createReplyComment-cancel,.coral.coral-createReplyComment-submit,.coral.coral-editComment-cancel,.coral.coral-editComment-submit,.coral.coral-reportPopover-cancelButton,.coral.coral-reportPopover-submitButton{border:none;padding:12px 24px;letter-spacing:1px;}.coral.coral-createComment-submit,.coral.coral-createReplyComment-submit,.coral.coral-loadMoreButton,.coral.coral-editComment-submit,.coral.coral-reportPopover-submitButton{background-color:"," !important;border-color:"," !important;color:"," !important;}.coral.coral-createComment-submit:hover,.coral.coral-createReplyComment-submit:hover,.coral.coral-loadMoreButton:hover,.coral.coral-editComment-submit:hover,.coral.coral-reportPopover-submitButton:hover{background-color:"," !important;border-color:"," !important;cursor:pointer;}.coral.coral-createReplyComment-cancel,.coral.coral-editComment-cancel,.coral.coral-reportPopover-cancelButton{background-color:"," !important;color:"," !important;}.coral.coral-createReplyComment-cancel:hover,.coral.coral-editComment-cancel:hover,.coral.coral-reportPopover-cancelButton:hover{background-color:"," !important;}button.coral.coral-comment-reactButton:hover,button.coral.coral-comment-replyButton:hover,.coral-featuredComment-actionBar > button:hover,.coral.coral-featuredComment-goToConversationButton:hover{color:"," !important;}button.coral-comment-reactButton > span > span:nth-child(2):hover,button.coral-comment-replyButton > span > span:nth-child(2):hover,button.coral-featuredComment-reactButton > span > span:nth-child(2):hover{text-decoration:underline;}[disabled].coral.coral-createComment-submit,[disabled].coral.coral-createReplyComment-submit,[disabled].coral.coral-editComment-submit,[disabled].coral.coral-reportPopover-submitButton{color:"," !important;background-color:"," !important;border-color:"," !important;}[disabled].coral.coral-createComment-submit:hover,[disabled].coral.coral-createReplyComment-submit:hover,[disabled].coral.coral-editComment-submit:hover,[disabled].coral.coral-reportPopover-submitButton:hover{cursor:default;}[disabled].coral.coral-comment-replyButton{display:none;}.coral-reactedButton.coral-comment-reactedButton,.coral-featuredComment-reactButton.coral-featuredComment-reactedButton{color:"," !important;svg{color:"," !important;fill:",";}}.coral.coral-createComment-closed > div > div:first-child{display:flex;align-items:center;}.coral.coral-username.coral-comment-username{color:",";}.coral.coral-userTag.coral-comment-userTag{border-radius:15px;background-color:",";color:",";padding:2px 12px;}button[class*='AllCommentsTabContainer-refreshButton']{display:flex;align-items:center;gap:3px;padding:8px 8px 8px 16px;}button[class*='AllCommentsTabContainer-closeButton']{display:flex;align-items:center;gap:3px;padding:8px 16px 8px 8px;}span[class*='AllCommentsTabContainer-refreshButtonIcon']{display:flex;}span[class*='AllCommentsTabContainer-closeButtonIcon']{display:flex;}button[class*='AllCommentsTabContainer-refreshButton']:hover{background-color:"," !important;border-color:"," !important;}button[class*='AllCommentsTabContainer-closeButton']:hover{background-color:"," !important;border-color:"," !important;}#comments-featuredCommentPopover > div{background-color:",";border-color:",";}#comments-featuredCommentPopover > div > div::before,#comments-featuredCommentPopover > div > div::after{border-bottom-color:",";}h4[class*='Tooltip-title'],p[class*='Tooltip-contents']{color:"," !important;}#tabPane-PREFERENCES > div > *:not(.coral.coral-ignoredCommenters){display:none;}button.coral.coral-ignoreUserPopover-cancelButton,button.coral.coral-ignoredComments-manageButton,button.coral.coral-userPopover-ignoreButton{border-color:"," !important;color:"," !important;}button.coral.coral-ignoreUserPopover-cancelButton:hover,button.coral.coral-ignoredComments-manageButton:hover,button.coral.coral-userPopover-ignoreButton:hover{background-color:"," !important;}button.coral.coral-ignoreUserPopover-ignoreButton{background-color:"," !important;border-color:"," !important;}button.coral.coral-ignoreUserPopover-ignoreButton:hover{background-color:"," !important;border-color:"," !important;}button.coral.coral.coral-ignoredComments-manageButton[class*='Button-filled']{background-color:"," !important;border-color:"," !important;color:"," !important;}button.coral.coral.coral-ignoredComments-manageButton[class*='Button-filled']:hover{background-color:"," !important;border-color:"," !important;}.coral.coral-commentForm{border-color:",";}.coral.coral-tabBarSecondary.coral-tabBarComments{gap:16px;}.coral.coral-comment-shareButton{display:none;}button.coral-comment-reportButton{padding:0;}button.coral-comment-reportButton > span > span{margin:0;}button.coral-comment-reportButton span span:last-child{display:none;}button[aria-pressed*='true'].coral.coral-reportButton.coral-comment-reportButton{padding:2px 3px;background-color:",";border-color:",";color:",";}.coral-comment-collapse-toggle{display:none;}.coral.coral-featuredComment{display:flex;flex-direction:column;}.coral.coral-featuredComment > div:nth-child(2){order:2;}.coral.coral-featuredComment > div:nth-child(3){margin:0 0 calc(0.5 * var(--mini-unit)) 0 !important;order:1;}.coral.coral-featuredComment > div:nth-child(4){order:3;}button.coral-featuredComment-reactButton > span{display:flex;flex-direction:row;}button.coral-featuredComment-reactButton > span > span:nth-child(2){order:1;}button.coral-featuredComment-reactButton > span > span:first-child{order:2;margin-right:0;margin-left:5px;}button.coral-featuredComment-reactButton > span > span:nth-child(3){order:3;}button.coral-comment-reactButton,button.coral-comment-replyButton,.coral.coral-featuredComment-goToConversationButton{color:"," !important;padding-left:0px;}button.coral-comment-reactButton > span{display:flex;flex-direction:row;}button.coral-comment-reactButton > span > span:nth-child(2),button.coral-comment-replyButton > span > span:nth-child(2){order:1;}button.coral-comment-reactButton > span > span:first-child,button.coral-comment-replyButton > span > span:first-child{order:2;margin-right:0;margin-left:5px;}button.coral-comment-reactButton > span > span:nth-child(3){order:3;}.coral.coral-indent.coral-indent-1{border-left-color:",";}.coral.coral-indent.coral-indent-2{border-left-color:",";}.coral.coral-indent.coral-indent-3{border-left-color:",";}.coral.coral-indent.coral-indent-4{border-left-color:",";}.coral.coral-indent.coral-indent-5{border-left-color:",";}.coral.coral-indent.coral-indent-6{border-left-color:",";}.coral.coral-indent.coral-indent-7{border-left-color:",";}.coral.coral-tabBarSecondary-tab.coral-tabBarSecondary-tab-active > div > .coral.coral-counter{background-color:",";}.coral.coral-counter{background-color:",";box-shadow:none;}.coral.coral-counter > span{padding:2px;}@media (max-width:399px){.coral.coral-comment-actionBar > :first-child{justify-content:flex-start;gap:4px;}}@media (max-width:531px){.coral.coral-stream{padding:0 20px;box-sizing:border-box;}}.coral-guidelines-content > p > a{color:",";text-decoration:",";}.coral-guidelines-content > p > a:hover{color:",";text-decoration:",";text-decoration-color:",";text-decoration-thickness:",";}.coral-streamFooter > button.coral-streamFooter-link,.coral.coral-myComment-viewConversationButton > span{color:",";text-decoration:",";font-size:13px;}.coral-streamFooter > button.coral-streamFooter-link:hover,.coral.coral-myComment-viewConversationButton:hover > span{color:"," !important;text-decoration:underline;}.coral-comment-timestamp,.coral-comment-actionBar > div > button,.coral-featuredComment-actionBar > button,.coral.coral-featuredComment-goToConversationButton,.coral.coral-comment-edited{font-weight:normal;}.coral-comment-timestamp,.coral.coral-comment-edited{color:",";}"],j,h,h,F,p,I,A,L,S,P,g,r,r,b,b,w,k,k,l,d,s,r,C,y,y,m,u,u,r,O,a,m,m,m,m,x,x,x,r,T,T,R,b,b,k,k,b,b,w,k,k,c,n.colorCommentsIndent6,n.colorCommentsIndent6,n.colorDark,m,n.colorCommentsIndent1,n.colorCommentsIndent2,n.colorCommentsIndent3,n.colorCommentsIndent4,n.colorCommentsIndent5,n.colorCommentsIndent6,n.colorCommentsIndent7,n.colorDark,n.colorCommentsIndent6,B,M,_,$,D,H,Z,V,N,v),U=document.createElement("style");if(U.textContent=String(q.join("")),!t){let e=(0,f.iv)([".coral.coral-unauthenticated{> div:first-child,.coral-createComment,.coral-guidelines{display:none;}}.coral.coral-comments{padding-top:0;}.coral.coral-viewerBox{display:none;}"]);U.textContent+=e.join("")}if(i){let e=(0,f.iv)([".coral.coral-streamFooter,#tab-COMMENTS svg,#tab-PROFILE svg{display:none;}#tab-CONFIGURE svg{height:16.5px;}@media (max-width:531px){.coral.coral-stream{padding:0px;}}"]);U.textContent+=e.join("")}o.appendChild(U)})(l.element,!!(C?a:null),_,t)}),t.on("createComment.success",()=>{L(v,"submit","submit",r)}),t.on("createCommentReply.success",()=>{L(v,"submit","submit",r)}),t.on("createCommentReaction.success",()=>{L(v,"respect","respect",r)}),t.on("showReplyForm",()=>{L(v,"reply","reply",r)}),t.onAny(e=>{a||((e,t,n)=>{let i=E(e);if(!i||!["loadMoreAllComments.success","loadMoreFeaturedComments","loadMoreHistoryComments","ready","refreshCommentsButton","setCommentsOrderBy","setCommentsTab","setMainTab","showAllReplies","showMoreReplies","showMoreOfConversation","viewConversation","viewFullDiscussion","viewNewComments","viewNewCommentsNetwork","viewNewRepliesNetwork"].includes(t))return()=>null;let o=()=>{let e=Array.from(i.querySelectorAll('[data-testid="comment-reaction-button"]')),t=[...e,...Array.from(i.querySelectorAll('[data-testid="comment-reply-button"]')),...Array.from(i.querySelectorAll('[data-testid="comment-report-button"]'))];if(0===t.length)return!1;for(let e of t){let t=F(e);t.setAttribute("data-testid","comment-button-modified"),t.addEventListener("click",n)}return!0},r=null,a=setInterval(()=>{if(r&&r.disconnect(),!o())return;let e=i.querySelector('[data-test-id="virtuoso-item-list"],[data-testid="comments-permalinkView-conversationThread"]');e&&((r=new MutationObserver(e=>{for(let t=0;tclearInterval(a),1e3),()=>{r&&r.disconnect(),clearInterval(a)}})(l.element,e,()=>(0,Z.lF)(Z.CV.LOGIN))})},id:"coral_thread",rootURL:t,storyID:i,storyURL:`${window.location.origin}${o}`})})()},[t,v,e.headlines,e.publicId,e.type,e.urls,n.shortSiteName,T,R,V,k,_,x,h,B,p,C]),(0,i.jsxs)("div",{children:[(0,i.jsx)(w,{trackableUser:C}),(0,i.jsx)("div",{"data-testid":"comments-display",id:"coral_thread"},"comments")]})}},59258:function(e,t,n){n.d(t,{NL:()=>l,XF:()=>a,xR:()=>r,zx:()=>d});var i=n(79644),o=n(78943);let r=".15s ease-in-out",a=o.ZP.span.withConfig({componentId:"sc-997d016f-0"})(["background-color:",";border-radius:3px;color:",";display:inline-block;font-weight:bold;margin-right:6px;min-width:32px;padding:4px;position:relative;text-align:center;&::after{border-color:"," transparent transparent transparent;border-style:solid;border-width:8px 8px 0 0;bottom:-8px;content:'';height:0;left:6px;position:absolute;width:0;}"],({theme:e})=>e.colorCommentsCount,({theme:e})=>e.colorCommentsCountText,({theme:e})=>e.colorCommentsCount),l=o.ZP.span.withConfig({componentId:"sc-997d016f-1"})(["padding:0;"]),s=(0,o.iv)(["border:1px solid ",";font-size:15px;height:62px;line-height:1.333;padding:16px;width:100%;","{margin-right:8px;min-width:48px;}"],({theme:e})=>e.colorLightAccent,a),d=o.ZP.button.withConfig({componentId:"sc-997d016f-2"})(["color:",";cursor:pointer;font-size:13px;line-height:16px;","{transition:background-color ",";&::after{transition:border-color ",";}}","{text-decoration:none transparent;transition:text-decoration ",";}&:focus,&:hover{","{background-color:",";&::after{border-color:"," transparent transparent transparent;}}","{text-decoration:underline;}}",""],({theme:e})=>e.colorDark,a,r,r,l,r,a,({theme:e})=>e.colorCommentsCountHover,({theme:e})=>e.colorCommentsCountHover,l,({$inFooter:e})=>e?s:"");i.Z.zIndex.tooltip,(0,o.ZP)(i.Z.ButtonStandardGF).withConfig({componentId:"sc-997d016f-6"})(["margin-top:16px;padding:12px 0;width:100%;"])},35280:function(e,t,n){n.d(t,{Z:()=>s});var i=n(52322),o=n(11402),r=n(81924),a=n(84641),l=n(59258);let s=({asset:e,className:t,inFooter:n=!1,onClick:s,totalCommentCount:d})=>{let c=(0,o.ZP)(),m=`${d>0?"View all comments":"Leave a comment"}`;return e.type===a.h3.Recipe&&(m=`${n?"View ":""}recipe note${1===d?"":"s"}`),(0,i.jsxs)(l.zx,{$inFooter:n,className:t,"data-testid":"comments-button",onClick:()=>{s(),(0,r.OU)(e.headlines.headline),c.pushAnalyticsEvent({event:c.EVENTS.VIEW_COMMENTS_EVENT,interaction_label:m,interaction_type:n?"comment view bottom":"view",page_title:e.headlines.headline})},type:"button",children:[(0,i.jsx)(l.XF,{children:d}),(0,i.jsx)(l.NL,{children:m})]})}},70481:function(e,t,n){n.d(t,{Q:()=>a});var i=n(29939),o=n(84641),r=n(72649);let a=(e,t,n,a)=>{let l=e?.type,s=l===o.h3.Recipe||(l===o.h3.Article||l===o.h3.FeatureArticle||l===o.h3.LiveArticle)&&n!==r.AX||l===o.h3.Collection&&e?.subType===i.Ii.destinationGuide,d=a?.latestCommentsConnection?.count,c=a?.latestCommentsConnection?.closed&&0===d;return!t&&a?.enabled&&s&&!c}},43905:function(e,t,n){n.d(t,{Z:()=>c});var i=n(52322),o=n(77554),r=n(78943);let a=r.ZP.div.withConfig({componentId:"sc-9564c49b-0"})(["border-top:1px solid ",";color:",";margin-top:24px;padding:32px 0 24px;text-align:center;"],({theme:e})=>e.colorLightAccent,e=>e.theme.colorDark),l=r.ZP.p.withConfig({componentId:"sc-9564c49b-1"})(["font-size:15px;line-height:20px;margin:0 auto;max-width:362px;"]),s=r.ZP.h2.withConfig({componentId:"sc-9564c49b-2"})(["font-size:17px;line-height:24px;margin-bottom:12px;"]),d=r.ZP.svg.withConfig({componentId:"sc-9564c49b-3"})(["color:",";height:18px;margin:0 8px 3px 0;width:18px;"],({theme:e})=>e.colorWarningAlt),c=()=>(0,i.jsxs)(a,{children:[(0,i.jsxs)(s,{children:[(0,i.jsx)(d,{as:o.Z}),"Comments currently unavailable"]}),(0,i.jsx)(l,{children:"We're sorry, comments are currently unavailable. We're working to restore them. Please try again later."})]})},63710:function(e,t,n){n.d(t,{Z:()=>Z});var i={};n.r(i),n.d(i,{CommentsSection:()=>S,DestinationName:()=>w});var o={};n.r(o),n.d(o,{CommentsSection:()=>P,DestinationName:()=>w});var r=n(52322),a=n(29939),l=n(55229),s=n(35280),d=n(70481),c=n(43905),m=n(38936),u=n(56111),p=n(41865),h=n(2596),g=n(2784),v=n(53896),f=n(57737),x=n(13585),b=n(72649),k=n(79916),y=n(78943),C=n(79644);let w=y.ZP.h2.withConfig({componentId:"sc-31a3de74-0"})(["border-top:1px solid ",";color:",";font-family:",";font-size:24px;font-weight:normal;padding:42px 0 30px;text-align:center;"],({theme:e})=>e.colorLightAccent,({theme:e})=>e.colorDark,({theme:e})=>e.fontTertiary),S=y.ZP.div.withConfig({componentId:"sc-31a3de74-1"})(["margin-top:",";padding:12px;text-align:center;@media ","{margin-top:",";}"],({$isSubscriberOnly:e})=>e?"0":"24px",C.Z.query.medium,({$isSubscriberOnly:e})=>e?"0":"32px"),P=(0,y.ZP)(S).withConfig({componentId:"sc-ba425365-0"})(["border-bottom:0;border-top:0;padding:0;"]),Z=({asset:e,className:t})=>{let n=(0,p.Z)(),y=(0,k.Un)((0,v.TH)().pathname),C=(0,f.k)(),{PAGEBUILDER:w}=(0,u.Z)(),{data:S}=(0,x.x)(e),{commenting:P}=S?.commentsByPublicId||{},Z=P?.latestCommentsConnection?.count,N=(0,g.useCallback)(()=>{setTimeout(()=>(0,f.Z)(!0),0)},[]);if(!(0,d.Q)(e,w.ENABLED,y,P))return null;if(n[h.PERM_FEATURE_FLAG_COMMENTS_DISABLED])return(0,r.jsx)(c.Z,{});let I=y===b.AX?o:i,A=n[h.PERM_FEATURE_FLAG_PIANO_ENABLED]&&n[h.TEMP_FEATURE_FLAG_PIANO_COMMENTS_REG_ENABLED],j=e?.subType===a.Ii.destinationGuide&&e?.tags?.primary?.displayName;return(0,r.jsx)(m.ZP,{children:(0,r.jsxs)("div",{className:"noPrint",children:[j&&(0,r.jsxs)(I.DestinationName,{children:["Share your tips for visiting ",j]}),C?(0,r.jsx)(l.Z,{asset:e}):(0,r.jsx)(I.CommentsSection,{$isSubscriberOnly:A,className:t,id:"comments",children:(0,r.jsx)(s.Z,{asset:e,inFooter:!0,onClick:N,totalCommentCount:Z})})]})})}},28833:function(e,t,n){n.d(t,{Z:()=>l});var i=n(52322),o=n(47765),r=n(2784);let a=n(78943).ZP.img.withConfig({componentId:"sc-2c55ee03-0"})(["display:none;"]),l=({asset:e})=>{let[t]=(0,r.useState)(Date.now()),{extensions:n}=e,{tracking:l={}}=n??{},s=l?.tags;return s&&s.length?(0,i.jsx)(i.Fragment,{children:s.reduce((e,n)=>{if(new Date(n.end).getTime()<=t)return e;let r=new URL(n.url,window.location.origin);r.searchParams.set("timestamp",String(t));let l=r.toString();return e.push((0,i.jsx)(a,{alt:"",className:"tag",src:l},(0,o.un)(l))),e},[])}):null}},88635:function(e,t,n){n.d(t,{M:()=>l,W:()=>r});var i=n(79644),o=n(78943);let r=o.ZP.div.withConfig({componentId:"sc-f7fd8257-0"})(["align-items:baseline;display:flex;flex-wrap:wrap;font-family:",";gap:4px;margin-bottom:8px;max-width:100%;position:relative;"],e=>e.theme.fontSecondary),a={normal:"16px",larger:"20px","very large":"24px"},l=o.ZP.button.withConfig({componentId:"sc-f7fd8257-1"})(["align-items:end;background-color:transparent;border:0;color:",";cursor:pointer;display:flex;font-size:",";height:32px;justify-content:center;line-height:1;outline:0;padding:2px;position:relative;width:28px;&::after{background-color:transparent;bottom:0;content:'';height:1px;left:50%;position:absolute;transform:translateX(-50%);width:20px;}"," @media ","{width:32px;}"],e=>e.theme.colorActionAlt,e=>a[e.$size],e=>e.$isSelected&&(0,o.iv)(["color:",";&::after{background-color:",";}"],e.theme.colorBody,e.theme.colorBody),i.Z.query.medium)},91339:function(e,t,n){n.d(t,{Z:()=>s});var i=n(52322),o=n(41865),r=n(2596),a=n(77965),l=n(88635);let s=()=>{let e=(0,a.V1)();return(0,o.Z)()[r.TEMP_FEATURE_FLAG_FONT_RESIZER_ENABLED]?(0,i.jsx)(l.W,{children:a.CH.map(t=>(0,i.jsx)(l.M,{$isSelected:e===t,$size:t,"aria-label":`Set font size to ${t}`,"aria-pressed":e===t,onClick:()=>(0,a.oL)(t),children:"A"},t))}):null}},3766:function(e,t,n){n.d(t,{EZ:()=>a,Kw:()=>r,TR:()=>l,f:()=>s});var i=n(43743),o=n(78943);let r=o.ZP.div.withConfig({componentId:"sc-8d528977-0"})(["display:flex;margin:8px 0 24px;"]),a=(0,o.ZP)(i.ButtonHollowMetro).withConfig({componentId:"sc-8d528977-1"})(["align-items:center;border:none;border-radius:4px;box-shadow:0 0 4px 0 #00000040;display:flex;flex-direction:row;gap:10px;padding:16px;position:relative;text-decoration:none;"]),l=o.ZP.div.withConfig({componentId:"sc-8d528977-2"})(["height:24px;width:24px;"]),s=o.ZP.p.withConfig({componentId:"sc-8d528977-3"})(["color:",";font-size:16px;font-weight:400;gap:10px;letter-spacing:0;line-height:24px;text-transform:none;"],({theme:e})=>e.colorLabel)},29799:function(e,t,n){n.d(t,{Z:()=>k});var i,o,r,a,l=n(52322),s=n(2784);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{brand:e}=(0,u.Z)(),{shortSiteName:t}=e,n=(0,p.Z)(),[i,o]=(0,s.useState)(!1),[r,a]=(0,s.useState)(!0),d=t?`https://www.google.com/preferences/source?q=${t}.com.au`:"https://www.google.com/preferences/source?q=smh.com.au";return((0,s.useEffect)(()=>{a(g.mB.get(m,b)),o(!0)},[]),n[f.TEMP_FEATURE_FLAG_GOOGLE_PREFERRED_SOURCE_BUTTON_ENABLED]&&i&&!r)?(0,l.jsx)(x.Kw,{className:"noPrint",children:(0,l.jsxs)(x.EZ,{as:v.Z,onClick:()=>{(0,h.QZ)(d),g.mB.set(m,!0,365,b),a(!0)},url:d,children:[(0,l.jsx)(x.TR,{"aria-hidden":"true",as:c,focusable:"false"}),(0,l.jsx)(x.f,{children:"Add us as a preferred source on Google"})]})}):null}},36785:function(e,t,n){n.d(t,{Z:()=>m});var i=n(52322),o=n(9935),r=n(38936),a=n(56111),l=n(72761),s=n(53896),d=n(72649),c=n(79916);let m=({asset:e})=>{let{category:t,tags:n}=e,{brand:{shortSiteName:m,siteUrl:u}}=(0,a.Z)(),p=(0,c.Un)((0,s.TH)().pathname),h=((e,t,n,i)=>{let o=null!==i;return[{name:o?"Home":e.parent?.name||"Home",url:o?i===d.AX?"/goodfood":i===d.zE?"/traveller":"/":(0,l.$)(e.parent,i,n)},{name:e.name,url:(0,l.$)(e,i,n)},...t?.urls?[{name:t.displayName,url:(0,l.g)(i,t,n)}]:[]]})(t,n?.primary,m,p);return(0,i.jsx)(r.ZP,{children:(0,i.jsx)(o.Breadcrumbs,{baseURL:u,breadcrumbs:h})})}},27421:function(e,t,n){n.d(t,{R:()=>o,Z:()=>r});var i=n(23539);let o={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let n=e.name.value;return!t[n]&&(t[n]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"PageByType"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PageByTypeInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageByType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ads"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suppress"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"groups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"units"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"heading"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ResolvedContentUnit"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewFragment"},directives:[]}]}}]}}]}},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RecirculationContentUnit"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewFragment"},directives:[]}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}].concat(n(52115).AN.definitions)),loc:{start:0,end:314,source:{body:"query PageByType($input:PageByTypeInput!){pageByType(input:$input){error{message}page{ads{suppress}id content{groups{id name content{units{heading{text url}id name type...on ResolvedContentUnit{content{assets{...AssetPreviewFragment}}}...on RecirculationContentUnit{content{assets{...AssetPreviewFragment}}}}}}}}}}"}}},r=(e,t)=>(0,i.a)(o,{nextFetchPolicy:"cache-only",returnPartialData:!0,ssr:!1,variables:{after:"",first:0,input:{brandKey:e,pageType:t,renderName:"web"}}})},72671:function(e,t,n){n.d(t,{Z:()=>s});var i=n(83096),o=n(41865),r=n(98051),a=n(2596),l=n(2784);let s=()=>{let[e,t]=(0,l.useState)(!1),[n,s]=(0,l.useState)(!1),[d,c]=(0,l.useState)(""),m=(0,o.Z)(),u=e&&!m[a.PERM_FEATURE_FLAG_PIANO_HARD_REG_WALL_UNAVAILABLE]||n&&!m[a.PERM_FEATURE_FLAG_PIANO_PAYWALL_UNAVAILABLE];return(0,l.useEffect)(()=>{let e=e=>{if(e.type===r.Ru){switch(e.detail.type){case r.iV:t(!0);break;case r.bQ:s(!0),m[a.PERM_FEATURE_FLAG_PIANO_PAYWALL_UNAVAILABLE]||(0,i.Qp)(document.body);break;case r.Ht:s(!1);break;case r.zv:(0,i.Qp)(document.body)}e.detail?.type&&c(e.detail.type)}};return window.onpageshow=e=>{e.persisted&&window.location.reload()},window.addEventListener(r.Ru,e),()=>{window.removeEventListener(r.Ru,e)}},[m]),{contentWallVisible:u,pianoEventDetail:d}}},12533:function(e,t,n){n.d(t,{Z:()=>w});var i=n(52322),o=n(14691),r=n(93673),a=n(56111),l=n(41865),s=n(2596),d=n(2784),c=n(53896),m=n(1600),u=n(79644),p=n(78943);let h=p.ZP.div.withConfig({componentId:"sc-89486094-0"})(["border-bottom:1px solid ",";margin-bottom:16px;padding-bottom:16px;position:relative;"],e=>e.theme.colorLightAccent),g=p.ZP.h3.withConfig({componentId:"sc-89486094-1"})(["color:",";display:inline-block;font-size:15px;font-weight:bold;letter-spacing:1px;margin:0;text-transform:uppercase;"],e=>e.theme.colorLabelLiveArticle),v=p.ZP.svg.withConfig({componentId:"sc-89486094-2"})(["cursor:pointer;display:block;height:24px;margin:16px auto 0;transform:",";@media ","{margin:0;position:absolute;right:0;top:0;transform:",";}"],({$open:e})=>e.small?"rotate(180deg)":"none",u.Z.query.medium,({$open:e})=>e.medium?"rotate(180deg)":"none"),f=p.ZP.div.withConfig({componentId:"sc-89486094-3"})(["display:flex;flex-direction:column;max-height:",";opacity:1;overflow:hidden;position:relative;transition:all 0.4s ease;::after{background-image:linear-gradient(0deg,#fff 0%,#fff0 100%);bottom:0;content:'';height:50px;left:0;opacity:",";pointer-events:none;position:absolute;transition:opacity 0.4s ease;width:100%;}@media ","{max-height:",";opacity:",";::after{display:none;}}"],({$height:e,$open:t})=>t.small?`${e}px`:"80px",({$open:e})=>e.small?"0":"0.2",u.Z.query.medium,({$height:e,$open:t})=>t.medium?`${e?`${e}px`:"fit-content"}`:"0px",({$open:e})=>e.medium?"1":"0"),x=p.ZP.div.withConfig({componentId:"sc-89486094-4"})(["min-height:fit-content;padding-bottom:8px;"]),b=p.ZP.div.withConfig({componentId:"sc-89486094-5"})(["align-items:flex-start;display:flex;flex-direction:row;font-size:15px;gap:",";margin-top:16px;",""],e=>e.$isBullet?"16px":"20px",e=>e.$isBullet?` @media ${u.Z.query.medium} { gap: 36px; }`:""),k=p.ZP.div.withConfig({componentId:"sc-89486094-6"})(["background-color:",";border-radius:50%;display:inline-block;flex-shrink:0;height:9px;margin-top:6px;width:9px;"],e=>e.theme.colorLabelLiveArticle),y=p.ZP.time.withConfig({componentId:"sc-89486094-7"})(["align-content:flex-start;color:",";font-weight:",";min-width:7ch;"],e=>e.theme.colorLabelLiveArticle,e=>e.theme.fontWeightKeyPostTimestamp),C=p.ZP.a.withConfig({componentId:"sc-89486094-8"})(["color:",";text-decoration:underline ",";transition:text-decoration-color 0.3s ease;&:hover{text-decoration:underline ",";}&[aria-disabled='true']{pointer-events:none;}"],e=>e.theme.colorDark,e=>e.theme.colorLightAccent,e=>e.theme.colorDark),w=({posts:e,disabled:t})=>{let{brand:n}=(0,a.Z)(),u=(0,l.Z)(),p=(0,r.Z)("small"),[w,S]=(0,d.useState)({small:!1,medium:!0}),P=(0,d.useRef)(null);if(0===e.length)return null;let Z=e.length>2,N=Z?w:{small:!0,medium:!0};return(0,i.jsxs)(h,{children:[(0,i.jsx)(g,{"data-testid":"key-posts-header",children:"Key Posts"}),(0,i.jsx)(f,{$height:P.current?.offsetHeight,$open:N,"aria-expanded":p?N.small:N.medium,"data-testid":"key-posts-content",children:(0,i.jsx)(x,{ref:P,children:e.map(({dates:e,headlines:o,id:r,publicId:a})=>(0,i.jsxs)(b,{$isBullet:u[s.TEMP_FEATURE_FLAG_LIVE_COVERAGE_KEY_POST_BULLET],id:`key-post-${r}`,children:[u[s.TEMP_FEATURE_FLAG_LIVE_COVERAGE_KEY_POST_BULLET]?(0,i.jsx)(k,{"aria-hidden":"true","data-testid":"key-post-bullet"}):(0,i.jsx)(y,{children:(0,m.Dy)(e?.published,n.timeZone)}),(0,i.jsx)(C,{"aria-disabled":!!t,as:c.rU,to:`?post=${a}&gb=1`,children:o.headline})]},`key-post-${r}`))})}),Z&&(0,i.jsx)(v,{$open:N,as:o.Z,"data-testid":"key-posts-collapse-button",onClick:()=>{S({small:!w.small,medium:!w.medium})}})]})}},21746:function(e,t,n){n.d(t,{DG:()=>l,Vr:()=>a,Yw:()=>r,k1:()=>s});var i=n(79644),o=n(78943);let r=o.ZP.div.withConfig({componentId:"sc-1509e3cf-0"})(["margin:20px 0 24px;@media ","{margin-top:32px;}@media ","{margin:32px 0;}"],i.Z.query.medium,i.Z.query.large),a=o.ZP.span.withConfig({componentId:"sc-1509e3cf-1"})(["font-size:13px;font-weight:bold;"]),l=(0,o.ZP)(i.Z.LinkStandard).withConfig({componentId:"sc-1509e3cf-2"})(["font-size:13px;margin-left:16px;"," "," &:first-child{margin-left:0;}"],e=>e.tag&&(e.lightLabel?`color: ${e.theme.colorLight};`:`color: ${e.theme.colorLabelTag};`),e=>e.lightLabel&&`color: ${e.theme.colorLight};`),s=(0,o.ZP)(l).withConfig({componentId:"sc-1509e3cf-3"})(["",""],e=>e.inverse&&`color: ${e.theme.colorBrand300};`)},36021:function(e,t,n){n.d(t,{Z:()=>v});var i=n(52322),o=n(56111),r=n(35273),a=n(1333),l=n(53896),s=n(28063),d=n(72204),c=n(72649),m=n(1600),u=n(79916),p=n(5995),h=n(21746),g=n(72761);let v=({asset:e,className:t,lightLabel:n=!1,showCategory:v=!0,showLabel:f=!0,showTag:x=!0})=>{let{brand:{shortSiteName:b,timeZone:k}}=(0,o.Z)(),{tags:y}=e,C=y?.primary?.displayName,w=y?.primary?.urls,S=(0,a.i)(e),P=(0,u.Un)((0,l.TH)().pathname),Z=(0,m.fN)(e,k),N=(0,d.CO)(y,c.aZ),I=Z;return N&&(I=!1),(0,i.jsxs)(h.Yw,{className:`noPrint ${t||""}`,children:[I&&(0,i.jsx)(r.Z,{onDarkBackground:Z,shouldPulse:!0}),f&&S&&(0,i.jsx)(h.Vr,{children:S},`label-${S}`),v&&((e,t,n,o)=>{let{category:r}=e,{name:a,parent:l}=r,s=(0,p.VQ)(a),d=(0,u.kZ)(o);return(0,i.jsxs)(i.Fragment,{children:[l&&d&&(0,i.jsx)(h.DG,{href:(0,g.$)(l,o,n),lightLabel:t,children:l.name},`cat-${l.name}`),a&&(0,i.jsx)(h.DG,{href:(0,g.$)(r,o,n),lightLabel:t,children:s},`cat-${s}`)]})})(e,n,b,P),x&&w&&C&&(0,i.jsx)(h.k1,{href:(0,g.g)(P,y.primary,b),inverse:(0,s.Dd)(e),lightLabel:n,tag:!0,children:C},`tag-${C}`)]})}},32075:function(e,t,n){n.d(t,{Z:()=>e4});var i,o,r,a,l,s=n(52322),d=n(17845),c=n(75724),m=n(90016),u=n(34650),p=n.n(u),h=n(38936),g=n(56111),v=n(98051),f=n(27297),x=n(63490),b=n(53896),k=n(83628),y=n(72649),C=n(1600),w=n(79916),S=n(14658);let P=({asset:e,posts:t})=>{let{brand:{image:n,longSiteName:i,shortSiteName:o,siteUrl:r},imageRenditionUrlPrefix:a,SUBSCRIBE_WITH_GOOGLE:{PRODUCT_ID:l}}=(0,g.Z)(),d=(0,w.Un)((0,b.TH)().pathname),c=(0,k.gg)(e),m=(0,S.Z2)(d===y.AX,e,o),u={brand:{longName:i,shortName:o,logo:{url:n.LOGO_URL,width:n.LOGO_WIDTH,height:n.LOGO_HEIGHT},url:r},canonical:m,description:e.overview?.about||"",image:e.images?(0,S.Jn)(e.images,a,"withDimensions")[0]:void 0,keywords:(0,S.CS)(e,"Keywords"),liveArticle:{authors:(0,S.P6)(e.byline,d,o),firstPublished:e.dates.firstPublished,id:e.id,published:e.dates.published,lastPostPublished:e.extensions?.dates?.lastPostPublished||e.dates.published,posts:t.map(e=>({authors:(0,S.P6)(e.byline,d,o),body:(0,C.Cf)(e.body?.blocks||[]),firstPublished:e.dates.firstPublished||"",headline:e.headlines?.headline||"",published:e.dates.published||"",url:`${m.url}#update${(0,x.F)(e.dates.published,f.kl)}`}))},paywall:{accessibleForFree:c,cssSelectors:[`.${v.Jn}`]},subscribeWithGoogle:{productID:l},title:e.headlines.headline,type:"LiveArticle"};return(0,s.jsx)(h.ZP,{children:(0,s.jsx)(p(),{meta:u})})};var Z=n(2784);let N="latestPosts";var I=n(50041);let A={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"AssetLivePostsPolling"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AssetByPublicIDInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetByPublicId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetLivePostsForPolling"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetLivePostsForPolling"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LiveArticleAsset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestPostsConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:279,source:{body:"query AssetLivePostsPolling($first:Int!,$input:AssetByPublicIDInput!){assetByPublicId(input:$input){asset{...AssetLivePostsForPolling}error{message}}}fragment AssetLivePostsForPolling on LiveArticleAsset{latestPostsConnection(first:$first){edges{node{dates{published}publicId}}}}"}}};var j=n(10519),E=n(89311),F=n(93673),L=n(79644),T=n(78943);let R=T.ZP.nav.withConfig({componentId:"sc-fa8585bf-0"})(["align-items:center;border-bottom:1px solid ",";border-top:1px solid ",";display:flex;justify-content:space-between;margin-bottom:",";margin-top:",";min-height:67px;padding:12px 0;position:relative;",""],({theme:e})=>e.colorLightAccent,({theme:e})=>e.colorLightAccent,e=>e.$renderedOnTop?"24px":"0",e=>e.$renderedOnTop?"-17px":"28px",({$unclickable:e})=>e&&"pointer-events: none;"),V=T.ZP.nav.withConfig({componentId:"sc-fa8585bf-1"})(["align-items:center;border-bottom:1px solid #d7dbe3;display:flex;justify-content:space-between;min-height:67px;padding:12px 0;position:relative;"]),B=T.ZP.div.withConfig({componentId:"sc-fa8585bf-2"})(["display:flex;gap:10px;width:150px;"]),_=T.ZP.div.withConfig({componentId:"sc-fa8585bf-3"})(["text-align:center;width:150px;"]),D=T.ZP.span.withConfig({componentId:"sc-fa8585bf-4"})(["font-weight:700;"]),M=T.ZP.div.withConfig({componentId:"sc-fa8585bf-5"})(["display:flex;gap:10px;justify-content:flex-end;width:150px;"]),$=T.ZP.a.withConfig({componentId:"sc-fa8585bf-6"})(["border:1px solid ",";border-radius:4px;font-weight:700;padding:8px;vertical-align:top;svg{color:",";}&:hover{background-color:",";svg{color:",";}}&[aria-disabled='true']{border-color:",";color:",";svg{color:",";}}"],e=>e.theme.colorActionAlt,e=>e.theme.colorActionAlt,e=>e.theme.colorActionAlt,L.Z.white,e=>e.theme.colorLightAccent,e=>e.theme.colorLightAccent,e=>e.theme.colorLightAccent),H=(0,T.ZP)($).withConfig({componentId:"sc-fa8585bf-7"})(["border:1px solid ",";color:",";font-size:13px;letter-spacing:1px;padding:12px 12px 11px;text-decoration:none;text-transform:uppercase;user-select:none;&:hover{background-color:",";border:1px solid ",";color:",";}"],e=>e.theme.colorLightAccent,e=>e.theme.colorLink,e=>e.theme.colorActionAlt,e=>e.theme.colorActionAlt,L.Z.white),O=(0,T.ZP)(H).withConfig({componentId:"sc-fa8585bf-8"})([""]),q=({oldestPostPublicId:e=null,pageInfo:t,pageNumber:n,renderedOnTop:i=!1,disabled:o,totalPages:r})=>{let{endCursor:a,hasNextPage:l,hasPreviousPage:d,startCursor:c}=t||{},m=(0,F.Z)("smallMax");if(1===n&&i)return null;let u=(0,s.jsx)(H,{"aria-disabled":o,"aria-label":"Go to latest page",as:b.rU,to:"?gb=1",children:"Latest"}),p=l&&(0,s.jsx)(O,{"aria-disabled":o,"aria-label":"Go to oldest page",as:b.rU,to:`?post=${e}&gb=1`,children:"Oldest"});return(0,s.jsxs)(s.Fragment,{children:[!(o&&!i)&&(0,s.jsxs)(R,{$renderedOnTop:i,$unclickable:o,"data-testid":"live-article-pagination",children:[(0,s.jsxs)(B,{children:[!m&&u,d&&(0,s.jsx)($,{"aria-disabled":o,"aria-label":"Go to previous page",as:b.rU,to:`?before=${c}&gb=1`,children:(0,s.jsx)(j.Z,{})})]}),(0,s.jsx)(_,{"data-testid":"page-info",children:!!r&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(D,{children:n})," of ",(0,s.jsx)(D,{children:r})]})}),(0,s.jsxs)(M,{children:[l&&(0,s.jsx)($,{"aria-disabled":o,"aria-label":"Go to next page",as:b.rU,to:`?after=${a}&gb=1`,children:(0,s.jsx)(E.Z,{})}),!m&&p]})]}),!i&&m&&(0,s.jsxs)(V,{className:"noPrint",children:[(0,s.jsx)(B,{children:u}),(0,s.jsx)(M,{children:p})]})]})};var U=((i={}).Timeline="TIMELINE",i.Top="TOP",i);function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;te.theme.colorLightAccent,e=>e.$afterAd?"32px":"0",e=>e.$isTruncatable?"0":"32px",L.Z.query.medium,e=>e.$afterAd?"40px":"0",L.Z.query.large,e=>e.$isHeroPinnedPost&&(0,T.iv)(["background-color:",";border:none;border-radius:8px;padding:16px;width:100%;@media ","{padding:24px;width:100%;}@media ","{margin-left:0;}"],e=>e.theme.colorLightFill,L.Z.query.medium,L.Z.query.large)),ec=T.ZP.a.withConfig({componentId:"sc-c9d39863-1"})(["position:absolute;top:-48px;@media ","{top:-64px;}"],L.Z.query.medium),em=T.ZP.header.withConfig({componentId:"sc-c9d39863-2"})(["@media print{break-inside:avoid;}margin-bottom:16px;"]),eu=T.ZP.span.withConfig({componentId:"sc-c9d39863-3"})(["color:",";font-family:",";font-size:15px;font-weight:bold;left:-29px;line-height:20px;margin-bottom:8px;position:relative;text-transform:capitalize;top:-4px;@media ","{font-size:15px;left:-41px;line-height:24px;}&::before{background-color:",";border:4px solid #fff;border-radius:50%;content:'';display:inline-block;height:9px;margin-right:10px;position:relative;top:4px;width:9px;@media ","{margin-right:22px;}}"],e=>e.theme.colorLabelLiveArticle,e=>e.theme.fontPrimary,L.Z.query.medium,e=>e.theme.colorLabelLiveArticle,L.Z.query.medium),ep=T.ZP.div.withConfig({componentId:"sc-c9d39863-4"})(["align-items:flex-start;color:",";display:flex;flex-wrap:wrap;font-family:",";font-weight:600;gap:8px;justify-content:space-between;margin-bottom:16px;position:relative;"],e=>e.theme.colorLabelLiveArticle,e=>e.theme.fontPrimary),eh=T.ZP.svg.withConfig({componentId:"sc-c9d39863-5"})(["background:",";border-bottom:4px solid ",";border-radius:50%;border-top:4px solid ",";color:",";height:28px;left:calc(-20px - 14px);margin-right:22px;position:absolute;width:28px;@media ","{height:32px;left:calc(-32px - 16px);top:-3px;width:32px;}",""],L.Z.white,L.Z.white,L.Z.white,e=>e.theme.colorLabelLiveArticle,L.Z.query.medium,e=>e.$isHeroPinnedPost&&(0,T.iv)(["background:unset;border:unset;height:23px;left:unset;margin-right:8px;position:relative;top:unset;width:23px;@media ","{height:23px;left:unset;top:unset;width:23px;}"],L.Z.query.medium)),eg=T.ZP.div.withConfig({componentId:"sc-c9d39863-6"})(["flex:1;font-size:15px;line-height:24px;min-width:0;",""],e=>e.$isHeroPinnedPost&&(0,T.iv)(["span{display:none;}"])),ev=T.ZP.a.withConfig({componentId:"sc-c9d39863-7"})(["align-items:center;color:",";cursor:pointer;display:flex;flex-shrink:0;font-weight:500;text-decoration:none;white-space:nowrap;&:hover,&:focus{text-decoration:underline;}"],e=>e.theme.colorLinkActive),ef=T.ZP.svg.withConfig({componentId:"sc-c9d39863-8"})(["&&{border:none;color:",";height:24px;width:24px;}"],e=>e.theme.colorLinkActive),ex=T.ZP.h2.withConfig({componentId:"sc-c9d39863-9"})(["font-family:",";font-size:24px;font-weight:500;line-height:28px;@media ","{font-size:28px;line-height:32px;}"],e=>e.theme.fontTertiary,L.Z.query.medium),eb=T.ZP.section.withConfig({componentId:"sc-c9d39863-10"})(["font-family:",";figure{@media ","{margin-left:0;margin-right:0;}}"],e=>e.theme.fontSecondary,L.Z.query.mediumMax),ek=(0,T.F4)(["from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:translateY(0);}"]),ey=(0,T.F4)(["from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-8px);}"]),eC=(0,T.ZP)(Q.default).withConfig({componentId:"sc-c9d39863-11"})(["display:contents;> *{animation:"," 0.3s ease-in-out;animation-fill-mode:both;&:first-child{margin-top:24px;}}"],e=>e.$isCollapsing?ey:ek),ew=T.ZP.footer.withConfig({componentId:"sc-c9d39863-12"})(["clear:both;&::after{clear:both;content:'';display:table;}"]),eS=T.ZP.div.withConfig({componentId:"sc-c9d39863-13"})(["> button{height:40px;padding:0;width:40px;> span{display:none;}}&.sharePost ul{bottom:40px;top:auto;}",""],e=>e.$isHeroPinnedPost&&(0,T.iv)(["div > button{background-color:unset;transition:background-color 0.2s ease-out;&:hover{background-color:",";}}"],e.theme.colorLightAccent)),eP=T.ZP.div.withConfig({componentId:"sc-c9d39863-14"})(["margin-bottom:16px;"]),eZ=T.ZP.div.withConfig({componentId:"sc-c9d39863-15"})(["color:",";font-family:",";font-size:13px;line-height:20px;margin-top:4px;@media ","{font-size:15px;line-height:24px;margin-top:8px;}"],e=>e.theme.colorMid,e=>e.theme.fontPrimary,L.Z.query.medium),eN=T.ZP.span.withConfig({componentId:"sc-c9d39863-16"})(["",""],L.Z.visuallyHidden),eI=T.ZP.a.withConfig({componentId:"sc-c9d39863-17"})(["border-top:1px dashed ",";color:",";display:block;font-family:",";font-size:15px;line-height:20px;padding:12px 0;&:hover,&:focus{text-decoration:underline;}svg{margin:-8px 0 0 8px;position:relative;}"],e=>e.theme.colorLightAccent,e=>e.theme.colorAction,e=>e.theme.fontPrimary),eA=(0,T.ZP)(es.Container).withConfig({componentId:"sc-c9d39863-18"})([""]),ej=(0,T.ZP)(es.ShowMoreButton).withConfig({componentId:"sc-c9d39863-19"})(["margin-bottom:16px;"]),eE=({asset:e,post:t,afterAd:n=!1,latestPostPublicId:i=null,pinnedPosition:o=null})=>{let{ads:r,byline:a,body:l,dates:{firstPublished:d},headlines:c,publicId:m}=t,{headline:u}=c||{},{sponsor:p}=r||{},{brand:{shortSiteName:h},DEPLOY_ENV:v,brand:{timeZone:f}}=(0,g.Z)(),{contentWallVisible:x}=(0,ee.Z)(),b=(0,J.ZP)(),k=(0,K.Z)(),[w,S]=(0,Z.useState)(!1),[P,N]=(0,Z.useState)(!1),I=p&&{logos:p.logos,name:p.name,type:p.type,url:p.url},A=(0,C.Dy)(d,f,!0),j=o===U.Top,E=k[er.TEMP_FEATURE_FLAG_LIVE_COVERAGE_HERO_PINNED_POST_ENABLED]&&j&&(0,el.CO)(e.tags,y.i1),F=l?.blocks||[],L=k[er.TEMP_FEATURE_FLAG_LIVE_COVERAGE_POST_TRUNCATION_ENABLED]&&F.length>7&&!j,T=w||P;return(0,Z.useEffect)(()=>{if(!P)return;let e=window.setTimeout(()=>{N(!1)},300);return()=>{window.clearTimeout(e)}},[P]),(0,s.jsxs)("article",{"data-testid":"live-article-post",children:[(0,s.jsxs)(ed,{$afterAd:n,$isHeroPinnedPost:E,$isTruncatable:L,children:[(0,s.jsx)(ec,{"aria-hidden":!0,id:m}),(0,s.jsxs)(em,{children:[o?(0,s.jsxs)(ep,{"data-testid":E?"hero-pinned-header":"pinned-header",children:[(0,s.jsxs)(eg,{$isHeroPinnedPost:E,children:[(0,s.jsx)(eh,{$isHeroPinnedPost:E,"aria-hidden":"true",as:X}),"Pinned post ",(0,s.jsxs)("span",{children:["from ",A]})]}),i&&(0,s.jsxs)(ev,{"data-testid":"go-to-latest-button",onClick:e=>{e.preventDefault();let t=i&&document.getElementById(i);if(t){let e=t.getBoundingClientRect().top+window.pageYOffset-70;window.scrollTo({top:e,behavior:"smooth"})}},children:["Go to latest",(0,s.jsx)(ef,{as:G})]})]}):(0,s.jsx)(eu,{"data-testid":"post-time",itemProp:"datePublished",children:A}),u&&(0,s.jsx)(ex,{"data-testid":"post-headline",itemProp:"headline",children:u}),a&&(0,s.jsxs)(eZ,{children:[(0,s.jsx)(eN,{children:"By "}),a?(0,s.jsx)(s.Fragment,{children:a.map((e,t)=>{let n=e?.type===ea.D8.Author?e.author:void 0,i=e?.type===ea.D8.Name?e:void 0;return(0,s.jsxs)(Z.Fragment,{children:[t>0&&(t!==a.length-1?", ":" and "),(0,s.jsx)("span",{children:i?i.name:n?.name})]},i?i.name:n?.id)})}):null]}),I?.name&&(0,s.jsx)(eP,{children:(0,s.jsx)(en.Z,{sponsor:I})})]}),(0,s.jsxs)(eb,{id:`post-body-${m}`,itemProp:"articleBody",children:[(0,s.jsx)(Q.default,{asset:{...e,body:{blocks:L?F.slice(0,5):F}},contentWallVisible:x,isHeroPinnedPost:E,relatedEntities:t.relatedEntitiesConnection?.edges}),L&&T&&(0,s.jsx)(eC,{$isCollapsing:P,asset:{...e,body:{blocks:F.slice(5)}},contentWallVisible:x,isHeroPinnedPost:E,relatedEntities:t.relatedEntitiesConnection?.edges}),(0,s.jsxs)(ew,{children:[p?.url&&(0,s.jsxs)(eI,{href:p.url,rel:"noopener noreferrer",target:"_blank",children:["Read article ",(0,s.jsx)(W.Z,{})]}),(0,s.jsx)(eS,{$isHeroPinnedPost:E,children:(0,s.jsx)(et.Z,{asset:e,description:u,includeUtmParams:!1,location:(0,C.Zr)(e.urls,m,h,v),position:"post",showText:!1})})]})]})]}),L&&(0,s.jsx)(eA,{children:(0,s.jsx)(ej,{"aria-controls":`post-body-${m}`,"aria-expanded":w,"data-testid":"show-more-button",onClick:()=>{if(w){S(!1),N(!0);return}(0,eo.ko)(),b.pushAnalyticsEvent({event:ei.Ks,eventAction:ei.Qq,eventAttribute:"",eventCategory:ei.XE,eventLabel:ei.vk,eventValue:ei.PW}),S(!0),N(!1)},type:"button",children:w?"Show less":"Show more"})})]})};function eF(){return(eF=Object.assign?Object.assign.bind():function(e){for(var t=1;te&&"padding: 35px;"),eD=(0,T.iv)(["animation:"," .5s cubic-bezier(.4,0,.2,1) 0s normal 1 none running;left:50%;position:fixed;top:","px;transform:translateX(-50%);z-index:",";"],eB,80,L.Z.zIndex.overlay),eM=T.ZP.button.withConfig({componentId:"sc-d1cfbee3-1"})(["background-color:",";border:none;border-radius:20px;color:",";cursor:pointer;font-family:",";font-size:12px;font-weight:bold;height:fit-content;outline:none;padding:6px 12px 5px;text-align:center;text-transform:uppercase;white-space:nowrap;width:fit-content;",""],({theme:e})=>e.colorLivePill,({theme:e})=>e.colorLivePillText,({theme:e})=>e.fontPrimary,({$floating:e})=>e&&eD),e$=T.ZP.svg.withConfig({componentId:"sc-d1cfbee3-2"})(["color:",";margin-right:2px;"],({theme:e})=>e.colorLivePillText),eH=({newPosts:e,onUpdate:t=()=>null})=>{let[n,i]=(0,Z.useState)(!1),{ref:o}=(0,eV.YD)({root:null,rootMargin:"240px 0px 0px 0px",onChange:(e,t)=>{let o=!e&&t.boundingClientRect.top<0;n!==o&&i(o)}}),r=e?.length;if(0===r)return null;let{firstPublished:a,published:l}=e[0].dates,d=new Date,c=new Date(a||l),m=(0,eR.X)(d,c),u=`${r} new update${r>1?"s":""}`,p=(0,eT.r)(c,d,m);return(0,s.jsxs)(e_,{$floating:n,children:[(0,s.jsx)("div",{"data-testid":"live-update-pill-sentinel",ref:o}),(0,s.jsxs)(eM,{$floating:n,"data-testid":"live-update-pill",onClick:t,children:[(0,s.jsx)(e$,{as:eL}),u," \xb7 ",p]})]})};var eO=n(91709),eq=n(2499),eU=n(28067),ez=n(69414);let eG=T.ZP.div.withConfig({componentId:"sc-58389a48-0"})(["position:relative;"]),eW=T.ZP.a.withConfig({componentId:"sc-58389a48-1"})(["position:absolute;top:-48px;@media ","{top:-64px;}"],L.Z.query.medium),eY=T.ZP.h3.withConfig({componentId:"sc-58389a48-2"})(["color:",";font-family:",";font-size:15px;font-weight:bold;letter-spacing:1px;line-height:20px;margin:16px 20px;text-transform:uppercase;@media ","{margin:24px;}"],e=>e.theme.colorLabelLiveArticle,e=>e.theme.fontPrimary,L.Z.query.medium),eX=T.ZP.div.withConfig({componentId:"sc-58389a48-3"})(["margin-bottom:40px;padding:0 20px;"]),eQ=T.ZP.div.withConfig({componentId:"sc-58389a48-4"})(["padding:0;@media ","{margin-left:0;margin-right:-","px;position:relative;div{max-width:calc(100vw - ","px);position:relative;z-index:",";}div[class*='adSize-300x250']{display:inline-block;width:calc(100% - ","px);}&::after{background:#fff;bottom:-40px;content:'';height:40px;left:0;position:absolute;right:0;}}"],L.Z.query.large,400,48,L.Z.zIndex.liveArticleBodyAd,400),eK=T.ZP.div.withConfig({componentId:"sc-58389a48-5"})(["border-bottom:1px solid ",";border-top:1px solid ",";"],e=>e.theme.colorLightAccent,e=>e.theme.colorLightAccent);var eJ=n(66385),e0=n(94633),e1=n(23539),e3=n(52115);let e2={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let n=e.name.value;return!t[n]&&(t[n]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetByPublicID"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"Cursor"}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"Cursor"}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AssetByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"postPublicId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"usePostsAtPostConnection"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetByPublicId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetLivePostsConnection"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetLivePostsConnection"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LiveArticleAsset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestPostsConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"usePostsAtPostConnection"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"node"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LiveArticlePostFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startCursor"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"startSequence"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastPostPublicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"latestPostsAtPostConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"publicPostId"},value:{kind:"Variable",name:{kind:"Name",value:"postPublicId"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"usePostsAtPostConnection"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LiveArticlePostFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startCursor"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"startSequence"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastPostPublicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}}].concat(e3.eX.definitions,e3.Os.definitions)),loc:{start:0,end:793,source:{body:"query AssetByPublicID($after:Cursor,$before:Cursor,$first:Int!,$input:AssetByPublicIDInput!,$postPublicId:String!,$usePostsAtPostConnection:Boolean!){assetByPublicId(input:$input){asset{...AssetLivePostsConnection}error{message}}}fragment AssetLivePostsConnection on LiveArticleAsset{latestPostsConnection(after:$after,before:$before,first:$first)@skip(if:$usePostsAtPostConnection){edges{cursor node{...LiveArticlePostFragment}}pageInfo{endCursor hasNextPage hasPreviousPage startCursor}startSequence total lastPostPublicId error{message}}latestPostsAtPostConnection(input:{publicPostId:$postPublicId})@include(if:$usePostsAtPostConnection){edges{node{...LiveArticlePostFragment}}pageInfo{endCursor hasNextPage hasPreviousPage startCursor}startSequence total lastPostPublicId error{message}}}"}}},e4=({adPosStart:e=2,contentWallVisible:t,asset:n})=>{let{pinnedPurposesPosts:i,publicId:o}=n,r=i?.pinnedPurposes,a=(0,C.we)(r,eU.i3.PinnedToTop),{PAGEBUILDER:{ENABLED:l}}=(0,g.Z)(),{connectionData:u,lastPostPublicId:p,pageNumber:h,totalPages:f,error:x,refetch:k}=((e,t=!1)=>{let[n]=(0,b.lr)(),[i,o]=(0,Z.useState)(!1),r=n.get("before")||null,a=n.get("after")||null,l=n.get("post")||null,{data:s,networkStatus:d,error:c,refetch:m}=(({after:e=null,before:t=null,draft:n,first:i,postPublicId:o,publicId:r})=>{let{data:a,error:l,networkStatus:s,previousData:d,refetch:c}=(0,e1.a)(e2,{fetchPolicy:"cache-and-network",variables:{after:e,before:t,first:i,input:{...n&&{draft:n},publicId:r},postPublicId:o||"",usePostsAtPostConnection:!!o}});return{data:a??d,error:l,networkStatus:s,refetch:c}})({after:a,before:r,draft:t,first:10,postPublicId:l,publicId:e});(0,Z.useEffect)(()=>{if(d!==eJ.I.ready||d===eJ.I.ready&&!i&&(o(!0),!l))return;let e=N;l&&(e=(0,e0.eC)(l));let t=document.getElementById(e);t?.scrollIntoView({behavior:"smooth"})},[d,l]);let{error:u}=s?.assetByPublicId||{},p={queryError:c,assetError:u};if(p.queryError||p.assetError)return{connectionData:void 0,lastPostPublicId:null,pageNumber:1,totalPages:1,error:p,refetch:m};let h=s?.assetByPublicId?.asset,g=h?.latestPostsConnection||h?.latestPostsAtPostConnection,{startSequence:v=1,total:f=1,lastPostPublicId:x=null}=g||{};return{connectionData:g,lastPostPublicId:x,pageNumber:Math.ceil(v/10),totalPages:Math.ceil(f/10),error:p,refetch:m}})(o,l),{newPosts:y,updatePosts:w}=((e,t,n=!1)=>{let i=(0,b.s0)(),[o,r]=(0,Z.useState)(null),[a,l]=(0,Z.useState)([]),[s,{data:d}]=((e,t=!1)=>{let[n,i]=(0,I.t)(A,{fetchPolicy:"no-cache"});return[()=>n({variables:{first:10,input:{...t&&{draft:t},publicId:e}}}),i]})(e,n);return(0,Z.useEffect)(()=>{let e=setTimeout(()=>{s()},6e4);return()=>{clearTimeout(e)}},[s]),(0,Z.useEffect)(()=>{let e=(e=>{let t=e?.assetByPublicId?.asset;return t&&t.latestPostsConnection?.edges?.map(e=>e.node)||[]})(d);if(!o)return void r(e[0]?.publicId||null);let t=[];for(let n of e){if(n.publicId===o)break;t.push(n)}l(t)},[d,o]),{newPosts:a,updatePosts:()=>{l([]),t(),i("?page=1"),r(null)}}})(o,k,l),{edges:S,pageInfo:j}=u||{},E=S?.map(e=>e.node)||[],F=a.slice(0,t?1:void 0),L=E.slice(0,t?1:void 0),{queryError:T,assetError:R}=x||{};if(T||R)return ez.Y.error("Live article posts load failure",d.log.EventType("asset","liveArticle"),d.log.Error(T||R),d.log.String("description",`Live article id: ${o}`)),(0,s.jsx)(eX,{children:"Sorry, there has been an error loading this content. Please try again later."});let V=E.find(e=>!a.some(t=>t.id===e.id))||null;return(0,s.jsxs)(eG,{children:[(0,s.jsx)(P,{asset:n,posts:E}),(0,s.jsx)(q,{disabled:t,oldestPostPublicId:p,pageInfo:j,pageNumber:h,renderedOnTop:!0,totalPages:f}),(0,s.jsx)(eH,{newPosts:y,onUpdate:w}),1===h&&!!F.length&&(0,s.jsxs)(s.Fragment,{children:[F.map(e=>(0,s.jsx)(eE,{afterAd:!1,asset:n,latestPostPublicId:V?.publicId||null,pinnedPosition:U.Top,post:e},`pinned-post-${e.id}`)),(0,s.jsx)(eY,{children:"Latest Posts"})]}),(0,s.jsx)(eW,{"aria-hidden":!0,id:N}),((e,t,n,i,o)=>{let r=new Set(t.map(e=>e.id)),a=n.length>0?n[0]:null,l=!!a&&r.has(a.id),d=1===o&&l?n.slice(1):n;return d.flatMap((t,n)=>{let o=r.has(t.id)?U.Timeline:null,a=(0,s.jsx)(eE,{afterAd:n>0&&n%3==0,asset:e,pinnedPosition:o,post:t},`post-${t.id}`),l=n===d.length-1;return(n+1)%3!=0||l?[a]:[a,((e,t)=>{let n=e+Math.floor(t/3);return(0,s.jsx)(eQ,{children:(0,s.jsx)(eK,{as:c.Z,largeUnit:m.U.leaderboardBillboardMrec(n),mediumUnit:m.U.leaderboard(n),smallUnit:m.U.mobbannerMrec(n)},`ad-${n}`)},`articleAd${t+1}`)})(i,n)]})})(n,a,L,e,h),(0,s.jsx)(q,{disabled:t,oldestPostPublicId:p,pageInfo:j,pageNumber:h,totalPages:f}),(0,s.jsx)(eq.Z,{assetType:n.type,pianoId:v.aP}),(0,s.jsx)(eq.Z,{assetType:n.type,pianoId:v.d4}),(0,s.jsxs)(Z.Fragment,{children:[(0,s.jsx)(eO.x,{assetType:n.type,pianoId:v.dV}),(0,s.jsx)(eO.x,{assetType:n.type,pianoId:v.Nt})]},"piano-reg")]})}},14923:function(e,t,n){n.d(t,{Z:()=>z});var i,o,r,a,l=n(52322),s=n(55229),d=n(43905),c=n(93673),m=n(41865),u=n(2784);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;te.theme.colorBrand,e=>e.theme.fontPrimary),A=N.ZP.ul.withConfig({componentId:"sc-1db8526b-1"})(["border-top:3px solid ",";li{&:not(:last-of-type){border-bottom:1px solid ",";}}"],e=>e.theme.colorDark,e=>e.theme.colorLightAccent),j=N.ZP.div.withConfig({componentId:"sc-1db8526b-2"})(["color:",";font-family:",";font-size:15px;line-height:20px;padding:10px 0;transition:background-color ",";width:100%;"],e=>e.theme.colorDark,e=>e.theme.fontPrimary,Z.xR),E=N.ZP.div.withConfig({componentId:"sc-1db8526b-3"})(["align-items:center;column-gap:12px;display:flex;"]),F=N.ZP.span.withConfig({componentId:"sc-1db8526b-4"})(["font-weight:bold;line-height:32px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),L=N.ZP.span.withConfig({componentId:"sc-1db8526b-5"})(["color:",";flex-shrink:0;font-size:11px;font-weight:bold;letter-spacing:1px;line-height:11px;text-transform:uppercase;"],e=>e.theme.colorMid),T=N.ZP.div.withConfig({componentId:"sc-1db8526b-6"})(["-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:3;overflow:hidden;text-align:start;"]),R=N.ZP.div.withConfig({componentId:"sc-1db8526b-7"})(["padding:12px 0;","{border:1px solid ",";border-radius:4px;color:",";font-size:13px;font-weight:bold;height:initial;letter-spacing:1.62px;padding:12px;text-transform:uppercase;transition:background-color ",";&:hover{background-color:",";","{text-decoration:none;}}}","{display:none;}"],Z.zx,e=>e.theme.colorCommentsLink,e=>e.theme.colorCommentsLink,Z.xR,e=>e.theme.colorLightFill,Z.NL,Z.XF),V=({comment:e})=>{let{node:{user:t,dates:n,body:i}}=e,o=new k.ZP(n.createdAt).fromNowStrict();return(0,l.jsxs)(j,{children:[(0,l.jsxs)(E,{children:[(0,l.jsx)(F,{children:t.name}),(0,l.jsx)(L,{children:o})]}),(0,l.jsx)(T,{dangerouslySetInnerHTML:{__html:(0,y.Nw)(i,S.Z)}})]})},B=({asset:e})=>{let t=(0,P.Un)((0,C.TH)().pathname),{PAGEBUILDER:{ENABLED:n}}=(0,f.Z)(),{data:i}=(0,x.a)(b,{skip:!e.commenting?.enabled,variables:{publicId:e.publicId}}),o=(0,u.useCallback)(()=>{(0,w.Z)(!0)},[]),{commenting:r}=i?.commentsByPublicId||{},a=r?.latestCommentsConnection?.count||0;if(!(0,g.Q)(e,n,t,r))return null;let s=r?.latestCommentsConnection?.edges||[];return(0,l.jsxs)("section",{children:[(0,l.jsxs)(I,{onClick:o,children:[(0,l.jsx)(h,{})," ",a," Comments"]}),(0,l.jsx)(A,{children:s.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(V,{comment:e})},e?.node?.id))}),(0,l.jsx)(R,{as:v.Z,asset:e})]})};var _=n(98051),D=n(91709),M=n(2596),$=n(79644);let H=N.ZP.div.withConfig({componentId:"sc-8e35a80f-0"})(["border-top:3px solid ",";margin-bottom:24px;"],e=>e.theme.colorDark),O=N.ZP.section.withConfig({componentId:"sc-8e35a80f-1"})(["background-color:white;padding:12px 0;position:sticky;top:","px;z-index:",";"],64,$.Z.zIndex.overlay),q=N.ZP.div.withConfig({componentId:"sc-8e35a80f-2"})(["display:",";flex-direction:column;max-height:calc(100vh - ","px);"],e=>e.$open?"flex":"none",64),U=N.ZP.div.withConfig({componentId:"sc-8e35a80f-3"})(["overflow-y:scroll;"]),z=({asset:e})=>{let t=(0,m.Z)(),n=(0,c.Z)("large"),i=(0,w.k)();return n?t[M.PERM_FEATURE_FLAG_COMMENTS_DISABLED]?(0,l.jsx)(d.Z,{}):(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)(H,{}),(0,l.jsxs)(O,{children:[(0,l.jsxs)(q,{$open:i,children:[(0,l.jsx)(U,{children:i&&(0,l.jsx)(s.Z,{asset:e})}),(0,l.jsx)(D.x,{assetType:e?.type,pianoId:_.ru})]}),!i&&(0,l.jsx)(B,{asset:e})]})]}):null}},16120:function(e,t,n){n.d(t,{Z:()=>S});var i=n(52322),o=n(48504),r=n(83096),a=n(55229),l=n(43905),s=n(93673),d=n(41865),c=n(98051),m=n(91709),u=n(2596),p=n(2784),h=n(57737),g=n(79644),v=n(78943);let f=v.ZP.div.withConfig({componentId:"sc-ff8e2eb9-0"})(["display:",";"],e=>e.$visible?"block":"none"),x=v.ZP.div.withConfig({componentId:"sc-ff8e2eb9-1"})(["background:rgb(0 0 0 / 50%);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:",";"],g.Z.zIndex.modal),b=v.ZP.div.withConfig({componentId:"sc-ff8e2eb9-2"})(["background-color:",";display:flex;flex-direction:column;height:100vh;overflow:hidden;position:fixed;right:0;top:0;width:100vw;z-index:",";@media ","{width:","px;}"],g.Z.white,g.Z.zIndex.modal,g.Z.query.medium,400),k=v.ZP.div.withConfig({componentId:"sc-ff8e2eb9-3"})(["align-items:center;background:",";display:flex;padding:17px;"],({theme:e})=>e.colorBrand),y=v.ZP.button.withConfig({componentId:"sc-ff8e2eb9-4"})(["background:none;border:none;cursor:pointer;svg{color:",";width:16px;}"],g.Z.white),C=v.ZP.span.withConfig({componentId:"sc-ff8e2eb9-5"})(["border:0;clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;"]),w=v.ZP.div.withConfig({componentId:"sc-ff8e2eb9-6"})(["flex:1;min-height:0;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior:contain;padding:10px 20px;transform:translate3d(0,0,0);"]),S=({asset:e})=>{let t=(0,s.Z)("large"),n=(0,d.Z)(),g=(0,h.k)(),v=(0,p.useRef)(null);return((0,p.useEffect)(()=>(g&&!t&&(0,r.Qp)(document.body,{reserveScrollBarGap:!0,allowTouchMove:e=>v.current?.contains(e)||!1}),()=>(0,r.tP)()),[g,t]),t)?null:(0,i.jsxs)(f,{$visible:g&&!t,children:[(0,i.jsx)(x,{onClick:()=>(0,h.Z)(!1)}),(0,i.jsxs)(b,{"data-testid":"live-article-comments-modal",ref:v,children:[(0,i.jsx)(k,{children:(0,i.jsxs)(y,{onClick:()=>(0,h.Z)(!1),children:[(0,i.jsx)(C,{"aria-hidden":"true",children:"Close comments panel"}),(0,i.jsx)(o.Z,{})]})}),(0,i.jsx)(w,{children:n[u.PERM_FEATURE_FLAG_COMMENTS_DISABLED]?(0,i.jsx)(l.Z,{}):(0,i.jsx)(a.Z,{asset:e})}),(0,i.jsx)(m.x,{assetType:e?.type,pianoId:c.ru})]})]})}},4816:function(e,t,n){n.d(t,{Z:()=>N});var i=n(52322),o=n(32458),r=n(95351),a=n(46138),l=n(36021),s=n(98051),d=n(91709),c=n(57817),m=n(45965),u=n(29754),p=n(53896),h=n(79916),g=n(53406),v=n(21746),f=n(79644),x=n(78943);let b=x.ZP.header.withConfig({componentId:"sc-c2b06b17-0"})(["background:",";border-bottom:0;display:flow-root;margin:0;padding:0 0 32px;position:relative;","{margin-bottom:40px;@media ","{margin:20px 0 80px;}}@media ","{background:none;}@media ","{padding-bottom:40px;}"],e=>e.theme.colorLiveArticleBannerBackground,v.Yw,f.Z.query.medium,f.Z.query.printOnly,f.Z.query.medium),k=x.ZP.div.withConfig({componentId:"sc-c2b06b17-1"})(["background:",";bottom:0;content:'';left:0;margin:0 calc(50% - 50vw);position:absolute;top:0;width:100vw;z-index:-1;@media ","{content:none;}"],e=>e.theme.colorLiveArticleBannerBackground,f.Z.query.printOnly),y=x.ZP.h1.withConfig({componentId:"sc-c2b06b17-2"})(["color:",";font-family:",";font-size:28px;font-weight:normal;line-height:32px;@media ","{font-size:48px;line-height:56px;}"],f.Z.white,e=>e.theme.fontTertiary,f.Z.query.medium),C=x.ZP.p.withConfig({componentId:"sc-c2b06b17-3"})(["color:",";font-family:",";font-size:17px;line-height:24px;margin-top:8px;@media ","{font-size:22px;line-height:32px;margin-top:24px;}"],f.Z.white,e=>e.theme.fontSecondary,f.Z.query.medium),w=x.ZP.div.withConfig({componentId:"sc-c2b06b17-4"})(["color:",";font-size:13px;line-height:20px;margin:0 -20px;","{border-bottom:1px solid ",";border-top:1px solid ",";padding-bottom:8px;padding-top:8px;}","{margin-top:4px;padding:12px 14px;@media ","{display:none;}}","{margin:0 0 0 4px;}@media ","{display:flex;flex-direction:column;font-size:15px;justify-content:space-between;line-height:24px;margin:16px 0 0;","{padding-top:12px;}","{margin-top:0;padding:0;}","{margin:0;}}@media ","{align-items:center;border-bottom:1px solid ",";flex-direction:row;padding-bottom:24px;","{border-bottom:none;border-top:none;padding-top:0;}}"],e=>e.theme.colorDark,g.YQ,e=>e.theme.colorLightAccent,e=>e.theme.colorLightAccent,g.W8,f.Z.query.large,g.IN,f.Z.query.medium,g.YQ,g.W8,g.IN,f.Z.query.large,e=>e.theme.colorLightAccent,g.YQ),S=x.ZP.div.withConfig({componentId:"sc-c2b06b17-5"})(["color:",";font-size:13px;line-height:20px;padding:16px 20px;@media ","{display:block;font-size:15px;line-height:24px;padding-left:0;padding-top:0;}@media ","{padding-bottom:0;}"],e=>e.theme.colorDark,f.Z.query.medium,f.Z.query.large),P=x.ZP.address.withConfig({componentId:"sc-c2b06b17-6"})(["font-size:13px;font-style:normal;line-height:20px;a{font-size:13px;line-height:20px;}@media ","{font-size:15px;line-height:24px;a{font-size:15px;line-height:24px;}}"],f.Z.query.medium),Z=x.ZP.div.withConfig({componentId:"sc-c2b06b17-7"})(["color:",";margin:48px 0;text-align:left;a{color:",";text-decoration:none;}a:hover,a:focus{text-decoration:underline;}img{margin-left:8px;max-height:44px;width:auto;}"],e=>e.theme.colorGrey,e=>e.theme.colorGrey),N=({asset:e})=>{let{ads:t,byline:n,dates:{firstPublished:g,published:v},headlines:f,overview:x}=e,{intro:N}=x||{},I=(0,h.Un)((0,p.TH)().pathname),A=e.latestPostsConnection?.edges?.[0]?.node,j=A?A.dates?.published:v;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(b,{children:[(0,i.jsx)(c.Z,{asset:e,light:!0,thick:!0,variant:"block"}),(0,i.jsx)(k,{}),(0,i.jsx)(l.Z,{asset:e,lightLabel:!0,showLabel:!1}),(0,i.jsx)(r.Z,{asset:e}),(0,i.jsx)(y,{"data-testid":"headline",children:f.headline}),N&&(0,i.jsx)(C,{"data-testid":"live-article-intro",children:N})]}),(0,i.jsxs)(w,{children:[(0,i.jsxs)(S,{children:[(0,i.jsx)(P,{"data-testid":"live-article-author-name",children:(0,a.L)(n,I)}),(0,i.jsx)(u.Z,{"data-testid":"live-article-datetime",firstPublishedTimestamp:g,showTime:!0,timestamp:j},"timestamp")]}),(0,i.jsx)(o.Z,{asset:e})]}),t?.sponsor&&(0,i.jsx)(Z,{"data-testid":"live-article-sponsor",children:(0,i.jsx)(m.Z,{sponsor:t.sponsor})}),(0,i.jsx)(d.x,{assetType:e.type,pianoId:s.M0})]})}},79738:function(e,t,n){n.d(t,{Z:()=>f});var i=n(52322),o=n(38936),r=n(56111),a=n(41865),l=n(27302),s=n(56038),d=n(81924),c=n(2596),m=n(84641),u=n(2784),p=n(79644),h=n(78943);let g=h.ZP.div.withConfig({componentId:"sc-4c993e28-0"})(["clear:both;margin-top:40px;@media ","{margin-top:48px;}"],p.Z.query.medium),v=(0,h.vJ)(['.ob-cmn-AR_3.ob-cmn-AR_3.ob-grid-layout .ob-rec-text,.ob-cmn-CRMB_3.ob-cmn-CRMB_3.ob-grid-layout .ob-rec-text{font-family:"Abril Titling","Book Antiqua",Palatino,Georgia,serif;font-weight:bold;}@media ',"{.ob-widget.ob-widget{grid-template-columns:unset;}.ob-widget.ob-widget .ob-widget-header .ob_what.ob_what_resp{position:absolute;}}"],p.Z.query.medium),f=({asset:{type:e},hideMastheadRecommends:t=!1})=>{let{DEPLOY_ENV:n,brand:p}=(0,r.Z)(),h=(0,a.Z)(),f=(0,l.Z)(),x="undefined"!=typeof window?`${window.location.origin}${window.location.pathname}`:"";"production"!==n&&(x=`https://www.${p.shortSiteName}.com.au`);let b={className:f?"":"OUTBRAIN","data-external-id":"undefined"!=typeof window&&window?.dataLayerHybrid?.page?.viewID||"","data-src":x,"data-testid":"outbrain-bottom"};return(0,u.useEffect)(()=>{"function"!=typeof window?.OBR?.extern?.reloadWidget||f||window.OBR.extern.reloadWidget()},[f]),(0,u.useEffect)(()=>{h[c.PERM_FEATURE_FLAG_OUTBRAIN_TRACKING]&&((0,d.CN)(s.zX),window.OBREvents=window.OBREvents||[],window.OBREvents.push({event:"widgetRendered",func(e){(0,d.CN)(s.d7,String(e?.recsNumber))},widgetId:["AR_1","AR_5"]}))},[h]),(0,u.useEffect)(()=>{if(h[c.PERM_FEATURE_FLAG_OUTBRAIN]&&!document.querySelector('script[src="https://widgets.outbrain.com/outbrain.js"]')){let e=document.createElement("script");e.async=!0,e.src="https://widgets.outbrain.com/outbrain.js",document.body.appendChild(e)}},[h]),h[c.PERM_FEATURE_FLAG_OUTBRAIN]?(0,i.jsxs)(o.ZP,{children:[(0,i.jsx)(v,{}),(0,i.jsxs)(g,{className:"noPrint","data-testid":"outbrain",children:[!t&&(0,i.jsx)("div",{className:f?"":"OUTBRAIN","data-src":x,"data-testid":"outbrain-top","data-widget-id":"AR_3"}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{...b,"data-widget-id":e===m.h3.LiveArticle?"AR_5":"AR_1"})})]},x),(0,i.jsx)("script",{async:!0,src:"https://widgets.outbrain.com/outbrain.js"})]}):null}},43798:function(e,t,n){n.d(t,{Z:()=>p});var i,o,r,a,l,s=n(52322),d=n(2784);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,s.jsx)(u.W2,{children:(0,s.jsxs)(u.zx,{$showText:e,onClick:()=>{window.print()},children:[(0,s.jsx)(m,{}),(0,s.jsx)(u.oD,{$showText:e,children:"Print"})]})})},49777:function(e,t,n){n.d(t,{W:()=>o,f:()=>r});var i=n(78943);let o=i.ZP.div.withConfig({componentId:"sc-59936884-0"})(["text-align:left;&::before{border-top:",";content:'';display:block;margin-top:-","px;padding-bottom:24px;width:100%;"," ","}"],({theme:e})=>`3px solid ${e.colorDomain}`,3,({$thick:e})=>e&&(0,i.iv)(["border-width:","px;margin-top:-","px;"],6,6),({$block:e})=>e&&(0,i.iv)(["margin-left:calc(-1 * (100vw - 100%) / 2);margin-top:0;width:100vw;"])),r=i.ZP.svg.withConfig({componentId:"sc-59936884-1"})(["color:",";"],({theme:e,$light:t})=>t?e.colorLight:e.colorDomain)},57817:function(e,t,n){n.d(t,{Z:()=>s});var i=n(52322),o=n(19565),r=n(83628),a=n(49777);let l=(0,o.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-domain-svg-react",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("8711").then(n.bind(n,58189)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>58189}),s=({asset:e,light:t=!1,thick:n=!1,variant:o="standard"})=>(0,r.gg)(e)?(0,i.jsx)(a.W,{$block:"block"===o,$thick:n,"data-testid":"property-header-banner",children:(0,i.jsx)(a.f,{$light:t,as:l})}):null},2499:function(e,t,n){n.d(t,{Z:()=>Y});var i=n(52322),o=n(38936),r=n(56613),a=n(33460),l=n(91709),s=n(1797),d=n(36130),c=n(21509),m=n(17845),u=n(48504),p=n(69414);let h={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"CreateMemberMutation"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"createMemberInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateMemberInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createMember"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"createMemberInput"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestID"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:119,source:{body:"mutation CreateMemberMutation($createMemberInput:CreateMemberInput!){createMember(input:$createMemberInput){requestID}}"}}};var g=n(96314),v=n(2294),f=n(62186),x=n(56038),b=n(81924),k=n(93910),y=n(25445),C=n(31106),w=n(2784),S=n(53896),P=n(29835),Z=n(79644),N=n(78943);let I=N.ZP.div.withConfig({componentId:"sc-f8dd5106-0"})(["background-color:",";inset:0;padding:48px 20px;position:fixed;@media ","{border-radius:8px;padding:64px 60px;position:relative;width:480px;}"],e=>e.theme.colorLightFill,Z.Z.query.medium),A=N.ZP.h2.withConfig({componentId:"sc-f8dd5106-1"})(["font-family:",";font-size:28px;margin-bottom:24px;text-align:center;"],e=>e.theme.fontTertiary),j=N.ZP.button.withConfig({componentId:"sc-f8dd5106-2"})(["background-color:transparent;border:0;color:",";cursor:pointer;font-size:24px;padding:20px 20px 16px 16px;position:absolute;right:0;top:0;@media ","{padding:28px 28px 16px 16px;}span{","}"],e=>e.theme.colorBrand,Z.Z.query.medium,Z.Z.visuallyHidden),E=N.ZP.div.withConfig({componentId:"sc-f8dd5106-3"})(["background-color:",";border:1px solid ",";border-radius:4px;font-weight:bold;height:40px;padding:12px;width:100%;"],e=>e.theme.colorLightAccent,e=>e.theme.colorMidAccent),F=N.ZP.label.withConfig({componentId:"sc-f8dd5106-4"})(["color:",";display:block;font-size:15px;margin-bottom:5px;margin-top:10px;"],e=>e.theme.colorDark),L=N.ZP.p.withConfig({componentId:"sc-f8dd5106-5"})(["color:",";font-size:15px;margin-top:6px;"],e=>e.theme.colorDark),T=N.ZP.p.withConfig({componentId:"sc-f8dd5106-6"})(["color:",";font-size:13px;margin-top:4px;&:empty{display:none;}"],e=>e.theme.colorHighlight),R=N.ZP.input.withConfig({componentId:"sc-f8dd5106-7"})(["border:1px solid ",";border-radius:4px;font-size:16px;height:40px;padding:12px;width:100%;"],e=>e.theme.colorMidAccent),V=N.ZP.button.withConfig({componentId:"sc-f8dd5106-8"})(["background:",";border:0;border-radius:4px;color:",";cursor:pointer;font-size:13px;font-weight:bold;height:40px;letter-spacing:1px;margin-top:8px;padding:12px 0;position:relative;text-align:center;text-transform:uppercase;transition:background-color 150ms ease-in-out;width:100%;&:active{background:",";}&:disabled{cursor:default;}&:hover:not([disabled]){background:",";}"],e=>e.theme.colorAction,e=>e.theme.colorBrandActionOffset,e=>e.theme.colorActionDarkest,e=>e.theme.colorBrandActionHighlight),B=N.ZP.p.withConfig({componentId:"sc-f8dd5106-9"})(["border-top:0;font-size:16px;font-weight:bold;padding-top:24px;text-align:center;@media ","{padding-top:40px;}a{color:",";text-decoration:",";white-space:nowrap;&:hover{color:",";text-decoration:underline;}}"],Z.Z.query.medium,e=>e.theme.colorLinkActive,e=>e.theme.decorationLink,e=>e.theme.colorLinkActive),_=N.ZP.p.withConfig({componentId:"sc-f8dd5106-10"})(["border-left:3px solid ",";color:",";font-size:13px;margin-bottom:16px;padding-left:16px;&:empty{display:none;}"],e=>e.theme.colorHighlight,e=>e.theme.colorHighlight);var D=n(37149),M=n.n(D);let $=({children:e,closeModal:t,showModal:n})=>(0,i.jsx)(M(),{bodyOpenClassName:"modalBodyOpen",className:"modalContent",isOpen:n,onRequestClose:t,overlayClassName:"modalOverlayBlurred",shouldCloseOnOverlayClick:!0,children:e});var H=n(10399);let{MEMBER_AUTH_API:{TIMEOUT:O,URL:q},brand:{shortSiteName:U}}=C.Z,z="An error has occurred. Please try again in a few minutes",G=({assetType:e,closeModal:t,login:n,loginError:o})=>{let[r,a]=(0,w.useState)(""),[l,C]=(0,w.useState)(""),[Z,N]=(0,w.useState)(""),[D,M]=(0,w.useState)(!1),$=(0,S.TH)(),G=`${"undefined"==typeof window?"":window.location.origin}${$.pathname}${$.search}`,{mutate:W}=(0,c.x)(),Y=(0,d.Y)(),{options:X}=(0,s.ip)(),Q="undefined"==typeof window?"":window.location.href,K="undefined"==typeof window?"":`${window.location.origin}${P.R}`,J=async e=>{e.preventDefault(),(0,b.T7)(x.q7,x.$w),N("");let t=""===r.trim()?H.Z.form.validation.password:r.length<12?H.Z.form.validation.passwordShort:"";if(C(t),t)return;let i={email:Y,password:r,redirectURL:Q,siteKey:k.B[U],verifyURL:K};M(!0),await W({context:{clientName:"api-front"},mutation:h,variables:{createMemberInput:i}}).then(({data:e})=>{let t=e?.createMember;return t?.error?(p.Y.error("Error returned from create member mutation",m.log.EventType("CreateMember","createMemberMutation"),m.log.Error(t.error)),""):t?.requestID?t.requestID:""}).catch(e=>(p.Y.error("Error in create member mutation",m.log.EventType("CreateMember","createMemberMutation"),m.log.Error(e)),"")).then(async e=>{if(!e)return void N(z);let{error:t,status:i}=await (0,f.al)(e);t?(M(!1),p.Y.error("Error from from account creation progess",m.log.EventType("Registration","CreateAccount")),N(z)):"SUCCESS"===i&&n({authUrl:q,brand:U,code:o?.code,loginID:Y,password:r,redirectUrl:`${window.location.href}?verify=false`,timeoutMs:O})}).catch(e=>{M(!1),p.Y.error("Error in handling create account",m.log.EventType("Registration","CreateAccount"),m.log.Error(e)),N(z)})};return(0,w.useEffect)(()=>{(0,b.T7)(x.F7,x.$w)},[]),(0,i.jsxs)(I,{"data-testid":"registration-create",children:[(0,i.jsx)(j,{"aria-label":"Close",onClick:()=>{t(),(0,d.v)("")},children:(0,i.jsx)(u.Z,{name:"close-large"})}),(0,i.jsx)(A,{children:X.signupCopy||((0,y.q)(e)?"Set up your account to keep reading":"Set up your account")}),(0,i.jsx)(_,{role:"alert",children:Z}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("form",{method:"POST",name:"createAccount",onSubmit:e=>J(e),children:[(0,i.jsx)(E,{"data-testid":"registration-create-email",children:Y}),(0,i.jsx)(F,{htmlFor:"registration-password",children:"Create a password"}),(0,i.jsx)(R,{id:"registration-password",name:"registrationPassword",onChange:e=>{a(e.target.value)},required:!0,type:"password",value:r}),(0,i.jsx)(T,{role:"alert",children:l}),(0,i.jsx)(V,{disabled:D,children:D?(0,i.jsx)(g.Z,{inverse:!0}):"Create Account"}),(0,i.jsx)(L,{children:"We'll send you an email to verify your account."})]}),(0,i.jsx)(v.Z,{login:n,loginFields:{authUrl:q,brand:U,loginID:Y,password:r,redirectUrl:G,timeoutMs:O},onClick:e=>{switch(e){case"apple":(0,b.T7)(x.P2,x.$w);break;case"google":(0,b.T7)(x.G0,x.$w)}}})]}),(0,i.jsxs)(B,{children:["For unlimited access to trusted journalism,"," ",(0,i.jsx)("a",{href:(e=>{let t="undefined"==typeof window?"":encodeURIComponent(window.location.href);return"smh"===e||"theage"===e?`https://subscribe.${e}.com.au/intro-offer?promote_channel=HI_RL_GNL&utm_source=RegistrationLink&utm_medium=HouseInventory&utm_campaign=General&new_callback_uri=${t}&callback_uri=${t}`:`https://subscribe.${e}.com.au/?promote_channel=HI_RL_GNL&utm_source=RegistrationLink&utm_medium=HouseInventory&utm_campaign=General&new_callback_uri=${t}&callback_uri=${t}`})(U),onClick:()=>{(0,b.T7)(x.xx,x.$w)},children:"subscribe today"}),"."]})]})},W=({closeModal:e,showModal:t,...n})=>(0,i.jsx)($,{closeModal:e,showModal:t,children:(0,i.jsx)(G,{closeModal:e,...n})}),Y=({assetSubType:e,assetType:t,pianoId:n})=>{let c=(0,s.ip)(),m=()=>{(0,s.lF)(s.CV.NONE),(0,d.v)("")};return(0,i.jsxs)(o.ZP,{children:[(0,i.jsx)(l.x,{assetSubType:e,assetType:t,pianoId:n}),c.value===s.CV.CREATE&&(0,i.jsx)(W,{assetType:t,closeModal:m,login:a.x4,showModal:!0}),c.value===s.CV.REG_WALL_LOGIN&&(0,i.jsx)(r.Z,{isEmailVerifiedLogin:!0,isOpen:!0,onClose:m})]})}},40995:function(e,t,n){n.d(t,{CK:()=>m,NB:()=>l,QH:()=>u,__:()=>c,aA:()=>p,rU:()=>d,yD:()=>s});var i=n(90099),o=n(81840),r=n(79644),a=n(78943);let l=a.ZP.ul.withConfig({componentId:"sc-2dd9e794-0"})(["background-color:#fff;border-radius:4px;box-shadow:0 0 12px rgb(0 0 0 / 25%);display:block;left:0;overflow:hidden;padding:8px 0;position:absolute;top:40px;width:113px;z-index:",";"],o.zIndex.primaryNavigation),s=a.ZP.li.withConfig({componentId:"sc-2dd9e794-1"})(["svg{margin-right:8px;}button{border:none;cursor:pointer;margin:0 auto;outline:none;padding:0;}> a,> button{padding:8px 0 8px 12px;width:100%;}&:hover,&:focus-within{background-color:",";}"],e=>e.theme.colorLightAccent),d=a.ZP.a.withConfig({componentId:"sc-2dd9e794-2"})(["align-items:center;color:",";cursor:pointer;display:flex;font-family:",";font-size:13px;justify-content:flex-start;text-decoration:none;&:focus{outline:none;}"],e=>e.theme.colorDark,e=>e.theme.fontPrimary),c=a.ZP.span.withConfig({componentId:"sc-2dd9e794-3"})(["height:16px;line-height:16px;position:relative;"]),m=a.ZP.span.withConfig({componentId:"sc-2dd9e794-4"})(["left:0;opacity:1;position:relative;top:0;transition:all 0.25s ease-out;visibility:visible;width:100%;&.hide{"," opacity:0;top:-50%;visibility:hidden;width:100%;}"],r.Z.visuallyHidden),u=a.ZP.span.withConfig({componentId:"sc-2dd9e794-5"})(["bottom:-50%;left:0;"," opacity:0;transition:all 0.15s ease-out;visibility:hidden;width:100%;&.show{bottom:0;opacity:1;position:relative;visibility:visible;width:100%;}"],r.Z.visuallyHidden),p=(0,a.ZP)(i.Z).withConfig({componentId:"sc-2dd9e794-6"})(["fill:",";stroke:",";"],e=>e.$inverse?"none":e.theme.colorDark,e=>e.$inverse?e.theme.colorLight:e.theme.colorDark)},55742:function(e,t,n){n.d(t,{Z:()=>Z});var i,o,r,a=n(52322),l=n(2784);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t({"data-ffx-event-action":`${e} share`,"data-ffx-event-attribute":`article ${t}`,"data-ffx-event-category":"share content","data-ffx-event-label":"share article","data-ffx-event-value":"0","data-ffx-hittype":"event"}),Z=({position:e,className:t,description:n="undefined"!=typeof document&&document.title||"",includeUtmParams:i=!0,location:o="undefined"!=typeof window&&window.location.href||"",showText:r=!0,asset:s,inverse:h=!1})=>{let{brand:Z}=(0,f.Z)(),N=(0,b.ZP)(),I=(0,C.aF)(),{article_category:A,article_sub_category:j,primary_tag:E}=N.mappers.assetInfo(s),F=i?(0,w.rH)(o,new URLSearchParams({utm_source:`${Z.shortSiteName}-web`,utm_medium:"share_article",utm_campaign:A,utm_content:(0,k.d6)(I)||"",utm_term:"product_feature"})):o,L=[{attributes:P("Facebook",e),icon:(0,a.jsx)(m.Z,{}),name:"Facebook",url:`https://www.facebook.com/dialog/share?app_id=${Z.social.facebook.appID}&href=${encodeURIComponent(o)}`},{attributes:P("Twitter",e),icon:(0,a.jsx)(p.Z,{}),name:"Twitter",url:`https://twitter.com/share?url=${encodeURIComponent(o)}&text=${encodeURIComponent(n)}`},{attributes:P("WhatsApp",e),icon:(0,a.jsx)(g,{}),name:"WhatsApp",url:`whatsapp://send?text=${encodeURIComponent(o)}`},{attributes:P("Email",e),icon:(0,a.jsx)(c.Z,{}),name:"Email",url:`mailto:?subject=${encodeURIComponent(n)}&body=${encodeURIComponent(o)}`},{attributes:P("Copy link",e),icon:(0,a.jsx)(d,{}),name:"Copy link",url:void 0}],[T,R]=(0,l.useState)(!1),[V,B]=(0,l.useState)("Copy link"),_=(0,l.useRef)(null),D={...P("cta",e),"data-ffx-event-action":`cta ${T?"close":"click"}`};(0,x.Z)(_,()=>R(!1));let M=(0,v.Z)("smallMax");return(0,a.jsxs)(y.W2,{className:t,onClick:e=>{let t=e.target.closest('a[aria-label="Facebook"]')||e.target.closest('a[aria-label="Twitter"]');if(t){e.preventDefault(),window.open(t.getAttribute("href"),"",`toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=600`);return}if(e.target.closest('button[aria-label="Copy link"]')){e.preventDefault(),B("Copied"),navigator.clipboard.writeText(F),setTimeout(()=>{B("Copy link")},2e3);return}T&&R(!1)},ref:_,children:[(0,a.jsxs)(y.zx,{"aria-controls":"shareMenu","aria-expanded":T,"aria-label":"Share this content",...D,$inverse:h,$showText:r,onClick:()=>R(e=>!e),role:"listbox",type:"button",children:[(0,a.jsx)(S.aA,{$inverse:h,as:u.Z}),(0,a.jsx)(y.oD,{$showText:r,children:"Share"})]}),T&&(0,a.jsx)(S.NB,{"data-testid":"social-share-container",children:L.filter(({name:e})=>!!M||"WhatsApp"!==e).map(e=>(0,a.jsx)(S.yD,{children:(0,a.jsxs)(S.rU,{"aria-label":e.name,as:e.url?"a":"button",...e.attributes,href:e.url,onClick:()=>N.pushAnalyticsEvent({event:N.EVENTS.SHARE_ARTICLE,article_category:A,article_sub_category:j,primary_tag:E,share_type:e.name}),children:[e.icon,e.url?(0,a.jsx)(S.__,{children:e.name}):(0,a.jsxs)(S.__,{children:[(0,a.jsx)(S.QH,{className:`${"Copied"===V?"show":""}`,children:"Copied"}),(0,a.jsx)(S.CK,{className:`${"Copied"===V?"hide":""}`,children:"Copy link"})]})]})},e.name))})]})}},80164:function(e,t,n){n.d(t,{T:()=>r,V:()=>o});var i=n(78943);let o=i.ZP.div.withConfig({componentId:"sc-1f8bef37-0"})(["font-size:15px;"]),r=i.ZP.img.withConfig({componentId:"sc-1f8bef37-1"})(["aspect-ratio:16/9;height:74px;margin-left:16px;vertical-align:middle;"])},45965:function(e,t,n){n.d(t,{Z:()=>s});var i=n(52322),o=n(56111),r=n(40677),a=n(80164);let l={advertorial:"Advertorial for",broughttoyouby:"Brought to you by",default:"Sponsored content",partner:"In partnership with",presented:"Presented by",sponsor:"Sponsored by"},s=({className:e,height:t=74,leadText:n="",sponsor:{logos:s,name:d,type:c,url:m}})=>{let{imageRenditionUrlPrefix:u}=(0,o.Z)();return(0,i.jsxs)(a.V,{className:e,children:[n||l[c]||l.default," ",((e,t,n,o,l)=>{let s=((e,t,n,o)=>{if(!o?.landscape16x9)return e;let l=Math.round(n*r.ri.wide),s=e=>(0,r.iu)({aspectRatio:r.ri.wide,image:o.landscape16x9,imageRenditionUrlPrefix:t,width:e}),d=s(l),c=`${d}, ${s(2*l)} 2x`;return(0,i.jsx)(a.T,{alt:e,height:n,src:d,srcSet:c,width:l})})(e,t,n,o);return l?(0,i.jsx)("a",{href:l,rel:"noopener noreferrer",target:"_blank",children:s}):s})(d,u,t,s,m)]})}},18036:function(e,t,n){n.d(t,{Z:()=>w});var i=n(52322),o=n(17845),r=n(50041),a=n(2784),l=n(52115);let s={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let n=e.name.value;return!t[n]&&(t[n]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetsByRecirculationCriteria"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"mostViewed"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AssetsByRecirculationCriteriaMostViewedInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetsByRecirculationCriteria"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"mostViewed"},value:{kind:"Variable",name:{kind:"Name",value:"mostViewed"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"headlines"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"headline"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetImagesFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urls"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetUrlsFragment"},directives:[]}]}}]}}]}}]}}].concat(l.Os.definitions,l.WV.definitions)),loc:{start:0,end:278,source:{body:"query AssetsByRecirculationCriteria($mostViewed:AssetsByRecirculationCriteriaMostViewedInput!){assetsByRecirculationCriteria(input:{mostViewed:$mostViewed}){assets{extensions id publicId subType type headlines{headline}images{...AssetImagesFragment}urls{...AssetUrlsFragment}}}}"}}};var d=n(56111),c=n(64870),m=n(73302),u=n(3488),p=n(63855),h=n(84641),g=n(69414),v=n(70992),f=n(57046),x=n(79644),b=n(78943);let k=b.ZP.section.withConfig({componentId:"sc-d7c9996a-0"})(["margin:24px 0;@media ","{margin:0;}"],x.Z.query.large),y=b.ZP.div.withConfig({componentId:"sc-d7c9996a-1"})(["display:flex;flex-direction:column;gap:16px;@media ","{column-gap:24px;display:grid;grid-auto-rows:min-content;grid-template-columns:repeat(2,1fr);width:100%;}"],x.Z.query.medium),C=b.ZP.div.withConfig({componentId:"sc-d7c9996a-2"})(["display:flex;gap:24px;padding-left:10px;&:nth-child(-n + 3){grid-row:",";}&::before{color:",";content:",";font-family:",";font-size:28px;line-height:32px;min-width:1ch;}","{width:100%;}@media ","{gap:32px;}@media ","{padding-left:14px;&::before{font-size:48px;line-height:56px;}","{line-height:20px;}}"],e=>e.$position,e=>e.theme.colorDarkAccent,e=>`"${e.$position}"`,e=>e.theme.fontTertiary,f.StoryTile,x.Z.query.mediumOnly,x.Z.query.large,f.Headline),w=({asset:{category:e},contentUnitPos:t,overridingDisplayOptions:n})=>{let{brand:{shortSiteName:l}}=(0,d.Z)(),f=(0,p.B5)(e),x=(0,p.a$)(e),b=f||x,w=e?.parent?.name||e?.name,[S,{data:P,error:Z}]=((e,t,n)=>{let[i,o]=(0,r.t)(s);return[(0,a.useCallback)(()=>i({variables:{mostViewed:{brandKey:e,filter:{categoryName:n},limit:t}}}),[i,e,t,n]),o]})(l,6,w),{ref:N}=(0,v.YD)({rootMargin:"0px 0px 500px 0px",triggerOnce:!0,skip:b,onChange:e=>{e&&S()}});if(b)return null;if(Z)return g.Y.error(`MostViewedStorySet failed to load most viewed stories for site ${l}${w?` in section ${w}`:""}`,o.log.Error(Z)),null;if(!P)return(0,i.jsx)("div",{ref:N});let I=P?.assetsByRecirculationCriteria?.assets??[];if(0===I.length)return null;let A=w?` in ${w}`:" today",j=`Most Viewed${A}`,E={content:{assets:I},editingState:h.C7.Ready,heading:{text:j},id:"",links:[],name:"MostViewedStorySet",publicId:"",type:h.MD.Custom};return(0,i.jsx)(c.Z,{Content:({linkAttributes:e})=>{let t={headlineSizes:m.Mo.XXS_XXS_XXS,imagePositions:"right",imageSizes:{large:{aspectRatio:"1x1",width:56},medium:{aspectRatio:"1x1",width:56},small:{aspectRatio:"1x1",width:56}},...n};return(0,i.jsx)(k,{children:(0,i.jsx)(y,{children:E?.content?.assets.map((n,o)=>(0,i.jsx)(C,{$position:o+1,children:(0,i.jsx)(u.Z,{asset:n,displayOptions:t,linkAttributes:e,position:o+1})},n.id))})})},className:"noPrint",contentUnit:E,contentUnitGroup:"everything",contentUnitPos:t,hasBorderTop:!1,hasContent:!0,isPagebuilder:!1,withBackground:!1})}},86055:function(e,t,n){n.d(t,{$:()=>l,A:()=>s});var i=n(89049),o=n(79644),r=n(78943);let a=(0,r.iv)(["position:relative;&::before{background-color:",";content:'';height:100%;left:50%;position:absolute;top:0;transform:translateX(-50%);width:100vw;z-index:",";}","{border-top:0;}"],e=>e.theme.colorBrand100,o.Z.zIndex.background,i.Header),l=r.ZP.section.withConfig({shouldForwardProp:e=>!["hasBorderTop","withBackground"].includes(e)}).withConfig({componentId:"sc-3dbe4134-0"})(["border-top:",";margin-top:40px;"," padding-top:","px;@media ","{margin-top:48px;}"],({hasBorderTop:e,theme:t})=>e?`${t.widthStrapHeader} solid ${t.colorStrapHeader};`:"none",e=>e.withBackground?a:"",e=>12*!!e.withBackground,o.Z.query.medium),s=(0,r.iv)(["border-top:1px solid ",";padding:24px 0;&:first-child{border-top:0;padding-top:0;}&:last-child{padding-bottom:0;}"],e=>e.theme.colorLightAccent)},64870:function(e,t,n){n.d(t,{Z:()=>p});var i=n(52322),o=n(38936),r=n(56111),a=n(73302),l=n(36910),s=n(81924),d=n(84641),c=n(2784),m=n(66916),u=n(86055);let p=(0,c.memo)(({Content:e,className:t,componentName:n,contentUnit:c,contentUnitGroup:p,contentUnitPos:h,hasBorderTop:g=!0,hasContent:v,isPagebuilder:f,withBackground:x=!1})=>{let{PAGEBUILDER:{ENABLED:b}}=(0,r.Z)(),k=0;switch(c?.type){case d.MD.Recirculation:case d.MD.Resolved:k=c.content.assets.length;break;case d.MD.ThirdParty:k=c.content.stories.length}if(!(c&&(f||v||k>0))||f&&c?.editingState==="HIDDEN")return null;let{heading:y,publicId:C}=c,{text:w,url:S}=y||{},P=w||n,Z={[m.t.NAME]:P,...p?{[m.t.CU_GROUP]:p}:{},...P?{[m.t.CU_NAME]:P}:{},...h?{[m.t.CU_POS]:h}:{}},N={[a.Nc.CU_ID]:C,[a.Nc.TYPE]:a.D8.CONTENT_UNIT},I={[a.AY.NAME]:`${P.toString().replace(/ /g,"-").replace(/'/g,"").toLowerCase()}-strap`};return(0,i.jsx)(o.ZP,{children:(0,i.jsxs)(u.$,{className:t,hasBorderTop:g,withBackground:x,...Z,...b?N:{},...I,children:[(0,i.jsx)(l.Z,{title:w,url:S}),(0,i.jsx)(e,{linkAttributes:{onClick:e=>{(0,s.fH)(p,P,h,(e=>{let t=e;for(;t&&"section"!==t.nodeName.toLowerCase()&&!t.getAttribute("data-an-position");)t=t.parentElement;return t?Number.parseInt(t.getAttribute("data-an-position")||"0",10):0})(e.currentTarget))}}})]})})},(e,t)=>!t.bypassMemo&&JSON.stringify(e.contentUnit)===JSON.stringify(t.contentUnit))},46397:function(e,t,n){n.d(t,{z:()=>i});let i=(e,t)=>{let{groups:n}=e||{groups:[]};for(let e of n){let{content:{units:n}}=e,i=(n||[]).find(e=>e.name===t);if(i)return i}return null}},89049:function(e,t,n){n.r(t),n.d(t,{Header:()=>r,Heading:()=>a});var i=n(79644),o=n(78943);let r=o.ZP.header.withConfig({componentId:"sc-84567ec1-0"})(["margin-bottom:16px;padding-top:12px;text-transform:uppercase;@media ","{margin-bottom:24px;}"],i.Z.query.medium),a=o.ZP.h2.withConfig({shouldForwardProp:e=>"linkType"!==e}).withConfig({componentId:"sc-84567ec1-1"})(["color:",";display:inline-block;font-size:18px;letter-spacing:2px;line-height:20px;",";a{color:",";text-decoration:none;width:auto;svg{display:",";height:16px;margin-bottom:",";margin-left:2px;transition:0.25s all ease-in-out;width:16px;}span{border-bottom:2px solid transparent;color:",";transition:",";}&:hover > svg{","}&:hover > span{color:",";","}}"],e=>e.theme.colorStrapHeaderText,e=>"none"!==e.linkType&&"cursor: pointer",e=>e.theme.colorStrapHeaderText,e=>e.theme.displayStrapHeaderIcon,e=>"internal"===e.linkType?"4px":"3px",e=>e.theme.colorStrapHeaderText,e=>e.theme.transitionStrapHeader,e=>e.linkType&&"internal"===e.linkType&&`stroke: ${e.theme.strokeStrapHeader}; transform: ${e.theme.transformStrapHeader}`,e=>e.theme.colorLinkHover,e=>e.linkType&&"none"!==e.linkType&&`border-bottom: 2px solid ${e.theme.decorationStrapHeader};`)},36910:function(e,t,n){n.d(t,{Z:()=>u});var i={};n.r(i),n.d(i,{Header:()=>d.Header,Heading:()=>m});var o=n(52322),r=n(31518),a=n(11233),l=n(53896),s=n(79916),d=n(89049),c=n(79644);let m=(0,n(78943).ZP)(d.Heading).withConfig({componentId:"sc-d2ff5ede-0"})(["font-size:17px;line-height:17px;@media ","{font-size:20px;line-height:20px;}"],c.Z.query.medium),u=({className:e,title:t,url:n})=>{let c=(0,s.jn)((0,l.TH)().pathname)?i:d;if(!t)return null;let m=n?/^(https?:)?\/\/.*/.test(n)?"external":"internal":"none",u=(e=>{switch(e){case"external":return(0,o.jsx)(a.Z,{});case"internal":return(0,o.jsx)(r.Z,{});default:return null}})(m),p="external"===m;return(0,o.jsx)(c.Header,{className:e,children:(0,o.jsx)(c.Heading,{"data-pb-type":"hi",linkType:m,children:"none"===m?(0,o.jsx)("span",{children:t}):(0,o.jsxs)("a",{href:n,rel:p?"noopener":void 0,target:p?"_blank":void 0,children:[(0,o.jsx)("span",{children:t}),u]})})})}},25061:function(e,t,n){n.d(t,{Z:()=>y});var i=n(52322),o=n(50041),r=n(17845),a=n(56111),l=n(27421),s=n(64870),d=n(73302),c=n(3488),m=n(95204),u=n(79644);let p=n(78943).ZP.div.withConfig({componentId:"sc-a52e257f-0"})(["display:grid;gap:24px 40px;grid-template-columns:repeat(2,1fr);@media ","{grid-template-columns:1fr;","{padding:12px 0;&:first-child{border-top:0;padding-top:0;}&:last-child{padding-bottom:0;}}}","{gap:16px;}"],u.Z.query.smallMax,m.StoryTile,m.StoryTile),h={headlineSizes:d.Mo.XS_XS_XS,imagePositions:"left",imageSizes:{large:{aspectRatio:"1x1",width:96},medium:{aspectRatio:"1x1",width:96},small:{aspectRatio:"1x1",width:96}},showPrimaryTag:!0},g=({contentUnit:e,contentUnitGroup:t,contentUnitPos:n,hasBorderTop:o=!0})=>{let{PAGEBUILDER:{ENABLED:r}}=(0,a.Z)();return(0,i.jsx)(s.Z,{Content:((e=[])=>({linkAttributes:t})=>e.length>0&&(0,i.jsx)(p,{children:e.map((e,n)=>(0,i.jsx)(c.Z,{asset:e,displayOptions:h,linkAttributes:t,position:n+1},e.id))}))(e?.content?.assets),contentUnit:e,contentUnitGroup:t,contentUnitPos:n,hasBorderTop:o,isPagebuilder:r})};var v=n(46397),f=n(63855),x=n(69414),b=n(70992),k=n(72649);let y=({asset:e,contentUnitPos:t})=>{let{brand:n}=(0,a.Z)(),s=(0,f.B5)(e.category),d=(0,f.a$)(e.category),c=!s&&!d,[m,{data:u,error:p}]=(0,o.t)(l.R,{nextFetchPolicy:"cache-only",returnPartialData:!0}),{ref:h}=(0,b.YD)({rootMargin:"0px 0px 500px 0px",triggerOnce:!0,skip:c,onChange:e=>{e&&m({variables:{after:"",first:0,input:{brandKey:n.shortSiteName,pageType:"article",renderName:"web"}}})}});if(c)return null;if(!u&&!p)return(0,i.jsx)("div",{ref:h});let{error:y,page:C}=u?.pageByType||{};if(p||y||!C)return x.Y.error("SubbrandMostViewedStrap PageByType failure",r.log.EventType("asset","pageByType"),r.log.Error(p||y)),null;let w=C.content,S=w?.groups?.[0]?.name,P=s?k.xB:k.wb,Z=(0,v.z)(w,P);return e.category?.name.toLowerCase()==="inspiration"&&(Z={...Z,content:{...Z?.content,assets:Z?.content?.assets?.slice(0,4)}}),(0,i.jsx)(g,{className:"noPrint",contentUnit:Z,contentUnitGroup:S,contentUnitPos:t},"PopularStories")}},63855:function(e,t,n){n.d(t,{B5:()=>a,BD:()=>o,OB:()=>r,a$:()=>l});var i=n(84641);let o=(e,t)=>t?.name?.toLowerCase()===e.toLowerCase(),r=e=>e===i.h3.FeatureArticle,a=e=>e?.parent?.name?.toLowerCase()==="travel"||e?.name?.toLowerCase()==="travel",l=e=>e?.parent?.name?.toLowerCase()==="food"||e?.name?.toLowerCase()==="food"},63490:function(e,t,n){n.d(t,{F:()=>o,g:()=>r});var i=n(27297);let o=(e,t=i.Ok)=>e?new i.ZP(e,"UTC").format(t):"",r=e=>{if(e){let t=Math.floor(e/6e4),n=Number.parseInt((e%6e4/1e3).toFixed(0),10);return`PT${t<10?"0":""}${t}M${n<10?"0":""}${n}S`}return""}},13783:function(e,t,n){n.d(t,{Z:()=>i});let i=function(e,t){let n=0;return(...i)=>{let o=Date.now();if(!(o-n$});var i,o,r,a,l,s=n(52322),d=n(10519),c=n(2784);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,A.iv)(["font-size:","px;line-height:","px;"],e,t),E=A.ZP.div.withConfig({componentId:"sc-f79e2ead-0"})(["background-color:",";box-shadow:0 8px 24px 0 rgb(0 0 0 / 50%);color:",";height:100%;padding:72px 32px;position:relative;text-align:center;width:100%;&:focus-visible{outline:none;}@media ","{border-radius:8px;height:auto;max-width:480px;padding:40px 40px 48px;}"],e=>e.theme.colorLightFill,e=>e.theme.colorDark,I.Z.query.medium),F=A.ZP.h3.withConfig({componentId:"sc-f79e2ead-1"})(["color:",";font-family:",";font-size:24px;font-weight:bold;line-height:28px;margin:0 auto 16px;max-width:",";"," @media ","{max-width:",";","}"],e=>e.theme.colorBrand,e=>e.theme.fontTertiary,e=>e.pendingVerify?"210px":"none",j(24,28),I.Z.query.medium,e=>e.pendingVerify?"240px":"none",j(28,32)),L=A.ZP.div.withConfig({componentId:"sc-f79e2ead-2"})(["margin-bottom:32px;"," p{margin-bottom:16px;}@media ","{","}"],j(15,20),I.Z.query.medium,j(17,24)),T=A.ZP.a.withConfig({componentId:"sc-f79e2ead-3"})(["color:",";left:0;margin:16px 0 0 16px;"," position:absolute;text-decoration:none;top:0;&:focus,&:hover{color:",";text-decoration:underline;}svg{display:inline-block;height:13px;margin-bottom:2px;width:13px;}"],e=>e.theme.colorDark,j(13,16),e=>e.theme.colorDark),R=A.ZP.div.withConfig({componentId:"sc-f79e2ead-4"})(["align-items:center;background-color:",";border-radius:50%;display:flex;flex-direction:column;height:64px;justify-content:center;margin:0 auto 16px;width:64px;svg{margin-bottom:4px;}@media ","{height:80px;width:80px;svg{height:40px;width:40px;}}"],e=>e.theme.colorBrand,I.Z.query.medium),V=A.ZP.p.withConfig({componentId:"sc-f79e2ead-5"})([""," padding-top:12px;svg{display:block;height:24px;margin:0 auto 10px;width:24px;}@media ","{","}"],j(15,20),I.Z.query.medium,j(17,20)),B=(0,A.ZP)(x.ButtonStandard).withConfig({componentId:"sc-f79e2ead-6"})(["margin:8px 0 14px;min-width:246px;"," "," padding:15px 0;"],j(14,14),e=>e.pendingVerify&&(0,A.iv)([""," "," letter-spacing:0;padding:15px 0;text-align:center;text-decoration:none;text-transform:none;&:focus,&:hover{background:none;}@media ","{","}"],x.fauxLink,j(15,20),I.Z.query.medium,j(17,24))),_=A.ZP.p.withConfig({componentId:"sc-f79e2ead-7"})(["color:",";margin-bottom:16px;",""],e=>e.theme.colorHighlight,j(13,15)),D="An error has occurred. Please try again in a few minutes.",M=(e,t)=>t?.requiredToVerify&&!t.verified&&!(0,f.kk)(t)&&!e?.ads?.sponsor,$=({asset:e})=>{let[t,n]=(0,c.useState)(!1),[i,o]=(0,c.useState)(""),[r,a]=(0,c.useState)(!1),[l,m]=(0,c.useState)(!0),[p,f]=(0,c.useState)(!1),[y,I]=(0,w.lr)(),{brand:A}=(0,g.Z)(),j=(0,P.aF)();(0,c.useEffect)(()=>{"false"===y.get("verify")&&(n(!0),y.delete("verify"),I(y,{replace:!0}))},[y,I]),(0,c.useEffect)(()=>{M(e,j)&&l&&((0,S.F)(!0),m(!1))},[e,l,j]),(0,c.useEffect)(()=>{l||(0,k.T7)(b.F7,t?b.Mh:b.Zj)},[l,t]);let $=t?"Resend Email":"Send confirmation email";return!l&&M(e,j)&&(0,s.jsx)(C(),{className:"confirmationModal",contentElement:(e,t)=>(0,s.jsx)(E,{...e,children:t}),contentLabel:"Email Confirmation",isOpen:!0,overlayClassName:"_",overlayElement:(e,t)=>(0,s.jsx)(x.OverlayModal,{...e,children:t}),children:(0,s.jsxs)("div",{"data-testid":"modal",children:[(0,s.jsxs)(T,{href:"/goodfood",onClick:()=>{(0,k.T7)(b.w4,b.Zj)},children:[(0,s.jsx)(d.Z,{}),"Home"]}),(0,s.jsx)(R,{children:(0,s.jsx)(u,{})}),t?(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)(F,{pendingVerify:!0,children:"Check your email to continue"}),(0,s.jsxs)(L,{children:[(0,s.jsxs)("p",{children:["You will need to confirm your email address by following the instructions sent to ",(0,s.jsx)("br",{}),j?(0,s.jsx)("strong",{children:j.email}):""]}),(0,s.jsx)("p",{children:"The email should already be in your inbox. Click on the link provided and you’ll be taken straight back to our site to finalise your registration."}),(0,s.jsx)("p",{children:"The email link is only valid for 15 minutes."})]})]},"modal-content"):(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)(F,{children:(0,N.q)(e.type)?"Complete your registration to continue reading":"Complete your registration to continue"}),(0,s.jsx)(L,{children:(0,s.jsx)("p",{children:"Please confirm your email address to complete your registration."})})]},"modal-content"),i&&(0,s.jsx)(_,{role:"alert",children:i}),p&&!i?(0,s.jsxs)(V,{children:[(0,s.jsx)(h,{}),"Check your email to continue."]}):(0,s.jsx)(B,{disabled:r,onClick:()=>{(0,k.T7)(b.Jw,t?b.Mh:b.Zj),o(""),f(!1),a(!0),(0,Z.A)(A.shortSiteName).then(e=>e&&o(D)).catch(()=>o(D)).finally(()=>{a(!1),f(!0)})},pendingVerify:t,type:"submit",children:r?(0,s.jsx)(v.Z,{inverse:!0}):$})]})})}},93910:function(e,t,n){n.d(t,{A:()=>c,B:()=>d});var i=n(17845),o=n(58704),r=n(69414);let a=["member","resendVerification"],l="Failed to resend verification email",s={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"ResendVerificationMutation"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MemberResendVerificationInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberResendVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:142,source:{body:"mutation ResendVerificationMutation($input:MemberResendVerificationInput!){memberResendVerification(input:$input){error{message type{class}}}}"}}},d={brisbanetimes:"BRISBANE_TIMES",smh:"SMH",theage:"THE_AGE",watoday:"WA_TODAY"},c=async e=>{let t="undefined"!=typeof window&&`${window.location.protocol}//${window.location.host}`,n="undefined"!=typeof window?`${t}/account-verification`:"",c={input:{redirectURL:"undefined"!=typeof window?`${t}${window.location.pathname}`:"",siteKey:d[e],verifyURL:n}},m=await o.Z.mutate({context:{clientName:"api-front"},mutation:s,variables:c});return m.data?.memberResendVerification?m.data.memberResendVerification.error:(r.Y.error(l,i.log.EventType(...a),i.log.Error(m.error)),Error(l))}},25445:function(e,t,n){n.d(t,{q:()=>o});var i=n(84641);let o=e=>e!==i.h3.Gallery&&e!==i.h3.Video},57737:function(e,t,n){n.d(t,{Z:()=>r,k:()=>a});var i=n(50938),o=n(40809);let r=(0,i.QS)(!1),a=()=>(0,o.l)(r)},6054:function(e,t,n){n.d(t,{E:()=>i});let i=(0,n(50938).QS)({})},84721:function(e,t,n){n.d(t,{m:()=>c});var i=n(52322),o=n(79916),r=n(78943);let a=r.ZP.div.withConfig({componentId:"sc-792cada9-0"})(["align-items:flex-start;display:flex;flex-direction:column;height:100vh;justify-content:center;"]),l=r.ZP.h1.withConfig({componentId:"sc-792cada9-1"})(["font-family:",";font-size:36px;line-height:40px;margin:0 16px 16px;"],e=>e.theme.fontTertiary),s=r.ZP.p.withConfig({componentId:"sc-792cada9-2"})(["font-family:",";font-size:18px;line-height:28px;margin:0 16px 16px;"],e=>e.theme.fontPrimary),d=r.ZP.a.withConfig({componentId:"sc-792cada9-3"})(["background-color:",";border-radius:4px;color:#fff;display:inline-block;font-family:",";font-size:16px;margin:0 16px;padding:12px 24px;text-decoration:none;"],e=>e.theme.colorAction,e=>e.theme.fontPrimary),c=({brand:e,pathname:t})=>{var n;let r=(0,o._P)(t),c=(n=e.shortSiteName,(0,o._P)(t)?"https://play.google.com/store/apps/details?id=au.com.nine.goodfood":"smh"===n?"https://play.google.com/store/apps/details?id=com.fairfaxmedia.ink.metro.smh&hl=en_AU":"theage"===n?"https://play.google.com/store/apps/details?id=com.fairfaxmedia.ink.metro.age&hl=en_AU":null);return(0,i.jsxs)(a,{children:[(0,i.jsx)(l,{children:"This page is for subscribers only"}),(0,i.jsx)(s,{children:r?"This page is only available to subscribers. Go to the Good Food app to subscribe via Google Play.":`This page is only available to subscribers. Go back to ${e.longSiteName} app and subscribe via Google Play.`}),c&&(0,i.jsx)(d,{href:c,children:"Subscribe via Google Play"})]})}},54974:function(e,t,n){n.d(t,{Z:()=>$});var i=n(52322),o=n(17845),r=n(19565),a=n(41982),l=n(56111),s=n(41865),d=n(77056),c=n(79979),m=n(19189),u=n(2596),p=n(84641),h=n(69414),g=n(2784),v=n(53896),f=n(44773),x=n(40966),b=n(6054),k=n(79909),y=n(83628),C=n(28063),w=n(72204),S=n(72649),P=n(84721),Z=n(28977),N=n(96617),I=n(33738);let A=["metro special","metros special","coronavirus pandemic live","nsw floods live","victoria floods live"],j=["property"],E=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-Article-Article",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8971"),n.e("8482"),n.e("7831"),n.e("9489"),n.e("7945"),n.e("3366")]).then(n.bind(n,31150)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>31150}),F=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-Bespoke-Bespoke",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("8447").then(n.bind(n,84211)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>84211}),L=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-Collection-Collection",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("3569").then(n.bind(n,57998)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>57998}),T=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-FeatureArticle-FeatureArticle",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8971"),n.e("8482"),n.e("7831"),n.e("7945"),n.e("5412")]).then(n.bind(n,19678)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>19678}),R=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-Gallery-Gallery",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8971"),n.e("7831"),n.e("3686")]).then(n.bind(n,89747)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>89747}),V=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-ImmersiveArticle-ImmersiveArticle",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8482"),n.e("1688")]).then(n.bind(n,92137)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>92137}),B=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Recipe-Recipe",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8482"),n.e("9489"),n.e("5084")]).then(n.bind(n,30412)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>30412}),_=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-Video-Video",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("9489"),n.e("4242"),n.e("9787")]).then(n.bind(n,70200)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>70200}),D=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-GoodFoodGuideReview-GoodFoodGuideReview",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e("8971"),n.e("8482"),n.e("7831"),n.e("9489"),n.e("7945"),n.e("3366"),n.e("7548"),n.e("3533")]).then(n.bind(n,53856)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>53856}),M=["asset","assetByPublicIdQuery"],$=({id:e})=>{let{brand:t,PAGEBUILDER:n}=(0,l.Z)(),r=(0,s.Z)(),{asset:$,assetError:H,error:O,fetchMoreStories:q,loading:U,networkStatus:z}=(0,a.Gs)(),{appAccess:G,appSubAccess:W,appPremiumSubAccess:Y}=(0,f.P)(),{isAndroid:X}=(0,c.Z)(),Q=(0,I.Z)(t.shortSiteName,$),{pathname:K}=(0,v.TH)(),J=O||H;(0,g.useEffect)(()=>{J?(0,x.c)(null):$&&(0,x.c)($)},[$,J]);let ee=(0,g.useRef)(null);if(null===ee.current&&(ee.current={...(0,y.YE)(y.PJ),...(0,y.YE)(y.Ek)}),(0,g.useEffect)(()=>{"undefined"!=typeof sessionStorage&&(sessionStorage.removeItem(y.PJ),sessionStorage.removeItem(y.Ek))},[]),(0,d.Z)($&&(0,y.pu)($,K,t.shortSiteName,ee.current),J),(0,N.i)($?.publicId),Q?.error?(h.Y.error("Paywall rule failure",o.log.EventType("asset","paywallRule"),o.log.Error(Q.error)),(0,b.E)(null)):Q?.data&&(0,b.E)(Q.data.paywallRule?.rule),U)return null;if(J)return(h.Y.error("Asset load failed",o.log.EventType(...M),o.log.Error(J),o.log.String("errorClass",H?.type?.class),o.log.String("description",`Asset id: ${e}`)),H&&H.type?.class===p.c4.Unavailable)?(0,i.jsx)(k.Z,{status:500}):H?(0,i.jsx)(k.Z,{status:404}):(0,i.jsx)(k.Z,{status:500});if(!$)return(0,i.jsx)(k.Z,{status:404});let et=(0,C.Dd)($)?D:((e,t)=>{switch(e){case p.h3.Article:return E;case p.h3.Collection:return L;case p.h3.FeatureArticle:if(t===S.n_)return V;return T;case p.h3.Gallery:return R;case p.h3.LiveArticle:return Z.Z;case p.h3.Recipe:return B;case p.h3.Video:return _;case p.h3.Bespoke:return F;case p.h3.Newsletter:case p.h3.Url:default:return}})($.type,$.subType),en=(0,w.Wn)($,{featureFlags:r,pagebuilder:n.ENABLED,truncatable:!0}),ei=[$.tags?.primary?.displayName,...($.tags?.secondary||[]).map(e=>e.displayName)].filter(Boolean).map(e=>e?.toLowerCase()||""),eo=(0,y.CP)($.category,K).map(e=>e.toLowerCase()),er=$.type===p.h3.LiveArticle||eo.some(e=>j.includes(e))||ei.some(e=>A.includes(e)),ea=Q?.data?.paywallRule?.rule,el=null!=ea&&(ea.exemptionReasons?.length??0)===0;return G&&!W&&!Y&&X&&r[u.PERM_FEATURE_FLAG_OTHER_APPS_REDIRECT_ENABLED]&&!er&&el?(0,i.jsx)(P.m,{brand:t,pathname:K}):et?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.Z,{asset:$}),(0,i.jsx)(et,{asset:en,fetchMore:q,loading:U,networkStatus:z})]}):(0,i.jsx)(k.Z,{status:404})}},19808:function(e,t,n){n.r(t),n.d(t,{default:()=>s});var i=n(52322),o=n(53896),r=n(79909),a=n(54974),l=n(28063);let s=()=>{let{"*":e}=(0,o.UO)(),t=(0,l.TN)(e);return t?(0,i.jsx)(a.Z,{id:t}):(0,i.jsx)(r.Z,{status:404})}},68189:function(e,t,n){n.d(t,{AN:()=>s,D9:()=>d,Hf:()=>l,I3:()=>g,cu:()=>p,jW:()=>c,nX:()=>h});var i=n(29939),o=n(84641),r=n(72204),a=n(90283);let l=({tags:e})=>(0,r.zN)(e,["good weekend"])?i.By:(0,r.zN)(e,["sunday life"])?i.fp:"",s=(e,t)=>{let n=e.publicId;return[...t].map(e=>({...e,urls:{...e.urls,canonical:{...e.urls.canonical,path:e.urls.canonical?.path&&`${e.urls.canonical?.path}?collection=${n}&gb=1`},published:e.urls.published.map(e=>({...e,path:`${e.path}?collection=${n}&gb=1`}))}}))},d=(e,t)=>{if(e?.name==="story-set-frfaz"&&e.content?.assets?.length>=5){let n=e.content.assets.filter(e=>e.publicId!==t);if(n?.length>=5)return{...e,content:{...e.content,assets:n}}}return null},c=e=>e?.subType===i.Ii.magazine&&e?.type===o.h3.Collection,m=e=>({altText:"Placeholder image",animated:!1,caption:"",credit:"",crop:null,mediaId:"",mimeType:"image/png",source:"",type:e}),u=new Date().toISOString(),p=({headline:e,images:t,...n})=>{let i=(0,a.Z)();return{assetType:o.h3.Article,byline:"",dates:{created:u,firstPublished:u,modified:u,published:u,saved:u},headlines:{headline:e},id:i,images:{landscape16x9:t?.landscape16x9??m(o.FY.Landscape_16_9),landscape3x2:t?.landscape3x2??m(o.FY.Landscape_3_2),portrait2x3:t?.portrait2x3??m(o.FY.Portrait_2_3),square1x1:t?.square1x1??m(o.FY.Square_1_1)},publicId:i,...n}},h=e=>void 0!==e&&"publicId"in e,g=e=>"ASSET_PLACEHOLDER"===e.type&&"headline"in e},51259:function(e,t,n){n.d(t,{Fx:()=>l,M9:()=>d,Se:()=>c,uT:()=>s,xN:()=>m});var i=n(71378),o=n(3766),r=n(79644),a=n(78943);let l=(0,a.ZP)(r.Z.Content).withConfig({componentId:"sc-75e7da25-0"})(["padding-bottom:56px;","{width:100%;@media ","{width:auto;}}"],o.EZ,r.Z.query.medium),s=a.ZP.div.withConfig({componentId:"sc-75e7da25-1"})(["display:flex;flex-direction:row;gap:40px;"]),d=a.ZP.div.withConfig({componentId:"sc-75e7da25-2"})(["margin-top:24px;width:100%;@media ","{width:",";}"],r.Z.query.large,r.Z.columnWidth(8,12)),c=a.ZP.div.withConfig({componentId:"sc-75e7da25-3"})(["&::after{content:'';width:100%;}"]),m=(0,a.ZP)(i.Z.Track).withConfig({componentId:"sc-75e7da25-4"})(["display:none;flex-grow:1;height:auto;@media ","{display:block;}"],r.Z.query.large)},28977:function(e,t,n){n.d(t,{Z:()=>j});var i=n(52322),o=n(19565),r=n(75724),a=n(90016),l=n(44114),s=n(48239),d=n(41571),c=n(91238),m=n(96876),u=n(28833),p=n(29799),h=n(36785),g=n(93673),v=n(72671),f=n(12533),x=n(32075),b=n(14923),k=n(16120),y=n(4816),C=n(79738),w=n(98051),S=n(18036),P=n(25061),Z=n(28067),N=n(1600),I=n(51259);let A=(0,o.ZP)({resolved:{},chunkName:()=>"components-PropertyWidgets-DomainRecommends-DomainRecommends",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("2000").then(n.bind(n,75886)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return n(this.resolve(e))},resolve:()=>75886}),j=({asset:e})=>{let{contentWallVisible:t}=(0,v.Z)(),n=(0,g.Z)("large"),{pinnedPurposes:o}=e?.pinnedPurposesPosts||{},j=(0,N.we)(o,Z.i3.KeyEvent),E=j.length>0;return(0,i.jsxs)(I.Fx,{className:`liveArticle ${w.Jn}`,children:[(0,i.jsx)(h.Z,{asset:e}),(0,i.jsx)(l.Z,{}),(0,i.jsx)(y.Z,{asset:e}),(0,i.jsxs)(I.uT,{children:[(0,i.jsxs)(I.M9,{children:[(0,i.jsx)(c.Z,{}),(0,i.jsx)(d.Z,{asset:e}),(0,i.jsx)(p.Z,{}),!E&&(0,i.jsx)(I.Se,{as:s.Z,asset:e}),(0,i.jsx)(f.Z,{disabled:t,posts:j}),(0,i.jsx)(x.Z,{adPosStart:n?3:2,asset:e,contentWallVisible:t}),(0,i.jsx)(m.Z,{asset:e}),(0,i.jsx)(S.Z,{asset:e,contentUnitPos:1}),(0,i.jsx)(P.Z,{asset:e,contentUnitPos:1}),(0,i.jsx)(A,{asset:e}),(0,i.jsx)(C.Z,{asset:e}),(0,i.jsx)(u.Z,{asset:e})]}),(0,i.jsxs)(I.xN,{children:[(0,i.jsx)(r.Z,{largeUnit:a.U.halfpageSkyscraper(2)}),(0,i.jsx)(b.Z,{asset:e})]})]}),(0,i.jsx)(k.Z,{asset:e})]})}},96617:function(e,t,n){n.d(t,{i:()=>c});var i=n(17845),o=n(69414),r=n(2784),a=n(83949),l=n(10372);let s={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"ReadAssetMutation"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"assetID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"newsroom"}},type:{kind:"NamedType",name:{kind:"Name",value:"Newsroom"}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetRead"},arguments:[{kind:"Argument",name:{kind:"Name",value:"read"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"assetId"},value:{kind:"Variable",name:{kind:"Name",value:"assetID"}}},{kind:"ObjectField",name:{kind:"Name",value:"newsroom"},value:{kind:"Variable",name:{kind:"Name",value:"newsroom"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:139,source:{body:"mutation ReadAssetMutation($assetID:String!,$newsroom:Newsroom){assetRead(read:{assetId:$assetID,newsroom:$newsroom}){error{message type}}}"}}},d=3,c=(e="")=>{let t=(0,a.aF)(),[n,c]=(0,r.useState)(!1),m=(e=>{let[t]=(0,l.D)(s,{context:{clientName:"api-front"}});return(0,r.useCallback)(()=>t({variables:{assetID:e,newsroom:"METRO"}}),[t,e])})(e),u=t?.membershipId||"";(0,r.useEffect)(()=>{if(!u||!e||n)return;let t=async(n=0,r=d)=>{try{let e=await m();if(!e.data?.assetRead)throw Error("No data returned from mutation");let{assetRead:{error:i}}=e.data;if(i){let e=n;if(er});var i=n(23539);let o={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"CommentsByPublicId"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"publicId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"commentsByPublicId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"publicId"},value:{kind:"Variable",name:{kind:"Name",value:"publicId"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"commenting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latestCommentsConnection"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"closed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:192,source:{body:"query CommentsByPublicId($publicId:String!){commentsByPublicId(input:{publicId:$publicId}){commenting{enabled latestCommentsConnection{closed count error{message}}}error{message type{class}}}}"}}},r=e=>(0,i.a)(o,{ssr:!1,variables:{publicId:e.publicId},skip:!e.commenting?.enabled})},33738:function(e,t,n){n.d(t,{Z:()=>a});var i=n(23539),o=n(17741);let r={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"paywallRule"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"context"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PaywallRuleRequestContext"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"story"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PaywallRuleRequestStory"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paywallRule"},arguments:[{kind:"Argument",name:{kind:"Name",value:"context"},value:{kind:"Variable",name:{kind:"Name",value:"context"}}},{kind:"Argument",name:{kind:"Name",value:"story"},value:{kind:"Variable",name:{kind:"Name",value:"story"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"rule"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"exemptionReasons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:193,source:{body:"query paywallRule($context:PaywallRuleRequestContext!,$story:PaywallRuleRequestStory!){paywallRule(context:$context,story:$story){error{message type{class}}rule{exemptionReasons{source type}}}}"}}},a=(e,t)=>{let n=t?.category.name||"",a=t?.tags&&[t?.tags.primary?.publicId,...(t?.tags.secondary||[]).map(e=>e.publicId)];return(0,i.a)(r,{context:{clientName:"api-front"},skip:!t,ssr:!1,variables:{context:{alreadyMetered:!1,currentMeterCount:0},story:{brand:(0,o.w)(e),categories:[n],sponsored:!!t?.ads?.sponsor,tags:a,type:(0,o.J)(t?.type)}}})}},91629:function(e,t,n){n.d(t,{O:()=>s,x:()=>d});var i=n(28067),o=n(84641);let r=e=>({key:e}),a=e=>{var t;return e?{displayName:e.displayName,id:e.id,latestStoriesConnection:{edges:[],pageInfo:{endCursor:0,hasNextPage:!1,hasPreviousPage:!1,startCursor:0}},name:e.name,publicId:e.shortID,urls:{canonical:e?.urls?.canonical&&{brand:r(e?.urls?.canonical.brand),path:e?.urls?.canonical?.path},published:(t=e?.urls?.published)?[{brand:"brisbanetimes",path:t?.brisbanetimes?.path},{brand:"smh",path:t?.smh?.path},{brand:"theage",path:t?.theage?.path},{brand:"watoday",path:t?.watoday?.path}].map(e=>({brand:r(e.brand),path:e.path})):[]}}:null},l=(e,t)=>{if(!e)return null;let{data:n}=e;return{altText:n?.altText,animated:n?.animated||!1,caption:n?.caption||"",credit:n?.credit||"",crop:n?.offsetX||n?.offsetY||n?.cropWidth||n?.zoom&&n?.zoom!==1?{offsetX:n?.offsetX||0,offsetY:n?.offsetY||0,width:n?.cropWidth||0,zoom:n?.zoom||1}:null,mediaId:n?.id,mimeType:n?.mimeType,source:n?.source||"",type:t}},s=e=>{switch(e){case o.h3.Article:return i.ku.Article;case o.h3.Collection:return i.ku.Collection;case o.h3.FeatureArticle:return i.ku.FeatureArticle;case o.h3.LiveArticle:return i.ku.LiveArticle;case o.h3.Recipe:return i.ku.Recipe;default:return}},d=e=>{var t,n,i;return{ads:e.sponsor?{exclusionTopics:[],overrides:[],sponsor:{name:e.sponsor.name,type:"sponsor"},suppress:!1}:null,brands:e.brands?e.brands.map(e=>r(e)):[],byline:(t=e.participants,t?.authors?t.authors.map(e=>({author:{name:e.name,publicId:e.id},type:o.tF.Author})):[]),category:e.category?{id:e.category.id?.toString(),name:e.category.name}:null,dates:e.dates,extensions:{...e.extensions,numberOfImages:e.asset.totalImages||void 0},headlines:{headline:e.headlines?.headline,variants:[]},id:e.id,images:(n=e.featuredImages)?{landscape16x9:l(n?.landscape16x9,o.FY.Landscape_16_9),landscape3x2:l(n?.landscape3x2,o.FY.Landscape_3_2),portrait2x3:l(n?.portrait2x3,o.FY.Portrait_2_3),square1x1:l(n?.square1x1,o.FY.Square_1_1)}:null,overview:{about:e.about,label:e.label},publicId:e.id,relatedEntities:{entities:[]},relatedEntitiesConnection:{edges:[],pageInfo:{endCursor:"",hasNextPage:!1,hasPreviousPage:!1,startCursor:""}},relatedEntitiesParents:{assets:[]},relatedEntitiesSiblings:{nextRelatedEntities:[],previousRelatedEntities:[]},sourceCMS:{publicId:e.sourceCms?.cmsType,type:e.sourceCms?.cmsType},sources:[{displayName:"",name:""}],state:{public:(e=>{switch(e?.toLowerCase()){case"published":return o.EL.Published;case"deleted":return o.EL.Deleted;case"retracted":return o.EL.Retracted;case"scheduled":return o.EL.Scheduled;default:return o.EL.Unpublished}})(e.publicState)},subType:e.subType,tags:{primary:a(e.tags?.primaryTag),secondary:e.tags?.secondary?.map(e=>a(e)).filter(e=>!!e)},type:(e=>{switch(e?.toLowerCase()){case"bespoke":return o.h3.Bespoke;case"collection":return o.h3.Collection;case"featurearticle":return o.h3.FeatureArticle;case"gallery":return o.h3.Gallery;case"livearticle":return o.h3.LiveArticle;case"recipe":return o.h3.Recipe;case"url":return o.h3.Url;case"video":return o.h3.Video;default:return o.h3.Article}})(e.assetType),urls:{canonical:e.urls?.canonical&&{brand:r(e.urls?.canonical.brand),path:e.urls?.canonical?.path},external:{url:e.urls?.external},published:(i=e.urls?.published)?[i?.brisbanetimes,i?.smh,i?.theage,i?.watoday].map(e=>({brand:r(e?.brand),path:e?.path})):[]}}}},94633:function(e,t,n){n.d(t,{eC:()=>i,rH:()=>o});let i=e=>{try{return decodeURIComponent(e)}catch(t){return e}},o=(e,t)=>{if(!e)return e;try{let n=new URL(e);return t.forEach((e,t)=>{n.searchParams.set(t,e)}),n.toString()}catch{return e}}}}]);