"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["2462"],{72488:function(e,t,i){i.d(t,{Z:()=>s});var n,r,a,o=i(2784);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tP});var n,r,a,o,l,s,d,c,u,m,p,g,v,h,k,f,b,x,y,S,E,w,N,A,C,F=i(2784);function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;tl});var n,r,a=i(2784);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tl});var n,r,a=i(2784);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tb});var n,r,a,o,l,s,d,c,u,m,p,g,v,h,k=i(2784);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;ts});var n,r,a,o=i(2784);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;tl});var n,r,a=i(2784);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;tl});var n,r,a=i(2784);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tl});var n,r,a=i(2784);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;to});var n,r=i(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t({custom:{renderwebmetro:i},privateAttributes:{userEmail:t},userID:e}),v=({appVersion:e,children:t,deployEnv:i,statsigClientApiKey:r,userEmail:a,userID:l})=>{let{client:s}=(0,o.useClientAsyncInit)(r,g(l,a,e),{environment:{tier:i||"production"}}),d=(0,m.useRef)(a);return(0,m.useEffect)(()=>{d.current!==a&&(d.current=a,s.updateUserAsync(g(l,a,e)))},[e,s,a,l]),(0,n.jsx)(o.StatsigProvider,{client:s,children:t})};var h=i(58704),k=i(31106),f=i(17029),b=i(72175),x=i(53896),y=i(90918),S=i(49731),E=i(49036),w=i(5763);i(94063),i(73354);let N=document.getElementById("app"),A=window.INITIAL_STATE?.featureFlags,C=window.INITIAL_STATE?.articleRendering,F=(0,x.aj)((0,y.Z)(h.Z)),I=(0,n.jsx)(m.StrictMode,{children:(0,n.jsx)(r.e,{client:h.Z,children:(0,n.jsx)(b.B6,{children:(0,n.jsx)(E.Z.Provider,{value:k.Z,children:(0,n.jsx)(w.Z.Provider,{value:A,children:(0,n.jsx)(S.Z.Provider,{value:C,children:(0,n.jsx)(({children:e})=>{let{APP_VERSION:t,DEPLOY_ENV:i,STATSIG:{CLIENT_API_KEY:r}}=(0,s.Z)(),a=(0,d.Z)(),{value:o}=(0,l._N)(),m=(0,p.aF)(),g=m?.email??(0,c.wf)()?.email??"";return a?.[u.PERM_FEATURE_FLAG_STATSIG_ENABLED]&&r&&o?(0,n.jsx)(v,{appVersion:t,deployEnv:i,statsigClientApiKey:r,userEmail:g,userID:o,children:e}):e},{children:(0,n.jsx)(x.pG,{router:F})})})})})})})});N&&(0,a.TA)(()=>{(0,f.hydrateRoot)(N,I)})},86270:function(e,t,i){i.d(t,{Z:()=>p});var n=i(52322),r=i(26653),a=i(41865),o=i(28191),l=i(2596),s=i(2784),d=i(79644);let c=i(78943).ZP.p.withConfig({componentId:"sc-38d04ac2-0"})(["align-items:flex-start;color:",";column-gap:6px;display:flex;font-size:15px;line-height:20px;margin:0 0 24px;@media ","{margin:0 0 40px;}strong{font-weight:bold;}svg{color:",";flex:0 0 auto;height:20px;position:relative;top:2px;width:20px;@media ","{top:0;}}"],e=>e.$onDarkBackground?e.theme.colorDark:e.theme.colorLight,d.Z.query.medium,e=>e.$onDarkBackground?e.theme.colorDark:e.theme.colorLight,d.Z.query.medium),u="search-label-dismissed",m={STORAGE_KEY:u},p=({onDarkBackground:e=!1})=>{let t=(0,a.Z)(),[i]=(0,s.useState)(()=>!(()=>{let e=o.Yb.getItem(u,m);return!0===e||"true"===e})()),d=t[l.TEMP_FEATURE_FLAG_VERTEX_SEARCH_BANNER_ENABLED];return((0,s.useEffect)(()=>{d&&i&&o.Yb.setItem(u,!0,m)},[d,i]),d&&i)?(0,n.jsxs)(c,{$onDarkBackground:e,children:[(0,n.jsx)(r.Z,{"aria-hidden":"true"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"New enhanced search"})," – Ask a question, type a keyword, or describe what you're looking for"]})]}):null}},29001:function(e,t,i){i.d(t,{Z:()=>u});var n=i(56111),r=i(41865),a=i(2596),o=i(69414),l=i(2784),s=i(52001);let d={smh:"smh-web",theage:"theage-web",brisbanetimes:"bt-web",watoday:"watoday-web"},c=(e,t,i)=>{try{window.alib=new window.ALIB({brand:t.shortSiteName,debug:!1,enableChartbeat:i[a.PERM_FEATURE_FLAG_ALIB_ENABLE_CHARTBEAT],enableGA:i[a.PERM_FEATURE_FLAG_ALIB_ENABLE_GA],enableParsely:!1,enableSnowplow:i[a.PERM_FEATURE_FLAG_ALIB_ENABLE_SNOWPLOW],plugins:{snowplow:{endpoint:e,options:{appId:d[t.shortSiteName]||`${t.shortSiteName}-web`}}}})}catch(e){o.Y.error("Failed to initialise Alib",e)}try{window.alib.trackPage(window.dataLayerHybrid)}catch(e){o.Y.error("Failed to track page with Alib",e)}},u=()=>{let{SNOWPLOW:e,brand:t}=(0,n.Z)(),i=(0,r.Z)(),a=(0,s.q)();return(0,l.useEffect)(()=>{if(!a)return()=>null;if(window.ALIB)return c(e.ENDPOINT,t,i),()=>null;let n=0,r=setInterval(()=>window.ALIB?(c(e.ENDPOINT,t,i),clearInterval(r)):n>=10?(o.Y.error("Failed to load Alib: max retries reached"),clearInterval(r)):void(n+=1),250);return()=>clearInterval(r)},[e,t,a,i]),null}},35239:function(e,t,i){i.d(t,{Z:()=>u});var n=i(2784),r=i(53896),a=i(44773),o=i(98070);let l="hostWebview",s="hostWebviewPremiumSub",d="hostWebviewSub",c="clearHostWebview",u=()=>{let{hash:e}=(0,r.TH)(),[t,i]=(0,r.lr)();return(0,n.useEffect)(()=>{t.has(d)&&((0,o.bo)(),t.delete(d),i(t)),t.has(s)&&((0,o.ox)(),t.delete(s),i(t)),(e.includes(c)||t.has(c))&&((0,o.xh)(),t.delete(c)),(e.includes(l)||t.has(l))&&((0,o.Yq)(),t.delete(l),i(t)),(0,a.Y)({appAccess:(0,o.tZ)(),appPremiumSubAccess:(0,o.n_)(),appSubAccess:(0,o.oO)()})},[e,t,i]),null}},98070:function(e,t,i){i.d(t,{Yq:()=>m,bo:()=>g,n_:()=>c,oO:()=>u,ox:()=>p,tZ:()=>d,xh:()=>s});var n=i(28191);let r="appReader",a="appSubReader",o="appPremiumSubReader",l={APP_ACCESS_STORAGE_NAME:r,APP_ACCESS_SUB_STORAGE_NAME:a,APP_ACCESS_PREMIUM_SUB_STORAGE_NAME:o},s=()=>{n.Yb.removeItem(r,l),n.Yb.removeItem(a,l),n.Yb.removeItem(o,l)},d=()=>{let e=n.Yb.getItem(r,l);return!!e&&new Date(e).getTime()>=Date.now()},c=()=>{let e=n.Yb.getItem(o,l);return!!e&&new Date(e).getTime()>=Date.now()},u=()=>{let e=n.Yb.getItem(a,l);return!!e&&new Date(e).getTime()>=Date.now()},m=()=>{let e=Date.now()+18e5;n.Yb.setItem(r,new Date(e).toISOString(),l)},p=()=>{let e=Date.now()+18e5;n.Yb.setItem(o,new Date(e).toISOString(),l)},g=()=>{let e=Date.now()+18e5;n.Yb.setItem(a,new Date(e).toISOString(),l)}},64115:function(e,t,i){i.d(t,{Z:()=>J});var n,r,a,o=i(52322),l=i(38936),s=i(56111),d=i(44773),c=i(79644),u=i(78943);let m=u.ZP.div.withConfig({componentId:"sc-c96cc30f-0"})(["background-color:",";color:#fff;font-size:14px;"],e=>e.theme.colorBrand),p=c.Z.Content;var g=i(80406),v=i(93673);let h=u.ZP.div.withConfig({componentId:"sc-26abfbb5-0"})(["@media ","{columns:4;padding:24px 0;}"],c.Z.query.medium);var k=i(14691),f=i(56933),b=i(41865),x=i(2784);let y=u.ZP.div.withConfig({componentId:"sc-b7108d53-0"})(["border-top:1px solid ",";padding:16px 0;position:relative;@media ","{border:0;margin:24px 0 0;padding:0;&:first-child{margin:0 0 200px;}&:nth-child(2){margin:0 0 325px;}&:nth-child(4){margin-bottom:210px;}}&:first-child{border:0;}"],e=>e.theme.colorBrandFooterSection,c.Z.query.medium),S=u.ZP.div.withConfig({componentId:"sc-b7108d53-1"})(["margin-bottom:","px;@media ","{margin-bottom:8px;}"],e=>e.$isOpen?"16":"0",c.Z.query.medium),E=u.ZP.h4.withConfig({componentId:"sc-b7108d53-2"})(["font-size:15px;font-weight:bold;letter-spacing:1px;line-height:20px;text-transform:uppercase;"]),w=u.ZP.button.withConfig({componentId:"sc-b7108d53-3"})(["height:40px;position:absolute;right:0;top:6px;width:40px;@media ","{display:none;}span{","}svg{color:",";height:12px;"," transform:rotate(","deg);width:12px;}"],c.Z.query.medium,c.Z.visuallyHidden,e=>e.theme.colorBrandFooterAction,c.Z.setSVGStrokeWidth(12,1.5,32),e=>e.$isOpen?"180":"0"),N=(0,u.ZP)(c.Z.LinkInverse).withConfig({componentId:"sc-b7108d53-4"})(["display:block;font-size:14px;line-height:24px;"]),A=({isSmall:e,section:{links:t,text:i}})=>{let[n,r]=(0,x.useState)(!e);(0,x.useEffect)(()=>{r(!e)},[e]);let a=(0,b.Z)();return(0,o.jsxs)(y,{children:[(0,o.jsxs)(S,{$isOpen:n,children:[(0,o.jsx)(E,{children:i}),(0,o.jsxs)(w,{$isOpen:n,onClick:()=>{r(e=>!e)},type:"button",children:[(0,o.jsxs)("span",{children:["Open ",i," section"]}),(0,o.jsx)(k.Z,{})]})]}),n&&t.map(({text:e,title:t,url:i})=>(0,o.jsx)(N,{href:i,onClick:(0,f._3)(a,i),title:t,children:e},e))]})},C=({sections:e})=>{let t=(0,v.Z)("smallMax"),{NEWSLETTER_API:i}=(0,s.Z)(),n={text:"Newsletters",url:(0,g.jh)(i)};return e[2].links.some(e=>e.text===n.text&&e.url===n.url)||e[2].links.splice(2,0,n),(0,o.jsx)(h,{children:e.map(e=>(0,o.jsx)(A,{isSmall:t,section:e},e.text))})};var F=JSON.parse('[{"text":"Our Sites","links":[{"text":"Brisbane Times","url":"https://www.brisbanetimes.com.au"},{"text":"The Sydney Morning Herald","url":"https://www.smh.com.au"},{"text":"The Age","url":"https://www.theage.com.au"},{"text":"WAtoday","url":"https://www.watoday.com.au"},{"text":"The Australian Financial Review","url":"https://www.afr.com"},{"text":"nine.com.au","url":"https://www.nine.com.au/"},{"text":"Drive","url":"https://www.drive.com.au"}]},{"text":"Classifieds","links":[{"text":"Tributes","url":"https://tributes.brisbanetimes.com.au/obituaries/brisbanetimes-au/"}]},{"text":"Brisbane Times","links":[{"text":"Contact & support","url":"/contact-us"},{"text":"Advertise with us","url":"https://www.nineforbrands.com.au/advertising-enquiries/"},{"text":"Accessibility guide","url":"/siteguide/accessibility"},{"text":"Sitemap","url":"/siteguide"},{"text":"Photo sales","url":"https://consumer.licensing-publishing.nine.com.au"},{"text":"Content licensing","url":"https://professional.licensing-publishing.nine.com.au"},{"text":"Work with us","url":"https://ninecareers.com.au/"},{"text":"Terms of use","url":"https://login.nine.com.au/terms?client_id=brisbanetimes"},{"text":"Privacy policy","url":"https://login.nine.com.au/privacy?client_id=brisbanetimes"},{"text":"Press Council","url":"https://www.presscouncil.org.au/what-we-do"},{"text":"Charter of Editorial Independence","url":"/nine-publishing-charter-of-editorial-independence"},{"text":"AI Editorial Guidelines","url":"/ai-editorial-guidelines"}]},{"text":"Products & Services","links":[{"text":"Subscription packages","url":"https://subscribe.brisbanetimes.com.au/?promote_channel=HI_FL_GNL"},{"text":"My account","url":"https://www.brisbanetimes.com.au/myaccount"},{"text":"Subscriber FAQs","url":"https://help.brisbanetimes.com.au/hc/en-au"}]}]'),I=i(88025),P=i(84193),T=i(40577);let _=u.ZP.div.withConfig({componentId:"sc-f11fc56c-0"})(["align-items:center;border-top:1px solid ",";display:flex;flex-direction:column;justify-content:space-between;padding-bottom:56px;padding-top:32px;@media ","{flex-direction:row;padding-bottom:44px;padding-top:16px;}"],e=>e.theme.colorBrandFooterSection,c.Z.query.medium),L=u.ZP.div.withConfig({componentId:"sc-f11fc56c-1"})(["line-height:32px;"]),R=u.ZP.div.withConfig({componentId:"sc-f11fc56c-2"})(["display:flex;flex-direction:row;gap:8px;@media ","{margin-top:40px;}"],c.Z.query.smallMax),D=u.ZP.img.withConfig({componentId:"sc-f11fc56c-3"})(["height:36px;"]),B=u.ZP.button.withConfig({componentId:"sc-f11fc56c-4"})(["line-height:20px;"]),Z={"data-ffx-event-attribute":"footer","data-ffx-event-category":"component"},O={brisbanetimes:{appStore:null,googlePlay:null},smh:{appStore:"https://apps.apple.com/au/app/the-sydney-morning-herald/id1411569831",googlePlay:"https://play.google.com/store/apps/details?id=com.fairfaxmedia.ink.metro.smh&hl=en_AU"},theage:{appStore:"https://apps.apple.com/au/app/the-age/id1411569220",googlePlay:"https://play.google.com/store/apps/details?id=com.fairfaxmedia.ink.metro.age&hl=en_AU"},watoday:{appStore:null,googlePlay:null}},M=({brand:e})=>{let t=`${new Date(Date.now()).getFullYear()}`,{appStore:i,googlePlay:n}=O[e.shortSiteName];return(0,o.jsxs)(_,{children:[(0,o.jsxs)(L,{children:["Copyright \xa9 ",t]}),(0,o.jsxs)(R,{children:[i&&(0,o.jsx)("a",{"aria-label":"Download on the app store",href:i,rel:"noopener noreferrer",target:"_blank",children:(0,o.jsx)(D,{as:I.Z})}),n&&(0,o.jsx)("a",{"aria-label":"Get it on Google Play",href:n,rel:"noopener noreferrer",target:"_blank",children:(0,o.jsx)(D,{as:P.Z})}),(0,o.jsx)(B,{as:T.Z,promotionPrefix:"HI_FL",tracking:Z})]})]})};var G=i(70793),j=i(92308);function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;te.theme.colorBrandFooterSection,c.Z.query.medium,z.T,c.Z.query.medium),Y=u.ZP.div.withConfig({componentId:"sc-f33fa8-1"})(["margin-top:32px;@media ","{margin-top:0;}a{display:inline-block;margin-left:24px;&:first-child{margin-left:0;}}span{","}svg{color:#fff;&:focus,&:hover{color:",";}}"],c.Z.query.medium,c.Z.visuallyHidden,e=>e.theme.colorAction),Q=({brand:{shortSiteName:e,social:t}})=>{let i=`https://www.${e}.com.au/rssheadlines`,n=(0,$.ZP)(),r=(e,t)=>{n.pushAnalyticsEvent({click_text:e,click_url:t,event:n.EVENTS.SOCIAL_EVENT})};return(0,o.jsxs)(W,{children:[(0,o.jsx)(q.Z,{}),(0,o.jsxs)(Y,{children:[(0,o.jsxs)("a",{href:t.twitter.site,onClick:()=>r("Twitter",t.twitter.site),rel:"noopener noreferrer",target:"_blank",children:[(0,o.jsx)("span",{children:"Twitter"}),(0,o.jsx)(U.Z,{})]}),(0,o.jsxs)("a",{href:t.facebook.site,onClick:()=>r("Facebook",t.facebook.site),rel:"noopener noreferrer",target:"_blank",children:[(0,o.jsx)("span",{children:"Facebook"}),(0,o.jsx)(G.Z,{})]}),(0,o.jsxs)("a",{href:t.instagram.site,onClick:()=>r("Instagram",t.instagram.site),rel:"noopener noreferrer",target:"_blank",children:[(0,o.jsx)("span",{children:"Instagram"}),(0,o.jsx)(j.Z,{})]}),(0,o.jsxs)("a",{href:i,onClick:()=>r("RSS",i),rel:"noopener noreferrer",target:"_blank",children:[(0,o.jsx)("span",{children:"RSS"}),(0,o.jsx)(V,{})]})]})]})},K={brisbanetimes:F,smh:JSON.parse('[{"text":"Our Sites","links":[{"text":"The Sydney Morning Herald","url":"https://www.smh.com.au"},{"text":"The Age","url":"https://www.theage.com.au"},{"text":"Brisbane Times","url":"https://www.brisbanetimes.com.au"},{"text":"WAtoday","url":"https://www.watoday.com.au"},{"text":"The Australian Financial Review","url":"https://www.afr.com"},{"text":"nine.com.au","url":"https://www.nine.com.au/"},{"text":"Drive","url":"https://www.drive.com.au"}]},{"text":"Classifieds","links":[{"text":"Tributes","url":"http://tributes.smh.com.au/obituaries/smh-au/"},{"text":"Place your ad","url":"https://www.nineforbrands.com.au/advertising-enquiries/"}]},{"text":"The Sydney Morning Herald","links":[{"text":"Contact & support","url":"/contact-us"},{"text":"Advertise with us","url":"https://www.nineforbrands.com.au/advertising-enquiries/"},{"text":"Accessibility guide","url":"/siteguide/accessibility"},{"text":"Sitemap","url":"/siteguide"},{"text":"Photo sales","url":"https://consumer.licensing-publishing.nine.com.au"},{"text":"Purchase front pages","url":"https://thestore.com.au/products/custom-front-page"},{"text":"Content licensing","url":"https://professional.licensing-publishing.nine.com.au"},{"text":"Work with us","url":"https://ninecareers.com.au/"},{"text":"Terms of use","url":"https://login.nine.com.au/terms?client_id=smh"},{"text":"Privacy policy","url":"https://login.nine.com.au/privacy?client_id=smh"},{"text":"Press Council","url":"https://www.presscouncil.org.au/what-we-do"},{"text":"Charter of Editorial Independence","url":"/nine-publishing-charter-of-editorial-independence"},{"text":"AI Editorial Guidelines","url":"/ai-editorial-guidelines"}]},{"text":"Products & Services","links":[{"text":"Subscription packages","url":"https://subscribe.smh.com.au/?promote_channel=HI_FL_GNL"},{"text":"My account","url":"https://www.smh.com.au/myaccount"},{"text":"Subscriber FAQs","url":"https://help.smh.com.au/hc/en-au"},{"text":"Delivery status","url":"https://www.smh.com.au/status"},{"text":"Today’s Paper","url":"/todays-newspaper"},{"text":"Good Food Guide","url":"/goodfood-guide"},{"text":"Daily Puzzles","title":"Daily Puzzles & Crosswords","url":"/puzzles"}]}]'),theage:JSON.parse('[{"text":"Our Sites","links":[{"text":"The Age","url":"https://www.theage.com.au"},{"text":"The Sydney Morning Herald","url":"https://www.smh.com.au"},{"text":"Brisbane Times","url":"https://www.brisbanetimes.com.au"},{"text":"WAtoday","url":"https://www.watoday.com.au"},{"text":"The Australian Financial Review","url":"https://www.afr.com"},{"text":"nine.com.au","url":"https://www.nine.com.au/"},{"text":"Drive","url":"https://www.drive.com.au"}]},{"text":"Classifieds","links":[{"text":"Tributes","url":"http://tributes.theage.com.au/obituaries/theage-au/"},{"text":"Place your ad","url":"https://www.nineforbrands.com.au/advertising-enquiries/"}]},{"text":"The Age","links":[{"text":"Contact & support","url":"/contact-us"},{"text":"Advertise with us","url":"https://www.nineforbrands.com.au/advertising-enquiries/"},{"text":"Accessibility guide","url":"/siteguide/accessibility"},{"text":"Sitemap","url":"/siteguide"},{"text":"Photo sales","url":"https://consumer.licensing-publishing.nine.com.au"},{"text":"Purchase front pages","url":"https://thestore.com.au/products/custom-front-page"},{"text":"Content licensing","url":"https://professional.licensing-publishing.nine.com.au"},{"text":"Work with us","url":"https://ninecareers.com.au/"},{"text":"Terms of use","url":"https://login.nine.com.au/terms?client_id=theage"},{"text":"Privacy policy","url":"https://login.nine.com.au/privacy?client_id=theage"},{"text":"Press Council","url":"https://www.presscouncil.org.au/what-we-do"},{"text":"Charter of Editorial Independence","url":"/nine-publishing-charter-of-editorial-independence"},{"text":"AI Editorial Guidelines","url":"/ai-editorial-guidelines"}]},{"text":"Products & Services","links":[{"text":"Subscription packages","url":"https://subscribe.theage.com.au/?promote_channel=HI_FL_GNL"},{"text":"My account","url":"https://www.theage.com.au/myaccount"},{"text":"Subscriber FAQs","url":"https://help.theage.com.au/hc/en-au"},{"text":"Delivery status","url":"https://www.theage.com.au/status"},{"text":"Today’s Paper","url":"/todays-newspaper"},{"text":"Good Food Guide","url":"/goodfood-guide"},{"text":"Daily Puzzles","title":"Daily Puzzles & Crosswords","url":"/puzzles"}]}]'),watoday:JSON.parse('[{"text":"Our Sites","links":[{"text":"WAtoday","url":"https://www.watoday.com.au"},{"text":"The Sydney Morning Herald","url":"https://www.smh.com.au"},{"text":"The Age","url":"https://www.theage.com.au"},{"text":"Brisbane Times","url":"https://www.brisbanetimes.com.au"},{"text":"The Australian Financial Review","url":"https://www.afr.com"},{"text":"nine.com.au","url":"https://www.nine.com.au/"},{"text":"Drive","url":"https://www.drive.com.au"}]},{"text":"Classifieds","links":[{"text":"Tributes","url":"https://tributes.watoday.com.au/obituaries/watoday-au/"}]},{"text":"WAtoday","links":[{"text":"Contact & support","url":"/contact-us"},{"text":"Advertise with us","url":"https://www.nineforbrands.com.au/advertising-enquiries/"},{"text":"Accessibility guide","url":"/siteguide/accessibility"},{"text":"Sitemap","url":"/siteguide"},{"text":"Photo sales","url":"https://consumer.licensing-publishing.nine.com.au"},{"text":"Content licensing","url":"https://professional.licensing-publishing.nine.com.au"},{"text":"Work with us","url":"https://ninecareers.com.au/"},{"text":"Terms of use","url":"https://login.nine.com.au/terms?client_id=watoday"},{"text":"Privacy policy","url":"https://login.nine.com.au/privacy?client_id=watoday"},{"text":"Press Council","url":"https://www.presscouncil.org.au/what-we-do"},{"text":"Charter of Editorial Independence","url":"/nine-publishing-charter-of-editorial-independence"},{"text":"AI Editorial Guidelines","url":"/ai-editorial-guidelines"}]},{"text":"Products & Services","links":[{"text":"Subscription packages","url":"https://subscribe.watoday.com.au/?promote_channel=HI_FL_GNL"},{"text":"My account","url":"https://www.watoday.com.au/myaccount"},{"text":"Subscriber FAQs","url":"https://help.watoday.com.au/hc/en-au"}]}]')},J=()=>{let{brand:e}=(0,s.Z)(),t=K[e.shortSiteName],{appAccess:i,appPremiumSubAccess:n,appSubAccess:r}=(0,d.P)();return i||n||r?null:(0,o.jsx)(l.ZP,{children:(0,o.jsx)(m,{className:"noPrint",id:"footer",children:(0,o.jsxs)(p,{children:[(0,o.jsx)(Q,{brand:e}),(0,o.jsx)(C,{sections:t}),(0,o.jsx)(M,{brand:e})]})})})}},97348:function(e,t,i){i.d(t,{Hw:()=>k,M2:()=>y,Pb:()=>S,QZ:()=>A,Qj:()=>F,Rk:()=>N,Th:()=>P,V8:()=>R,W2:()=>g,cP:()=>T,h3:()=>f,h4:()=>h,hA:()=>C,j2:()=>w,l8:()=>_,nS:()=>d,oF:()=>I,vw:()=>b,vx:()=>L,xZ:()=>v,xw:()=>x});var n=i(99600),r=i(79644),a=i(78943),o=i(56933);let l=(e,t)=>{switch(e){case"immersive-light":return t.colorTextLightMode;case"immersive-dark":return t.colorTextDarkMode;case"portrait-collection":return t.colorLightAccent;default:return t.colorDarkAccent}},s=(0,a.iv)(["height:96px;@media ","{height:113px;}"],r.Z.query.medium),d=a.ZP.header.withConfig({componentId:"sc-d491993f-0"})([""," ",""],e=>e.$shouldStick&&s,e=>(0,o.zu)(e.$headerMode)&&(0,a.iv)(["left:0;position:absolute;right:0;top:0;z-index:",";"],r.Z.zIndex.header.base)),c=(0,a.iv)(["top:-60px;"]),u=(0,a.iv)(["left:0;opacity:1;position:fixed;right:0;top:0;transition:top 0.4s ease-out;","{top:48px;@media ","{top:0;}}"],n.u_,r.Z.query.medium),m=(0,a.iv)(["border-bottom:1px solid ",";"],e=>e.theme.colorLightAccent),p=(0,a.iv)(["&::after{bottom:0;content:'';left:50%;position:absolute;transform:translateX(-50%);width:100vw;","}"],m),g=a.ZP.div.withConfig({componentId:"sc-d491993f-1"})(["background-color:",";color:",";position:relative;z-index:",";"," ",""],({$headerMode:e,$isSticky:t,theme:i})=>((e,t,i)=>{switch(e){case"immersive-light":case"immersive-dark":return t?i.colorBrand:"transparent";case"portrait-collection":return i.colorCollectionHeaderVisual;default:return i.colorBrand}})(e,t,i),({$headerMode:e,$isSticky:t,theme:i})=>((e,t,i)=>{switch(e){case"immersive-light":return t?i.colorTextDarkMode:i.colorTextLightMode;case"portrait-collection":return i.colorTextLightMode;default:return i.colorTextDarkMode}})(e,t,i),r.Z.zIndex.header.navActive,e=>e.$outOfView&&c,e=>e.$isSticky&&u),v=a.ZP.div.withConfig({componentId:"sc-d491993f-2"})(["align-items:center;border-bottom:1px solid ",";display:flex;height:48px;justify-content:flex-end;padding:0 16px;@media ","{display:none;}",""],({$headerMode:e,theme:t})=>l(e,t),r.Z.query.medium,e=>e.$isHidden&&(0,a.iv)(["display:none;"])),h=a.ZP.div.withConfig({componentId:"sc-d491993f-3"})(["align-items:center;display:flex;justify-content:",";padding:8px 20px;@media ","{justify-content:space-between;padding:16px 20px;}@media ","{","}",""],e=>e.$alignStartSmallBreakpoint?"flex-start":"space-between",r.Z.query.medium,r.Z.query.large,r.Z.centre(1168,1e3),e=>"portrait-collection"===e.$headerMode&&p),k=a.ZP.div.withConfig({componentId:"sc-d491993f-4"})(["align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;"]),f=a.ZP.div.withConfig({componentId:"sc-d491993f-5"})(["align-items:center;display:flex;padding:8px 20px;text-align:center;width:100%;@media ","{min-height:64px;}@media ","{"," min-height:64px;min-width:1000px;padding:0 20px;}",""],r.Z.query.medium,r.Z.query.large,r.Z.centre(1168,1e3),e=>"portrait-collection"===e.$headerMode&&p),b=a.ZP.a.withConfig({componentId:"sc-d491993f-6"})(["display:flex;justify-content:center;width:100%;@media ","{width:50%;}"],r.Z.query.medium),x=a.ZP.div.withConfig({componentId:"sc-d491993f-7"})(["text-align:left;width:25%;",""],e=>e.$hasBorderRight&&(0,a.iv)(["@media ","{border-right:1px solid ",";margin-right:8px;width:auto;}"],r.Z.query.smallMax,e.theme.colorDarkAccent)),y=a.ZP.div.withConfig({componentId:"sc-d491993f-8"})(["border-bottom:1px solid ",";display:none;flex-wrap:nowrap;width:100%;@media ","{display:block;}"],({$headerMode:e,theme:t})=>l(e,t),r.Z.query.medium),S=a.ZP.div.withConfig({componentId:"sc-d491993f-9"})(["align-items:center;display:none;font-size:13px;justify-content:space-between;letter-spacing:1px;line-height:13px;min-height:48px;padding:0 20px;width:100%;@media ","{display:flex;}@media ","{"," min-width:1000px;padding:0 20px;}"],r.Z.query.medium,r.Z.query.large,r.Z.centre(1168,1e3)),E="#677085",w=a.ZP.button.withConfig({componentId:"sc-d491993f-10"})(["background-color:",";border:0;color:currentcolor;cursor:pointer;height:32px;padding:0;width:32px;@media ","{position:relative;transform:translateX(-12px);}&:focus,&:hover{background-color:",";}+ button{margin-left:24px;@media ","{display:none;}}span{","}svg{color:currentcolor;height:16px;stroke-width:3px;width:16px;@media ","{height:24px;stroke-width:2px;width:24px;}}"],e=>e.$isActive&&E,r.Z.query.smallMax,E,r.Z.query.smallMax,r.Z.visuallyHidden,r.Z.query.medium),N=a.ZP.button.withConfig({componentId:"sc-d491993f-11"})(["background:none;border:0;color:currentcolor;cursor:pointer;font-size:13px;height:35px;letter-spacing:.5px;line-height:32px;padding:0 16px;@media ","{height:39px;padding-left:0;}@media ","{padding-left:0;}"],r.Z.query.medium,r.Z.query.large),A=(0,a.ZP)(w).withConfig({componentId:"sc-d491993f-12"})(["svg{height:28px;width:28px;}"]),C=a.ZP.div.withConfig({componentId:"sc-d491993f-13"})(["display:flex;justify-content:flex-end;position:relative;text-align:right;width:25%;",""],e=>e.$shouldShowButtons?!e.$isLoggedIn&&(0,a.iv)(["@media ","{margin-left:auto;}"],r.Z.query.smallMax):(0,a.iv)(["> a,> button{@media ","{display:none;}}"],r.Z.query.smallMax));(0,a.ZP)(r.Z.ButtonStandard).withConfig({componentId:"sc-d491993f-14"})(["margin-right:12px;"]);let F=(0,a.ZP)(r.Z.ButtonLink).withConfig({componentId:"sc-d491993f-15"})(["color:currentcolor;line-height:32px;margin-left:8px;padding:0;"]),I=(0,a.ZP)(F).withConfig({componentId:"sc-d491993f-16"})(["background-color:transparent;font-weight:normal;margin-right:8px;position:relative;text-transform:none;&:focus{background-color:transparent;}&::after{border-right:1px solid ",";bottom:10px;content:'';position:absolute;right:-8px;top:10px;}"],e=>e.theme.colorDarkAccent),P=a.ZP.button.withConfig({componentId:"sc-d491993f-17"})(["margin-right:8px;"]),T=a.ZP.button.withConfig({componentId:"sc-d491993f-18"})([""]),_=a.ZP.button.withConfig({componentId:"sc-d491993f-19"})(["align-items:center;background-color:transparent;color:currentcolor;cursor:pointer;display:flex;font-size:13px;letter-spacing:0.5px;line-height:32px;transform:translateX(14px);svg{color:currentcolor;}"]),L=a.ZP.span.withConfig({componentId:"sc-d491993f-20"})(["display:none;max-width:140px;overflow:hidden;padding-right:6px;text-overflow:ellipsis;white-space:nowrap;@media ","{display:inline-block;}"],r.Z.query.medium),R=a.ZP.a.withConfig({componentId:"sc-d491993f-21"})(["align-items:center;display:flex;justify-content:center;line-height:0;margin:0 auto;max-width:140px;padding:16px 0;text-align:center;width:60%;"])},30330:function(e,t,i){i.d(t,{Z:()=>W});var n=i(52322),r=i(19565),a=i(72488),o=i(50971),l=i(15486),s=i(68831),d=i(3099),c=i(38936),u=i(83951),m=i(41982),p=i(93673),g=i(41865),v=i(11402),h=i(27302),k=i(49263),f=i(5014),b=i(56613),x=i(9521),y=i(64257),S=i(19510),E=i(92549),w=i(56627),N=i(40577),A=i(56038),C=i(81924),F=i(2596),I=i(84641),P=i(2784),T=i(70992),_=i(53896),L=i(44773),R=i(1797),D=i(36130),B=i(11110),Z=i(83949),O=i(72649),M=i(79916),G=i(97348),j=i(43678),H=i(54631),V=i(80406),U=i(63956),$=i(56933);let q=(0,r.ZP)({resolved:{},chunkName:()=>"components-ConfirmationPanel-ConfirmationPanel",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("6889").then(i.bind(i,17196)),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 i(this.resolve(e))},resolve:()=>17196}),z=(0,r.ZP)({resolved:{},chunkName:()=>"MyAccount-MyAccount",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("7637").then(i.bind(i,22486)),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 i(this.resolve(e))},resolve:()=>22486}),W=()=>{let e=(0,v.ZP)(),t=(0,M._P)((0,_.TH)().pathname),i=(0,M.jn)((0,_.TH)().pathname),r=t||i,W=(0,h.Z)(),Y=(0,R.ip)(),[Q,K]=(0,P.useState)(!1),[J,X]=(0,P.useState)(!1),[ee,et]=(0,P.useState)(!1),[ei,en]=(0,P.useState)(!1),er=(0,P.useRef)(null),ea=(0,Z.aF)(),eo=(0,S.kk)(ea),el=(0,Z.cN)(),{asset:es}=(0,m.Gs)(),ed=(0,p.Z)("large")?650:1150,ec=!r,eu=(0,B._)(),em=ec&&eu,{inView:ep,ref:eg}=(0,T.YD)({initialInView:!0}),[ev,eh]=(0,P.useState)(0),ek=!eo&&em;(0,k.Z)(()=>{eh(window.scrollY),window.scrollY>ed&&!em?(0,B.o)(!0):window.scrollY<411&&em&&(0,B.o)(!1)});let{appAccess:ef,appPremiumSubAccess:eb,appSubAccess:ex}=(0,L.P)(),ey={"data-ffx-event-attribute":"header","data-ffx-event-category":"component"},eS=()=>{(0,R.lF)(R.CV.LOGIN),(0,C.ow)(A.$e,A.U$),e.pushAnalyticsEvent({event:e.EVENTS.HEADER_INTERACTION_EVENT,interaction_type:e.EVENTS.INTERACTION_TYPE_CLICK,interaction_label:e.EVENTS.INTERACTION_LABEL_LOG_IN})};(0,P.useEffect)(()=>{document.body.classList.toggle("lockSmallMax",Q||J)},[Q,J]);let eE=ea&&(0,n.jsxs)(G.l8,{"aria-label":(0,V.vW)(ea),"data-testid":"my-account-menu",onClick:()=>{X(!0),(0,C.ow)(A.BL,A.R1)},children:[(0,n.jsx)(G.vx,{children:(0,V.vW)(ea)})," ",(0,n.jsx)(l.Z,{})]}),ew=()=>{et(e=>!e),e.pushAnalyticsEvent({event:e.EVENTS.HEADER_INTERACTION_EVENT,interaction_type:e.EVENTS.INTERACTION_TYPE_CLICK,interaction_label:e.EVENTS.INTERACTION_LABEL_SEARCH}),(0,C.f9)(ee?A.zQ:A.JW,A.HF,A.PW)},eN=(0,f.Z)(),eA=(0,g.Z)(),eC=es?.type===I.h3.FeatureArticle&&es?.subType===O.n_,eF=(0,$.gP)(es);return ef||eb||ex?null:(0,n.jsxs)(G.nS,{$headerMode:eF,$shouldStick:ec,className:"noPrint",children:[(0,n.jsxs)(G.W2,{$headerMode:eF,$isSticky:em,$outOfView:!W&&!ep&&ev>=411,"data-sticky":em,children:[(0,n.jsx)(U.Z,{isNetwork:ei,isOpen:Q,onClose:()=>{K(!1),en(!1)}}),(0,n.jsx)(u.Z,{}),(0,n.jsxs)(G.xZ,{$headerMode:eF,$isHidden:em,children:[eA[F.PERM_FEATURE_FLAG_PIANO_ENABLED]?null:!ea&&(0,n.jsx)(G.oF,{as:N.Z,promotionPrefix:"HI_HL",tracking:ey}),!ea&&!ef&&!eb&&!ex&&(0,n.jsx)(G.Qj,{onClick:eS,children:"Log in"}),eE]}),t||em?(0,n.jsxs)(G.h4,{$alignStartSmallBreakpoint:ek,$headerMode:eF,"data-testid":"header",children:[(0,n.jsxs)(G.xw,{$hasBorderRight:ek,children:[(0,n.jsx)(H.Z,{setShowPrimaryNavigation:K,showPrimaryNavigation:Q}),(0,n.jsxs)(G.QZ,{$isActive:ee,"aria-label":"Toggle search",onClick:()=>ew(),ref:er,children:[(0,n.jsx)("span",{children:"Search"}),eN?(0,n.jsx)(a.Z,{}):(0,n.jsx)(s.Z,{})]},"search")]}),(0,n.jsx)(c.ZP,{type:"component",children:(0,n.jsx)(x.Z,{isLightTheme:(0,$.WX)(eF,em),isLogoSmall:ek})}),(0,n.jsx)(j.Z,{appAccess:ef,appPremiumSubAccess:eb,appSubAccess:ex,flags:eA,openLogin:eS,showButtons:em,showLogInOnly:!1,showPianoButtonOnly:!1,subscribeTracking:ey,user:ea,userButton:eE,userReady:el})]}):(0,n.jsxs)(G.Hw,{children:[(0,n.jsxs)(G.Pb,{children:[(0,n.jsx)(G.Rk,{onClick:()=>{K(!0),en(!0)},children:(0,n.jsx)("span",{children:"Our network"})},"openNav"),(0,n.jsx)(j.Z,{appAccess:ef,appPremiumSubAccess:eb,appSubAccess:ex,flags:eA,openLogin:eS,showButtons:em,showLogInOnly:!0,showPianoButtonOnly:!1,subscribeTracking:ey,user:ea,userButton:eE,userReady:el})]}),(0,n.jsx)(G.M2,{$headerMode:eF}),(0,n.jsxs)(G.h3,{$headerMode:eF,children:[(0,n.jsxs)(G.xw,{children:[(0,n.jsx)(H.Z,{setShowPrimaryNavigation:K,showPrimaryNavigation:Q}),(0,n.jsxs)(G.QZ,{$isActive:ee,"aria-label":"Toggle search",onClick:()=>ew(),ref:er,children:[(0,n.jsx)("span",{children:"Search"}),eN?(0,n.jsx)(a.Z,{}):(0,n.jsx)(s.Z,{})]},"search")]}),(0,n.jsx)(c.ZP,{type:"component",children:(0,n.jsx)(G.vw,{as:x.Z,isLightTheme:(0,$.WX)(eF,em)})}),(0,n.jsx)(j.Z,{appAccess:ef,appPremiumSubAccess:eb,appSubAccess:ex,flags:eA,openLogin:eS,showButtons:em,showLogInOnly:!1,showPianoButtonOnly:!0,subscribeTracking:ey,user:ea,userButton:eE,userReady:el})]})]}),(0,n.jsx)(E.Z,{forceMetroSearch:!0,isOpen:ee,onClose:()=>{et(!1),er.current?.focus()},opener:er}),(0,n.jsx)("nav",{id:"primaryNavigation"}),(0,n.jsx)(b.Z,{isOpen:Y.value===R.CV.LOGIN,onClose:()=>{(0,D.v)(""),(0,R.lF)(R.CV.NONE)},showLoginValue:R.CV.LOGIN}),(0,n.jsx)("nav",{id:"myAccount"}),ea&&(0,n.jsx)(z,{isOpen:J,onClose:()=>{X(!1),(0,C.ow)(A.MG,A.R1)},user:ea}),ea&&(0,n.jsx)(q,{}),(0,n.jsx)("div",{id:"serviceUnavailable"}),(0,n.jsx)(w.Z,{})]}),(0,n.jsx)("div",{ref:eg},"tracker"),r&&eC&&(0,n.jsx)(c.ZP,{type:"component",children:(0,n.jsx)(G.V8,{"aria-label":`${t?"Good Food":"Traveller"} homepage`,href:t?"/goodfood":"/traveller",children:(0,n.jsx)(y.T,{$isDarkTheme:"immersive-light"!==eF,$isLightTheme:"immersive-light"===eF,as:t?o.Z:d.Z})})})]})}},43678:function(e,t,i){i.d(t,{Z:()=>d});var n=i(52322),r=i(98051),a=i(53299),o=i(40577),l=i(2596),s=i(97348);let d=({appAccess:e,appPremiumSubAccess:t,appSubAccess:i,flags:d,openLogin:c,showButtons:u,showLogInOnly:m,showPianoButtonOnly:p,subscribeTracking:g,user:v,userButton:h,userReady:k})=>m?(0,n.jsxs)(s.hA,{$isLoggedIn:!!v,$shouldShowButtons:u,children:[!v&&!e&&!t&&!i&&(0,n.jsx)(s.Qj,{onClick:c,children:"Log in"}),h]}):p?(0,n.jsx)(s.hA,{$isLoggedIn:!!v,$shouldShowButtons:u,children:d[l.PERM_FEATURE_FLAG_PIANO_ENABLED]?!v&&(0,n.jsx)(a.x,{assetType:"",pianoId:r.yj}):k&&!v&&(0,n.jsx)(s.cP,{as:o.Z,promotionPrefix:"HI_HL",tracking:g})}):(0,n.jsxs)(s.hA,{$isLoggedIn:!!v,$shouldShowButtons:u,children:[d[l.PERM_FEATURE_FLAG_PIANO_ENABLED]?!v&&(0,n.jsx)(a.x,{assetType:"",pianoId:r.yj}):k&&!v&&(0,n.jsx)(s.Th,{as:o.Z,promotionPrefix:"HI_HL",tracking:g}),!v&&!e&&!t&&!i&&(0,n.jsx)(s.Qj,{onClick:c,children:"Log in"}),h]})},54631:function(e,t,i){i.d(t,{Z:()=>m});var n,r,a,o=i(52322),l=i(48504),s=i(2784);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let i=()=>{t(!e)};return e?(0,o.jsxs)(u.j2,{onClick:i,children:[(0,o.jsx)("span",{children:"Close navigation menu"}),(0,o.jsx)(l.Z,{})]},"closeNav"):(0,o.jsxs)(u.j2,{onClick:i,children:[(0,o.jsx)("span",{children:"Expand navigation menu"}),(0,o.jsx)(c,{})]},"openNav")}},36239:function(e,t,i){i.d(t,{AK:()=>n.AK,Fs:()=>m,HC:()=>y,I9:()=>v,I_:()=>x,PZ:()=>d,R9:()=>u,Ru:()=>p,Sf:()=>w,Th:()=>E,VY:()=>c,aV:()=>l,fN:()=>h,h4:()=>b,lg:()=>k,lh:()=>S,sZ:()=>f,u_:()=>o,zY:()=>g});var n=i(57872),r=i(79644),a=i(78943);let o=a.ZP.div.withConfig({componentId:"sc-894d9a40-0"})(["background-color:",";color:#fff;inset:0;overflow:auto;position:absolute;transform:translateX(100%);transform-origin:top right;transition:transform 0.2s;transition-timing-function:cubic-bezier(0.4,0,0.2,1);@media ","{border-radius:8px;bottom:auto;left:auto;transform:scale(0) translateX(0);width:280px;}&.ReactModal__Content--after-open{transform:translateX(0);@media ","{transform:scale(1);}}"],({theme:e})=>e.colorBrandOffset,r.Z.query.medium,r.Z.query.medium),l=a.ZP.div.withConfig({componentId:"sc-894d9a40-1"})(["background-color:transparent;inset:0;position:fixed;z-index:",";@media ","{","}"],r.Z.zIndex.myAccountDropDown,r.Z.query.large,r.Z.centre(1168,1e3)),s=(0,a.iv)(["background:linear-gradient( to right,"," 0%,"," 50%,"," 100% );"],({theme:e})=>e.colorSubscriberGlowStart,({theme:e})=>e.colorSubscriberGlowMid,({theme:e})=>e.colorSubscriberGlowEnd),d=a.ZP.button.withConfig({componentId:"sc-894d9a40-2"})(["cursor:pointer;display:block;padding:12px 14px;position:absolute;right:0;top:0;svg{color:#fff;}"]),c=a.ZP.div.withConfig({componentId:"sc-894d9a40-3"})(["position:relative;text-align:left;width:100%;"]),u=a.ZP.div.withConfig({componentId:"sc-894d9a40-4"})(["padding-top:16px;&::after{content:'';display:block;height:3px;margin-top:18px;",";}"],e=>e.isUserSubscribed?s:`background-color: ${e.theme.colorDarkAccent}`),m=a.ZP.div.withConfig({componentId:"sc-894d9a40-5"})(["display:flex;margin-bottom:16px;padding:0 40px 0 24px;"]),p=a.ZP.h3.withConfig({componentId:"sc-894d9a40-6"})(["font-size:16px;font-weight:bold;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),g=a.ZP.span.withConfig({componentId:"sc-894d9a40-7"})(["background:linear-gradient( "," );border-radius:2px;color:",";font-size:9px;font-weight:",";letter-spacing:1px;line-height:12px;margin-left:8px;padding:4px 8px;vertical-align:2px;"],({theme:e})=>`30deg, ${e.colorSubscriberBadgeStart} 0%, ${e.colorSubscriberBadgeEnd} 100%`,({theme:e})=>e.colorSubscriberBadgeText,({theme:e})=>e.fontWeightSubscriberBadge),v=a.ZP.div.withConfig({componentId:"sc-894d9a40-8"})(["color:",";font-size:13px;padding:0 24px;p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"],e=>e.theme.colorMidAccent),h=a.ZP.h4.withConfig({componentId:"sc-894d9a40-9"})(["font-size:13px;font-weight:bold;line-height:16px;"]),k=a.ZP.div.withConfig({componentId:"sc-894d9a40-10"})(["margin-bottom:8px;"]),f=a.ZP.div.withConfig({componentId:"sc-894d9a40-11"})(["background-color:",";border-bottom:1px solid ",";margin-bottom:8px;padding:16px 0;position:relative;"],({theme:e})=>e.colorBrand,({theme:e})=>e.colorDarkAccent),b=a.ZP.div.withConfig({componentId:"sc-894d9a40-12"})(["align-items:center;display:flex;justify-content:space-between;padding-bottom:12px;padding-right:16px;"]),x=a.ZP.h4.withConfig({componentId:"sc-894d9a40-13"})(["font-size:11px;font-weight:normal;letter-spacing:1px;line-height:14px;padding:0 16px;text-transform:uppercase;"]),y=a.ZP.a.withConfig({componentId:"sc-894d9a40-14"})(["color:#fff;cursor:pointer;display:block;font-size:15px;letter-spacing:1px;line-height:15px;padding:16px 24px;text-align:left;text-decoration:none;width:100%;&:focus,&:hover{background-color:",";}"],({theme:e})=>e.colorAccountAction),S=(0,a.ZP)(y).withConfig({componentId:"sc-894d9a40-15"})(["padding:12px 16px;"]),E=(0,a.ZP)(r.Z.ButtonStandard).withConfig({componentId:"sc-894d9a40-16"})(["display:block;margin:16px 24px 8px;padding:12px 16px;text-align:center;"]),w=(0,a.ZP)(n.AK).withConfig({componentId:"sc-894d9a40-17"})(["g{path:last-of-type{fill:",";}}"],({theme:e,$isLightVersion:t})=>t?r.Z.white:e.colorActionDark)},80406:function(e,t,i){let n;i.d(t,{Ok:()=>c,jh:()=>d,vW:()=>s});var r=i(56038);let{IDENTIFICATION:{ACCOUNT_DETAILS_URL:a},NEWSLETTER_API:o,brand:{shortSiteName:l}}=i(31106).Z,s=({email:e,screenName:t})=>t||e?.substr(0,e.indexOf("@"))||"...",d=({CHANNEL_KEY:e,LOGIN_CALLBACK_URL:t,LOGOUT_CALLBACK_URL:i,URL:n})=>`${n}/members/lite_session/new?callback_uri=${encodeURIComponent(`${t}/beta/members/my_account/newsletters?channel_key=${e}`)}%26callback_uri%3D${encodeURIComponent(encodeURIComponent(i))}&channel_key=${e}`,c=[{heading:"Premium",links:[{text:"Today’s Paper",tracking:{"data-ffx-event-action":"cta click","data-ffx-event-attribute":"my account","data-ffx-event-category":"component","data-ffx-event-label":"todays paper","data-ffx-hittype":"event"},url:"/todays-newspaper"},{text:"Good Food Guide",tracking:{"data-ffx-event-action":"cta click","data-ffx-event-attribute":"my account","data-ffx-event-category":"component","data-ffx-event-label":"goodfood guide","data-ffx-hittype":"event"},url:"/goodfood-guide"},{text:"Daily Puzzles",title:"Daily Puzzles & Crosswords",tracking:{"data-ffx-event-action":"cta click","data-ffx-event-attribute":"my account","data-ffx-event-category":"component","data-ffx-event-label":"puzzles","data-ffx-hittype":"event"},url:"/puzzles"},{text:"Daily Quizzes",title:"Daily Quizzes",tracking:{"data-ffx-event-action":"cta click","data-ffx-event-attribute":"my account","data-ffx-event-category":"component","data-ffx-event-label":"quizzes","data-ffx-hittype":"event"},url:"/topic/quizzes-1qx"}]},{links:[{text:"Saved for later",tracking:{"data-ffx-event-action":"","data-ffx-event-attribute":"","data-ffx-event-category":"","data-ffx-event-label":r.RX,"data-ffx-hittype":""},url:"/saved"},{text:"Recently viewed",tracking:{"data-ffx-event-action":"","data-ffx-event-attribute":"","data-ffx-event-category":"","data-ffx-event-label":r.OZ,"data-ffx-hittype":""},url:"/recently-viewed"},{text:"Newsletters",tracking:{"data-ffx-event-action":"","data-ffx-event-attribute":"","data-ffx-event-category":"","data-ffx-event-label":r._g,"data-ffx-hittype":""},url:d(o)},{text:"Subscriber centre",tracking:{"data-ffx-event-action":"","data-ffx-event-attribute":"","data-ffx-event-category":"","data-ffx-event-label":r.Sw,"data-ffx-hittype":""},url:"/subscriber-centre"},{text:"My account",tracking:{"data-ffx-event-action":"","data-ffx-event-attribute":"","data-ffx-event-category":"","data-ffx-event-label":r.jt,"data-ffx-hittype":""},url:(n="","undefined"!=typeof window&&window?.location?.pathname&&(n=window.location.pathname),`${a}&callback_uri=${encodeURIComponent(`https://www.${l}.com.au${n}`)}`)},{text:"Site settings",tracking:{"data-ffx-event-action":"","data-ffx-event-attribute":"","data-ffx-event-category":"","data-ffx-event-label":r.eM,"data-ffx-hittype":""},url:"/preferences/sitesettings"}]}]},99600:function(e,t,i){i.d(t,{PZ:()=>l,aV:()=>a,u_:()=>o});var n=i(79644),r=i(78943);let a=r.ZP.div.withConfig({componentId:"sc-29d54dbd-0"})(["background:none;inset:0;position:fixed;z-index:",";"],n.Z.zIndex.primaryNavigation),o=r.ZP.div.withConfig({componentId:"sc-29d54dbd-1"})(["background:",";bottom:0;left:0;opacity:1;outline:none;overflow:auto;position:absolute;top:93px;transform:translateX(-100%);transform-style:preserve-3d;transition:visibility 0s,opacity 100ms linear,transform 300ms ease-in-out;width:100%;will-change:transform;@media ","{top:0;width:320px;}&.ReactModal__Content--after-open{box-shadow:2px 2px 4px 0 rgb(0 0 0 / 50%);opacity:1;transform:translateX(0);visibility:visible;}"],e=>e.theme.colorBrandOffset,n.Z.query.medium),l=r.ZP.button.withConfig({componentId:"sc-29d54dbd-2"})(["background:none;border:none;cursor:pointer;font-size:0;margin:8px;padding:8px;svg{color:#fff;}@media ","{display:none;}"],n.Z.query.smallMax)},63956:function(e,t,i){i.d(t,{Z:()=>K});var n,r,a=i(52322),o=i(48504),l=i(27302),s=i(37149),d=i.n(s),c=i(99600),u=i(2784);let m=(0,u.createContext)({onClose:void 0});var p=i(32369),g=((n={}).Network="NETWORK",n.Sections="SECTIONS",n),v=i(57872),h=i(76597),k=i(53896);let f=[[{text:"The Sydney Morning Herald",url:"https://www.smh.com.au"},{text:"The Age",url:"https://www.theage.com.au"},{text:"Brisbane Times",url:"https://www.brisbanetimes.com.au"},{text:"WAtoday",url:"https://www.watoday.com.au"},{text:"The Australian Financial Review",url:"https://www.afr.com"}],[{text:"Drive",url:"https://www.drive.com.au"}]],b=()=>{let e=(0,k.TH)();return(0,a.jsxs)("div",{children:[(0,a.jsx)(v.sJ,{children:f[0].map(t=>(0,a.jsx)(v.Ru,{children:(0,a.jsx)(v.Ic,{$isActive:t.url===e.pathname,$isSubLink:!1,as:h.Z,url:t.url,children:t.text})},t.url))}),(0,a.jsx)(v.iz,{}),(0,a.jsx)(v.sJ,{children:f[1].map(t=>(0,a.jsx)(v.Ru,{children:(0,a.jsx)(v.Ic,{$isActive:t.url===e.pathname,$isSubLink:!1,as:h.Z,url:t.url,children:t.text})},t.url))})]})};var x=i(32157);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.replace(/\s+/g,"-").toLowerCase(),j=(e,t,i,n,r,o,l=0)=>2===l?null:e.map(e=>{let s=i===e.url,d=e.children?[(0,a.jsxs)(v.Vh,{$isExpanded:s,"aria-expanded":s,onClick:()=>{n(e.url===i?"":e.url)},type:"button",children:[(0,a.jsx)(v.W5,{children:s?"Hide subsections":"Show subsections"}),(0,a.jsx)(v.e0,{$isExpanded:s,height:"1em",width:"1em"})]},`expand${e.url}`),(0,a.jsx)(v.eb,{$isExpanded:s,"aria-hidden":!s,"aria-labelledby":`section-${G(e.text)}`,children:j(e.children,t,i,n,r,o,l+1)},`children${e.url}`)]:null;return(0,a.jsxs)(v.Ru,{"aria-expanded":0===l?s:null,id:`${l>0?"sub":""}section-${G(e.text)}`,role:"treeitem",children:[(0,a.jsx)(v.Ic,{$isActive:e.url===r.pathname,$isSubLink:1===l,as:h.Z,"data-testid":`section-link-${H(e.text)}`,onClick:(0,A._3)(t,e.url,null,e.text,o),url:e.url,children:e.text}),d]},e.url)}),H=e=>e.replace(/\s+/g,"-").toLowerCase(),V={"data-ffx-event-attribute":"menu","data-ffx-event-category":"component"},U=()=>{var e;let{brand:{shortSiteName:t}}=(0,F.Z)(),i=(0,I.Z)(),{isAndroid:n,isIOS:r,isMobile:o}=(0,T.Z)(),{onClose:l}=(0,u.useContext)(m),s=(0,O.Z)(),d=(e={isAndroid:n,isIOS:r,isMobile:o},[...M[t]??[]].map(t=>({...t,links:t.links.map(t=>({...t,url:"Good Food App"===t.text?(0,A.CJ)(e):t.url}))}))),[c,p]=(0,u.useState)(""),g=(0,k.TH)(),f=(0,P.ZP)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.sJ,{children:j(s,i,c,p,g,f)}),((e,t,i,n,r,o)=>{let l=()=>i[L.TEMP_FEATURE_FLAG_PREMIUM_QUIZZES_ENABLED];return t.map(({heading:t="",links:s})=>(0,a.jsxs)(v.Yb,{children:[t&&(0,a.jsxs)(v.OT,{children:[(0,a.jsx)(v.M$,{children:t}),"Premium"===t&&(0,a.jsx)(v.Y3,{as:_.Z,promotionPrefix:"HI_IL",tracking:V})]}),(0,a.jsx)(v.sJ,{children:s.map(({text:s,title:d,url:c})=>s===(l()?"Quizzes":"Daily Quizzes")&&"watoday"!==e?null:(0,a.jsx)(v.Ru,{children:(0,a.jsxs)(v.Ic,{$isActive:c===n.pathname,$isSubLink:!1,as:h.Z,onClick:(0,A._3)(i,c,r,d,o),title:d,url:c,children:["/todays-newspaper"===c&&(0,a.jsx)(v.AK,{as:w.Z}),("/goodfood-guide"===c||"Good Food App"===s)&&(0,a.jsx)(v.AK,{as:x.Z}),"/puzzles"===c&&(0,a.jsx)(v.AK,{as:"brisbanetimes"===e?S:E.Z}),l()&&"/topic/quizzes-1qx"===c&&"Premium"===t&&(0,a.jsx)(v.AK,{$isLightVersion:!0,as:N.Z}),s]})},c))})]},(0,C.un)(JSON.stringify(s))))})(t,d,i,g,l,f)]})};var $=i(78943);let q=$.ZP.ul.withConfig({componentId:"sc-b0e87ced-0"})(["border-bottom:1px solid ",";font-size:15px;line-height:21px;padding:8px 24px 0;"],e=>e.theme.colorDarkAccent),z=$.ZP.li.withConfig({componentId:"sc-b0e87ced-1"})(["display:inline-block;&:first-child{margin-right:30px;}"]),W=$.ZP.a.withConfig({componentId:"sc-b0e87ced-2"})(["border-style:none;color:",";display:block;font-size:11px;font-weight:bold;letter-spacing:1px;line-height:32px;"," padding:0;text-decoration:none;text-transform:uppercase;&:hover{cursor:pointer;}"],e=>e.theme.colorBrandNavTab,e=>e.selected&&(0,$.iv)(["border-bottom:2px solid #fff;color:#fff;"])),Y=$.ZP.div.withConfig({componentId:"sc-b0e87ced-3"})(["padding:20px 0;"]),Q=({selectedTab:e})=>{let[t,i]=(0,u.useState)(e||g.Sections);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(q,{role:"tablist",children:[(0,a.jsx)(z,{role:"presentation",children:(0,a.jsx)(W,{"aria-controls":"sections","aria-selected":t===g.Sections,onClick:()=>i(g.Sections),role:"tab",selected:t===g.Sections,children:"Sections"})}),(0,a.jsx)(z,{role:"presentation",children:(0,a.jsx)(W,{"aria-controls":"sections","aria-selected":t===g.Network,onClick:()=>i(g.Network),role:"tab",selected:t===g.Network,children:"Network"})})]}),(0,a.jsxs)(Y,{children:[t===g.Sections&&(0,a.jsx)(U,{}),t===g.Network&&(0,a.jsx)(b,{})]})]})},K=({isNetwork:e,isOpen:t,onClose:i})=>(0,l.Z)()?null:(0,a.jsx)(d(),{className:"primaryNavigation",contentElement:(e,t)=>(0,a.jsx)(c.u_,{...e,children:t}),isOpen:t,onRequestClose:i,overlayClassName:"_",overlayElement:(e,t)=>(0,a.jsx)(c.aV,{...e,children:t}),parentSelector:()=>document.getElementById("primaryNavigation"),children:(0,a.jsxs)(m.Provider,{value:{onClose:i},children:[(0,a.jsx)(c.PZ,{"aria-label":"Close",onClick:i,children:(0,a.jsx)(o.Z,{height:"16px",strokeWidth:"3",width:"16px"})}),(0,a.jsx)(p.Z,{searchLayer:"masthead"}),(0,a.jsx)(Q,{selectedTab:e?g.Network:g.Sections})]})})},62555:function(e,t,i){i.d(t,{Az:()=>o,Mj:()=>l,QZ:()=>s,UI:()=>a});var n=i(79644),r=i(78943);let a=r.ZP.form.withConfig({componentId:"sc-a01f11ca-0"})(["margin:8px;label{",";}"],n.Z.visuallyHidden),o=r.ZP.div.withConfig({componentId:"sc-a01f11ca-1"})(["position:relative;"]),l=r.ZP.textarea.withConfig({componentId:"sc-a01f11ca-2"})(["background-color:",";border:0;border-radius:2px;cursor:text;display:block;field-sizing:content;font-size:1rem;line-height:20px;min-height:40px;padding:10px 40px 10px 15px;resize:none;width:100%;"],e=>e.theme.colorLightFill),s=r.ZP.button.withConfig({componentId:"sc-a01f11ca-3"})(["bottom:auto;cursor:pointer;padding:0;position:absolute;right:10px;top:50%;transform:translateY(-50%);"])},32369:function(e,t,i){i.d(t,{Z:()=>p});var n=i(52322),r=i(72488),a=i(68831),o=i(86270),l=i(5014),s=i(25446),d=i(22068),c=i(56038),u=i(81924),m=i(62555);let p=({searchLayer:e})=>{let t=(0,l.Z)();return(0,n.jsxs)(m.UI,{action:"masthead"===e?"/search":"/goodfood/search",method:"GET",onSubmit:()=>{let e=document.getElementById("site-search")?.value;(0,u.CS)(c.ld,e,c.Ds)},children:[t&&(0,n.jsx)(o.Z,{}),(0,n.jsxs)(m.Az,{children:[(0,n.jsx)("label",{htmlFor:"site-search",children:"Search Site"}),t&&(0,n.jsx)("input",{name:"isSemanticSearch",type:"hidden",value:"true"}),(0,n.jsx)(m.Mj,{id:"site-search",maxLength:t?s.y:s.v,name:"text",onKeyDown:d.W,placeholder:t?"Ask a question or search":"Search",rows:1}),(0,n.jsx)(m.QZ,{"aria-label":"submit",type:"submit",value:"Search",children:t?(0,n.jsx)(r.Z,{height:"24px",width:"24px"}):(0,n.jsx)(a.Z,{height:"23px",strokeWidth:"2.5",width:"23px"})})]})]})}},57872:function(e,t,i){i.d(t,{AK:()=>b,Ic:()=>s,M$:()=>f,OT:()=>k,Ru:()=>l,Vh:()=>d,W5:()=>c,Y3:()=>x,Yb:()=>v,e0:()=>u,eb:()=>g,iz:()=>h,sJ:()=>o});var n=i(71074),r=i(79644),a=i(78943);let o=a.ZP.ul.withConfig({componentId:"sc-50878b35-0"})(["a{&:hover,&:focus{color:",";}}"],e=>e.theme.colorBrandNavAction),l=a.ZP.li.withConfig({componentId:"sc-50878b35-1"})(["position:relative;"]),s=a.ZP.a.withConfig({componentId:"sc-50878b35-2"})(["display:block;font-size:15px;letter-spacing:0.4px;line-height:21px;padding:5px 0 6px 24px;",""],e=>e.$isActive&&e.$isSubLink?`color: ${e.theme.colorBrandNavHighlight}`:e.$isActive?`color: ${e.theme.colorBrandNavHighlightOffset}`:e.$isSubLink?`color: ${e.theme.colorBrandNavSubsectionLink}`:"color: #fff"),d=a.ZP.button.withConfig({componentId:"sc-50878b35-3"})(["border-style:none;cursor:pointer;height:100%;max-height:34px;"," padding:10px 20px;position:absolute;right:0;top:0;svg{color:",";}"],e=>e.$isExpanded&&`background-color: ${e.theme.colorBrandNavSubsection};`,e=>e.$isExpanded?e.theme.colorAction:"#fff"),c=a.ZP.span.withConfig({componentId:"sc-50878b35-4"})(["",""],r.Z.visuallyHidden),u=(0,a.ZP)(n.Z).withConfig({componentId:"sc-50878b35-5"})([""," stroke-width:1;transition:transform 300ms ease-in 0s;vertical-align:top;"],e=>e.$isExpanded&&"transform: rotate(-180deg);"),m=(0,a.iv)(["max-height:0;opacity:0;visibility:hidden;"]),p=(0,a.iv)(["max-height:600px;opacity:1;padding:8px 0;visibility:visible;"]),g=a.ZP.ul.withConfig({componentId:"sc-50878b35-6"})(["background-color:",";"," transition:all 300ms ease-in;a{&:hover,&:focus{color:",";}}"],e=>e.theme.colorBrandNavSubsection,e=>e.$isExpanded?p:m,e=>e.theme.colorBrandNavSubsectionAction),v=a.ZP.div.withConfig({componentId:"sc-50878b35-7"})(["margin-top:16px;"]),h=a.ZP.div.withConfig({componentId:"sc-50878b35-8"})(["border-top:1px solid ",";margin:8px 24px 0;padding-top:8px;"],e=>e.theme.colorDarkAccent),k=a.ZP.header.withConfig({componentId:"sc-50878b35-9"})(["border-top:1px solid ",";margin:0 24px 12px;padding-top:8px;position:relative;"],e=>e.theme.colorDarkAccent),f=a.ZP.h4.withConfig({componentId:"sc-50878b35-10"})(["color:#fff;font-size:11px;font-weight:bold;letter-spacing:1px;line-height:14px;text-transform:uppercase;"]),b=a.ZP.svg.withConfig({componentId:"sc-50878b35-11"})(["margin-right:12px;position:relative;top:-2px;",""],e=>e.$isLightVersion&&"color: #fff;"),x=a.ZP.button.withConfig({componentId:"sc-50878b35-12"})(["font-size:11px;line-height:14px;padding:8px;position:absolute;right:0;top:8px;"])},89190:function(e,t,i){i.d(t,{Z:()=>a});var n=i(56111);let r={brisbanetimes:JSON.parse('[{"text":"Home","url":"/"},{"text":"Brisbane","url":"/brisbane-news"},{"text":"Queensland","url":"/national/queensland"},{"text":"Politics","url":"/politics","children":[{"text":"Federal","url":"/politics/federal"},{"text":"Queensland","url":"/politics/queensland"},{"text":"NSW","url":"/politics/nsw"},{"text":"Victoria","url":"/politics/victoria"},{"name":"WA","text":"Western Australia","url":"/politics/western-australia"}]},{"text":"Business","url":"/business","children":[{"text":"Companies","url":"/business/companies"},{"text":"Markets","url":"/business/markets"},{"text":"The economy","url":"/business/the-economy"},{"text":"Banking & finance","url":"/business/banking-and-finance"},{"text":"Small business","url":"/business/small-business"},{"text":"Media","url":"/topic/media-and-marketing-5z7"},{"text":"Workplace","url":"/business/workplace"}]},{"text":"World","url":"/world","children":[{"text":"North America","url":"/world/north-america"},{"text":"Europe","url":"/world/europe"},{"text":"Asia","url":"/world/asia"},{"text":"Middle East","url":"/world/middle-east"},{"text":"Oceania","url":"/world/oceania"},{"text":"South America","url":"/world/south-america"},{"text":"Africa","url":"/world/africa"}]},{"text":"National","url":"/national","children":[{"text":"NSW","url":"/national/nsw"},{"text":"Victoria","url":"/national/victoria"},{"name":"WA","text":"Western Australia","url":"/national/western-australia"}]},{"text":"Opinion","url":"/opinion"},{"text":"Property","url":"/property","children":[{"text":"News","url":"/property/news"},{"text":"Living","url":"/property/living"},{"text":"Auctions","url":"/topic/auctions-1nq1"},{"text":"Financing","url":"/topic/financing-1nq2"}]},{"text":"Sport","url":"/sport","children":[{"text":"NRL","url":"/sport/nrl","children":[{"text":"Fixtures","url":"/sport/nrl/fixtures"},{"text":"Ladder","url":"/sport/nrl/ladder"},{"text":"Expert tips","url":"/sport/nrl/expert-tips"}]},{"text":"Rugby union","url":"/sport/rugby-union","children":[{"text":"Fixtures","url":"/sport/rugby-union/fixtures"},{"text":"Ladder","url":"/sport/rugby-union/ladder"}]},{"text":"AFL","url":"/sport/afl","children":[{"text":"Fixture","url":"/sport/afl/fixture"},{"text":"Ladder","url":"/sport/afl/ladder"},{"text":"Expert tips","url":"/sport/afl/expert-tips"},{"text":"Real Footy podcast","url":"https://omny.fm/shows/real-footy/playlists/podcast"}]},{"text":"Cricket","url":"/sport/cricket","children":[{"text":"Live scores","url":"/sport/cricket/live-scores"}]},{"text":"Soccer","url":"/sport/soccer"},{"text":"Racing","url":"/sport/racing"},{"text":"Tennis","url":"/sport/tennis","children":[{"text":"Live scores","url":"/sport/tennis/live-scores"}]},{"text":"Netball","url":"/sport/netball","children":[{"text":"Expert tips","url":"/sport/netball/expert-tips"}]},{"text":"Basketball","url":"/sport/basketball"},{"text":"Motorsport","url":"/sport/motorsport"},{"text":"Cycling","url":"/sport/cycling"},{"text":"Golf","url":"/sport/golf"},{"text":"NFL","url":"/sport/nfl"},{"text":"Athletics","url":"/sport/athletics"},{"text":"Swimming","url":"/sport/swimming"},{"text":"Boxing","url":"/sport/boxing"}]},{"text":"Good Food","url":"/goodfood","children":[{"text":"Recipes","url":"/goodfood/recipes"},{"text":"Tips & advice","url":"/goodfood/tips-and-advice"},{"text":"Eating out","url":"/goodfood/brisbane-eating-out"},{"text":"Drinks","url":"/goodfood/drinks"}]},{"text":"Culture","url":"/culture","children":[{"text":"Movies","url":"/culture/movies"},{"text":"TV & radio","url":"/culture/tv-and-radio","children":[{"text":"TV guide","url":"https://tvguide.brisbanetimes.com.au"}]},{"text":"Music","url":"/culture/music"},{"text":"Celebrity","url":"/culture/celebrity"},{"text":"Books","url":"/culture/books"},{"text":"Comedy","url":"/culture/comedy"},{"text":"Dance","url":"/culture/dance"},{"text":"Musicals","url":"/culture/musicals"},{"text":"Opera","url":"/culture/opera"},{"text":"Theatre","url":"/culture/theatre"},{"text":"Art & design","url":"/culture/art-and-design"},{"text":"TV guide","url":"https://tvguide.brisbanetimes.com.au"}]},{"text":"Lifestyle","url":"/lifestyle","children":[{"text":"Health & wellness","url":"/lifestyle/health-and-wellness"},{"text":"Fashion","url":"/lifestyle/fashion"},{"text":"Life & relationships","url":"/lifestyle/life-and-relationships"},{"text":"Beauty","url":"/lifestyle/beauty"},{"text":"Style","url":"/topic/style-luxury-1nij"},{"text":"Horoscopes","url":"/topic/horoscopes-5yc"}]},{"text":"Traveller","url":"/traveller","children":[{"text":"Destination guides","url":"/traveller/inspiration/destination-guides"},{"text":"Inspiration","url":"/traveller/inspiration"},{"text":"Reviews & advice","url":"/traveller/reviews-and-advice"},{"text":"Travel news","url":"/traveller/travel-news"}]},{"text":"Good Weekend","url":"/good-weekend"},{"text":"Sunday Life","url":"/sunday-life"},{"text":"Money","url":"/money","children":[{"text":"Super & retirement","url":"/money/super-and-retirement"},{"text":"Investing","url":"/money/investing"},{"text":"Banking","url":"/money/banking"},{"text":"Borrowing","url":"/money/borrowing"},{"text":"Saving","url":"/money/saving"},{"text":"Tax","url":"/money/tax"},{"text":"Planning & budgeting","url":"/money/planning-and-budgeting"},{"text":"Insurance","url":"/money/insurance"}]},{"text":"Education","url":"/education"},{"text":"Healthcare","url":"/healthcare"},{"text":"Environment","url":"/environment","children":[{"text":"Conservation","url":"/environment/conservation"},{"text":"Climate change","url":"/environment/climate-change"},{"text":"Sustainability","url":"/environment/sustainability"},{"text":"Weather","url":"/environment/weather"}]},{"text":"Technology","url":"/technology","children":[{"text":"Video games","url":"/technology/video-games"},{"text":"Home tech","url":"/topic/home-technology-hqq"},{"text":"Phones","url":"/topic/phones-5zt"},{"text":"Gadgets","url":"/topic/gadgets-hqp"}]},{"text":"Drive","url":"https://www.drive.com.au"}]'),smh:JSON.parse('[{"text":"Home","url":"/"},{"text":"Sydney","url":"/sydney-news"},{"text":"NSW","url":"/national/nsw"},{"text":"Politics","url":"/politics","children":[{"text":"Federal","url":"/politics/federal"},{"text":"NSW","url":"/politics/nsw"},{"text":"Victoria","url":"/politics/victoria"},{"text":"Queensland","url":"/politics/queensland"},{"name":"WA","text":"Western Australia","url":"/politics/western-australia"}]},{"text":"Business","url":"/business","children":[{"text":"Companies","url":"/business/companies"},{"text":"Markets","url":"/business/markets"},{"text":"The economy","url":"/business/the-economy"},{"text":"Banking & finance","url":"/business/banking-and-finance"},{"text":"Small business","url":"/business/small-business"},{"text":"Media","url":"/topic/media-and-marketing-5z7"},{"text":"Workplace","url":"/business/workplace"}]},{"text":"World","url":"/world","children":[{"text":"North America","url":"/world/north-america"},{"text":"Europe","url":"/world/europe"},{"text":"Asia","url":"/world/asia"},{"text":"Middle East","url":"/world/middle-east"},{"text":"Oceania","url":"/world/oceania"},{"text":"South America","url":"/world/south-america"},{"text":"Africa","url":"/world/africa"}]},{"text":"National","url":"/national","children":[{"text":"Victoria","url":"/national/victoria"},{"text":"Queensland","url":"/national/queensland"},{"name":"WA","text":"Western Australia","url":"/national/western-australia"}]},{"text":"Opinion","url":"/opinion"},{"text":"Property","url":"/property","children":[{"text":"News","url":"/property/news"},{"text":"Domain Magazine","url":"/domain-magazine"},{"text":"Title Deeds","url":"/topic/title-deeds-1nq0"},{"text":"Living","url":"/property/living"},{"text":"Auctions","url":"/topic/auctions-1nq1"},{"text":"Financing","url":"/topic/financing-1nq2"}]},{"text":"Sport","url":"/sport","children":[{"text":"NRL","url":"/sport/nrl","children":[{"text":"Fixtures","url":"/sport/nrl/fixtures"},{"text":"Ladder","url":"/sport/nrl/ladder"},{"text":"Expert tips","url":"/sport/nrl/expert-tips"}]},{"text":"Rugby union","url":"/sport/rugby-union","children":[{"text":"Fixtures","url":"/sport/rugby-union/fixtures"},{"text":"Ladder","url":"/sport/rugby-union/ladder"}]},{"text":"Cricket","url":"/sport/cricket","children":[{"text":"Live scores","url":"/sport/cricket/live-scores"}]},{"text":"Soccer","url":"/sport/soccer"},{"text":"AFL","url":"/sport/afl","children":[{"text":"Fixture","url":"/sport/afl/fixture"},{"text":"Ladder","url":"/sport/afl/ladder"},{"text":"Expert tips","url":"/sport/afl/expert-tips"},{"text":"Real Footy podcast","url":"https://omny.fm/shows/real-footy/playlists/podcast"}]},{"text":"Racing","url":"/sport/racing"},{"text":"Tennis","url":"/sport/tennis","children":[{"text":"Live scores","url":"/sport/tennis/live-scores"}]},{"text":"Netball","url":"/sport/netball","children":[{"text":"Expert tips","url":"/sport/netball/expert-tips"}]},{"text":"Basketball","url":"/sport/basketball"},{"text":"Motorsport","url":"/sport/motorsport"},{"text":"Cycling","url":"/sport/cycling"},{"text":"Golf","url":"/sport/golf"},{"text":"NFL","url":"/sport/nfl"},{"text":"Athletics","url":"/sport/athletics"},{"text":"Swimming","url":"/sport/swimming"},{"text":"Boxing","url":"/sport/boxing"}]},{"text":"Good Food","url":"/goodfood","children":[{"text":"Eating out","url":"/goodfood/sydney-eating-out"},{"text":"Recipes","url":"/goodfood/recipes"},{"text":"Tips & advice","url":"/goodfood/tips-and-advice"},{"text":"Drinks","url":"/goodfood/drinks"}]},{"text":"Culture","url":"/culture","children":[{"text":"Movies","url":"/culture/movies"},{"text":"TV & radio","url":"/culture/tv-and-radio","children":[{"text":"TV guide","url":"https://tvguide.smh.com.au"}]},{"text":"Music","url":"/culture/music"},{"text":"Celebrity","url":"/culture/celebrity"},{"text":"Books","url":"/culture/books"},{"text":"Comedy","url":"/culture/comedy"},{"text":"Dance","url":"/culture/dance"},{"text":"Musicals","url":"/culture/musicals"},{"text":"Opera","url":"/culture/opera"},{"text":"Theatre","url":"/culture/theatre"},{"text":"Art & design","url":"/culture/art-and-design"},{"text":"TV guide","url":"https://tvguide.smh.com.au"}]},{"text":"Lifestyle","url":"/lifestyle","children":[{"text":"Health & wellness","url":"/lifestyle/health-and-wellness"},{"text":"Fashion","url":"/lifestyle/fashion"},{"text":"Life & relationships","url":"/lifestyle/life-and-relationships"},{"text":"Beauty","url":"/lifestyle/beauty"},{"text":"Style","url":"/topic/style-luxury-1nij"},{"text":"Horoscopes","url":"/topic/horoscopes-5yc"}]},{"text":"Traveller","url":"/traveller","children":[{"text":"Destination guides","url":"/traveller/inspiration/destination-guides"},{"text":"Inspiration","url":"/traveller/inspiration"},{"text":"Reviews & advice","url":"/traveller/reviews-and-advice"},{"text":"Travel news","url":"/traveller/travel-news"}]},{"text":"Good Weekend","url":"/good-weekend"},{"text":"Spectrum","url":"/topic/spectrum-smh-hog"},{"text":"Sunday Life","url":"/sunday-life"},{"text":"Money","url":"/money","children":[{"text":"Super & retirement","url":"/money/super-and-retirement"},{"text":"Investing","url":"/money/investing"},{"text":"Banking","url":"/money/banking"},{"text":"Borrowing","url":"/money/borrowing"},{"text":"Saving","url":"/money/saving"},{"text":"Tax","url":"/money/tax"},{"text":"Planning & budgeting","url":"/money/planning-and-budgeting"},{"text":"Insurance","url":"/money/insurance"}]},{"text":"Education","url":"/education"},{"text":"Healthcare","url":"/healthcare"},{"text":"Environment","url":"/environment","children":[{"text":"Conservation","url":"/environment/conservation"},{"text":"Climate change","url":"/environment/climate-change"},{"text":"Sustainability","url":"/environment/sustainability"},{"text":"Weather","url":"/environment/weather"}]},{"text":"Technology","url":"/technology","children":[{"text":"Video games","url":"/technology/video-games"},{"text":"Home tech","url":"/topic/home-technology-hqq"},{"text":"Phones","url":"/topic/phones-5zt"},{"text":"Gadgets","url":"/topic/gadgets-hqp"}]},{"text":"Drive","url":"https://www.drive.com.au"}]'),theage:JSON.parse('[{"text":"Home","url":"/"},{"text":"Melbourne","url":"/melbourne-news"},{"text":"Victoria","url":"/national/victoria"},{"text":"Politics","url":"/politics","children":[{"text":"Federal","url":"/politics/federal"},{"text":"Victoria","url":"/politics/victoria"},{"text":"NSW","url":"/politics/nsw"},{"text":"Queensland","url":"/politics/queensland"},{"name":"WA","text":"Western Australia","url":"/politics/western-australia"}]},{"text":"Business","url":"/business","children":[{"text":"Companies","url":"/business/companies"},{"text":"Markets","url":"/business/markets"},{"text":"The economy","url":"/business/the-economy"},{"text":"Banking & finance","url":"/business/banking-and-finance"},{"text":"Small business","url":"/business/small-business"},{"text":"Media","url":"/topic/media-and-marketing-5z7"},{"text":"Workplace","url":"/business/workplace"}]},{"text":"World","url":"/world","children":[{"text":"North America","url":"/world/north-america"},{"text":"Europe","url":"/world/europe"},{"text":"Asia","url":"/world/asia"},{"text":"Middle East","url":"/world/middle-east"},{"text":"Oceania","url":"/world/oceania"},{"text":"South America","url":"/world/south-america"},{"text":"Africa","url":"/world/africa"}]},{"text":"National","url":"/national","children":[{"text":"NSW","url":"/national/nsw"},{"text":"Queensland","url":"/national/queensland"},{"name":"WA","text":"Western Australia","url":"/national/western-australia"}]},{"text":"Opinion","url":"/opinion"},{"text":"Property","url":"/property","children":[{"text":"News","url":"/property/news"},{"text":"Domain Magazine","url":"/domain-magazine"},{"text":"Living","url":"/property/living"},{"text":"Auctions","url":"/topic/auctions-1nq1"},{"text":"Financing","url":"/topic/financing-1nq2"}]},{"text":"Sport","url":"/sport","children":[{"text":"AFL","url":"/sport/afl","children":[{"text":"Fixture","url":"/sport/afl/fixture"},{"text":"Ladder","url":"/sport/afl/ladder"},{"text":"Expert tips","url":"/sport/afl/expert-tips"},{"text":"Real Footy podcast","url":"https://omny.fm/shows/real-footy/playlists/podcast"}]},{"text":"Cricket","url":"/sport/cricket","children":[{"text":"Live scores","url":"/sport/cricket/live-scores"}]},{"text":"Soccer","url":"/sport/soccer"},{"text":"Racing","url":"/sport/racing"},{"text":"Tennis","url":"/sport/tennis","children":[{"text":"Live scores","url":"/sport/tennis/live-scores"}]},{"text":"NRL","url":"/sport/nrl","children":[{"text":"Fixtures","url":"/sport/nrl/fixtures"},{"text":"Ladder","url":"/sport/nrl/ladder"},{"text":"Expert tips","url":"/sport/nrl/expert-tips"}]},{"text":"Rugby union","url":"/sport/rugby-union","children":[{"text":"Fixtures","url":"/sport/rugby-union/fixtures"},{"text":"Ladder","url":"/sport/rugby-union/ladder"}]},{"text":"Netball","url":"/sport/netball","children":[{"text":"Expert tips","url":"/sport/netball/expert-tips"}]},{"text":"Basketball","url":"/sport/basketball"},{"text":"Motorsport","url":"/sport/motorsport"},{"text":"Cycling","url":"/sport/cycling"},{"text":"Golf","url":"/sport/golf"},{"text":"NFL","url":"/sport/nfl"},{"text":"Athletics","url":"/sport/athletics"},{"text":"Swimming","url":"/sport/swimming"},{"text":"Boxing","url":"/sport/boxing"}]},{"text":"Good Food","url":"/goodfood","children":[{"text":"Eating out","url":"/goodfood/melbourne-eating-out"},{"text":"Recipes","url":"/goodfood/recipes"},{"text":"Tips & advice","url":"/goodfood/tips-and-advice"},{"text":"Drinks","url":"/goodfood/drinks"}]},{"text":"Culture","url":"/culture","children":[{"text":"Movies","url":"/culture/movies"},{"text":"TV & radio","url":"/culture/tv-and-radio","children":[{"text":"TV guide","url":"https://tvguide.theage.com.au"}]},{"text":"Music","url":"/culture/music"},{"text":"Celebrity","url":"/culture/celebrity"},{"text":"Books","url":"/culture/books"},{"text":"Comedy","url":"/culture/comedy"},{"text":"Dance","url":"/culture/dance"},{"text":"Musicals","url":"/culture/musicals"},{"text":"Opera","url":"/culture/opera"},{"text":"Theatre","url":"/culture/theatre"},{"text":"Art & design","url":"/culture/art-and-design"},{"text":"TV guide","url":"https://tvguide.theage.com.au"}]},{"text":"Lifestyle","url":"/lifestyle","children":[{"text":"Health & wellness","url":"/lifestyle/health-and-wellness"},{"text":"Fashion","url":"/lifestyle/fashion"},{"text":"Life & relationships","url":"/lifestyle/life-and-relationships"},{"text":"Beauty","url":"/lifestyle/beauty"},{"text":"Style","url":"/topic/style-luxury-1nij"},{"text":"Horoscopes","url":"/topic/horoscopes-5yc"}]},{"text":"Traveller","url":"/traveller","children":[{"text":"Destination guides","url":"/traveller/inspiration/destination-guides"},{"text":"Inspiration","url":"/traveller/inspiration"},{"text":"Reviews & advice","url":"/traveller/reviews-and-advice"},{"text":"Travel news","url":"/traveller/travel-news"}]},{"text":"Good Weekend","url":"/good-weekend"},{"text":"Spectrum","url":"/topic/spectrum--age-only--1nln"},{"text":"Sunday Life","url":"/sunday-life"},{"text":"Money","url":"/money","children":[{"text":"Super & retirement","url":"/money/super-and-retirement"},{"text":"Investing","url":"/money/investing"},{"text":"Banking","url":"/money/banking"},{"text":"Borrowing","url":"/money/borrowing"},{"text":"Saving","url":"/money/saving"},{"text":"Tax","url":"/money/tax"},{"text":"Planning & budgeting","url":"/money/planning-and-budgeting"},{"text":"Insurance","url":"/money/insurance"}]},{"text":"Education","url":"/education"},{"text":"Healthcare","url":"/healthcare"},{"text":"Environment","url":"/environment","children":[{"text":"Conservation","url":"/environment/conservation"},{"text":"Climate change","url":"/environment/climate-change"},{"text":"Sustainability","url":"/environment/sustainability"},{"text":"Weather","url":"/environment/weather"}]},{"text":"Technology","url":"/technology","children":[{"text":"Video games","url":"/technology/video-games"},{"text":"Home tech","url":"/topic/home-technology-hqq"},{"text":"Phones","url":"/topic/phones-5zt"},{"text":"Gadgets","url":"/topic/gadgets-hqp"}]},{"text":"Drive","url":"https://www.drive.com.au"}]'),watoday:JSON.parse('[{"text":"Home","url":"/"},{"text":"Perth","url":"/perth-news"},{"name":"WA","text":"Western Australia","url":"/national/western-australia"},{"text":"Politics","url":"/politics","children":[{"text":"Federal","url":"/politics/federal"},{"name":"WA","text":"Western Australia","url":"/politics/western-australia"},{"text":"NSW","url":"/politics/nsw"},{"text":"Victoria","url":"/politics/victoria"},{"text":"Queensland","url":"/politics/queensland"}]},{"text":"Business","url":"/business","children":[{"text":"Companies","url":"/business/companies"},{"text":"Markets","url":"/business/markets"},{"text":"The economy","url":"/business/the-economy"},{"text":"Banking & finance","url":"/business/banking-and-finance"},{"text":"Small business","url":"/business/small-business"},{"text":"Media","url":"/topic/media-and-marketing-5z7"},{"text":"Workplace","url":"/business/workplace"}]},{"text":"World","url":"/world","children":[{"text":"North America","url":"/world/north-america"},{"text":"Europe","url":"/world/europe"},{"text":"Asia","url":"/world/asia"},{"text":"Middle East","url":"/world/middle-east"},{"text":"Oceania","url":"/world/oceania"},{"text":"South America","url":"/world/south-america"},{"text":"Africa","url":"/world/africa"}]},{"text":"National","url":"/national","children":[{"text":"NSW","url":"/national/nsw"},{"text":"Victoria","url":"/national/victoria"},{"text":"Queensland","url":"/national/queensland"}]},{"text":"Opinion","url":"/opinion"},{"text":"Property","url":"/property","children":[{"text":"News","url":"/property/news"},{"text":"Living","url":"/property/living"},{"text":"Auctions","url":"/topic/auctions-1nq1"},{"text":"Financing","url":"/topic/financing-1nq2"}]},{"text":"Sport","url":"/sport","children":[{"text":"AFL","url":"/sport/afl","children":[{"text":"Fixture","url":"/sport/afl/fixture"},{"text":"Ladder","url":"/sport/afl/ladder"},{"text":"Expert tips","url":"/sport/afl/expert-tips"},{"text":"Real Footy podcast","url":"https://omny.fm/shows/real-footy/playlists/podcast"}]},{"text":"Rugby union","url":"/sport/rugby-union","children":[{"text":"Fixtures","url":"/sport/rugby-union/fixtures"},{"text":"Ladder","url":"/sport/rugby-union/ladder"}]},{"text":"Cricket","url":"/sport/cricket","children":[{"text":"Live scores","url":"/sport/cricket/live-scores"}]},{"text":"Soccer","url":"/sport/soccer"},{"text":"Racing","url":"/sport/racing"},{"text":"Tennis","url":"/sport/tennis","children":[{"text":"Live scores","url":"/sport/tennis/live-scores"}]},{"text":"NRL","url":"/sport/nrl","children":[{"text":"Fixtures","url":"/sport/nrl/fixtures"},{"text":"Ladder","url":"/sport/nrl/ladder"},{"text":"Expert tips","url":"/sport/nrl/expert-tips"}]},{"text":"Netball","url":"/sport/netball","children":[{"text":"Expert tips","url":"/sport/netball/expert-tips"}]},{"text":"Basketball","url":"/sport/basketball"},{"text":"Motorsport","url":"/sport/motorsport"},{"text":"Cycling","url":"/sport/cycling"},{"text":"Golf","url":"/sport/golf"},{"text":"NFL","url":"/sport/nfl"},{"text":"Athletics","url":"/sport/athletics"},{"text":"Swimming","url":"/sport/swimming"},{"text":"Boxing","url":"/sport/boxing"}]},{"text":"Good Food","url":"/goodfood","children":[{"text":"Recipes","url":"/goodfood/recipes"},{"text":"Tips & advice","url":"/goodfood/tips-and-advice"},{"text":"Eating out","url":"/goodfood/perth-eating-out"},{"text":"Drinks","url":"/goodfood/drinks"}]},{"text":"Culture","url":"/culture","children":[{"text":"Movies","url":"/culture/movies"},{"text":"TV & radio","url":"/culture/tv-and-radio","children":[{"text":"TV guide","url":"https://tvguide.watoday.com.au"}]},{"text":"Music","url":"/culture/music"},{"text":"Celebrity","url":"/culture/celebrity"},{"text":"Books","url":"/culture/books"},{"text":"Comedy","url":"/culture/comedy"},{"text":"Dance","url":"/culture/dance"},{"text":"Musicals","url":"/culture/musicals"},{"text":"Opera","url":"/culture/opera"},{"text":"Theatre","url":"/culture/theatre"},{"text":"Art & design","url":"/culture/art-and-design"},{"text":"TV guide","url":"https://tvguide.watoday.com.au"}]},{"text":"Lifestyle","url":"/lifestyle","children":[{"text":"Health & wellness","url":"/lifestyle/health-and-wellness"},{"text":"Fashion","url":"/lifestyle/fashion"},{"text":"Life & relationships","url":"/lifestyle/life-and-relationships"},{"text":"Beauty","url":"/lifestyle/beauty"},{"text":"Style","url":"/topic/style-luxury-1nij"},{"text":"Horoscopes","url":"/topic/horoscopes-5yc"}]},{"text":"Traveller","url":"/traveller","children":[{"text":"Destination guides","url":"/traveller/inspiration/destination-guides"},{"text":"Inspiration","url":"/traveller/inspiration"},{"text":"Reviews & advice","url":"/traveller/reviews-and-advice"},{"text":"Travel news","url":"/traveller/travel-news"}]},{"text":"Good Weekend","url":"/good-weekend"},{"text":"Sunday Life","url":"/sunday-life"},{"text":"Money","url":"/money","children":[{"text":"Super & retirement","url":"/money/super-and-retirement"},{"text":"Investing","url":"/money/investing"},{"text":"Banking","url":"/money/banking"},{"text":"Borrowing","url":"/money/borrowing"},{"text":"Saving","url":"/money/saving"},{"text":"Tax","url":"/money/tax"},{"text":"Planning & budgeting","url":"/money/planning-and-budgeting"},{"text":"Insurance","url":"/money/insurance"}]},{"text":"Education","url":"/education"},{"text":"Healthcare","url":"/healthcare"},{"text":"Environment","url":"/environment","children":[{"text":"Conservation","url":"/environment/conservation"},{"text":"Climate change","url":"/environment/climate-change"},{"text":"Sustainability","url":"/environment/sustainability"},{"text":"Weather","url":"/environment/weather"}]},{"text":"Technology","url":"/technology","children":[{"text":"Video games","url":"/technology/video-games"},{"text":"Home tech","url":"/topic/home-technology-hqq"},{"text":"Phones","url":"/topic/phones-5zt"},{"text":"Gadgets","url":"/topic/gadgets-hqp"}]},{"text":"Drive","url":"https://www.drive.com.au"}]')},a=()=>{let{brand:e}=(0,n.Z)();return JSON.parse(JSON.stringify(r[e.shortSiteName]))}},56933:function(e,t,i){i.d(t,{CJ:()=>p,WX:()=>u,_3:()=>d,gP:()=>m,zu:()=>c});var n=i(11402),r=i(2596),a=i(84641),o=i(59944),l=i(72649);let s={"/domain-magazine":r.PERM_FEATURE_FLAG_DOMAIN_MAGAZINE_UNAVAILABLE,"/goodfood-guide":r.PERM_FEATURE_FLAG_GOODFOOD_GUIDE_UNAVAILABLE,"/todays-newspaper":r.PERM_FEATURE_FLAG_TODAYS_PAPER_UNAVAILABLE},d=(e,t,i,r,a)=>l=>{s[t]&&e[s[t]]&&(l.preventDefault(),i&&i(),(0,o.l)(!0)),""!==r&&a&&a.pushAnalyticsEvent({event:n._G.MENU_NAVIGATION_EVENT,click_text:r,click_url:t})},c=e=>"immersive-light"===e||"immersive-dark"===e,u=(e,t)=>{switch(e){case"immersive-light":return!t;case"portrait-collection":return!0;default:return!1}},m=e=>e?.type===a.h3.Collection&&e?.extensions?.header?.variant==="PORTRAIT"?"portrait-collection":e?.type===a.h3.FeatureArticle&&e?.subType===l.n_?e?.extensions?.header?.theme==="LIGHT"?"immersive-light":"immersive-dark":"default",p=e=>{let{isAndroid:t,isIOS:i,isMobile:n}=e;if(n){if(i)return"https://apps.apple.com/au/app/good-food/id6472001316";if(t)return"https://play.google.com/store/apps/details?id=au.com.nine.goodfood&hl=en_AU"}return"/goodfood/app-download"}},47765:function(e,t,i){i.d(t,{HI:()=>u,S1:()=>c,un:()=>d});var n=i(52322),r=i(19565),a=i(60055),o=i(12641);let l=(0,r.ZP)({resolved:{},chunkName:()=>"components-NewsletterCTACompact-NewsletterCTACompact",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("7906").then(i.bind(i,43980)),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 i(this.resolve(e))},resolve:()=>43980}),s=(0,r.ZP)({resolved:{},chunkName:()=>"components-TravellerArticleNewsletterCTA-TravellerArticleNewsletterCTA",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("9702").then(i.bind(i,79452)),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 i(this.resolve(e))},resolve:()=>79452}),d=e=>{let t=0;for(let i=0,n=e.length;ie.slice(t,Math.min(i,e.length)),u=(e,t,i,r,d,c)=>{if(c||!t&&!i)return null;let u=t?(0,a.Uu)(e.category?.name||""):void 0,m=i&&e.category?(0,o.A$)(e.category):void 0;if(!u&&!m)return null;let p=e.body.blocks,g=p.some(e=>"IMAGE"===e.type||"IMAGES"===e.type)?6:5,v=0,h=-1;for(let e=0;ed)return null;let k=h-r-1,f=null;return(u?f=(0,n.jsx)(l,{type:u},"inline-newsletter"):m&&(f=(0,n.jsx)(s,{newsletterType:m},"inline-newsletter")),f)?{insertAfterIndex:k,component:f}:null}},45027:function(e,t,i){i.d(t,{Fr:()=>s,LG:()=>l,kx:()=>r,sm:()=>o,yT:()=>a});var n=i(72649);let r=e=>{let t=/.*-(\w+)/.exec(e);return t?.[1]||""},a=({name:e,publicId:t},i)=>{let r=`/by/${e.replace(/\W+/g,"-").toLowerCase()}-${t}`;return i===n.AX?`/goodfood${r}`:i===n.zE?`/traveller${r}`:r},o=({publicId:e})=>`//www.facebook.com${e?`/${e}`:""}`,l=({publicId:e})=>`//x.com${e?`/${e}`:""}?lang=en`,s=e=>`mailto:${e}`},52392:function(e,t,i){i.d(t,{Ll:()=>o,ZP:()=>l,t$:()=>a});var n=i(23539),r=i(52115);let a=5,o={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!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(r.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}}}'}}},l=(e,t=a)=>(0,n.a)(o,{variables:{input:{publicId:e},parentLimit:t}})},95145:function(e,t,i){i.d(t,{Z:()=>o,d:()=>a});var n=i(23539),r=i(52115);let a={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!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(r.Os.definitions,r.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}}}"}}},o=(e,t,i)=>(0,n.a)(a,{skip:i,variables:{input:{publicId:e},parentPublicId:t}})},32228:function(e,t,i){i.d(t,{Z:()=>o,d:()=>a});var n=i(23539),r=i(52115);let a={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!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(r.WV.definitions,r.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}}}"}}},o=(e,t="")=>(0,n.a)(a,{variables:{input:{publicId:e},parentPublicId:t}})},71399:function(e,t,i){let n;i.d(t,{Z:()=>C});var r=i(56111),a=i(19510),o=i(10170),l=i(27297),s=i(2784),d=i(53896),c=i(68680),u=i(356),m=i(40966),p=i(52001),g=i(96648),v=i(83949),h=i(72649),k=i(79916),f=i(90283),b=i(16453),x=i(16830);let y=[],S=e=>e.map(({id:e,pos:t,native:i})=>({id:e,pos:t,native:i})),E=e=>e.split("_").map(e=>((e="")=>`${e[0].toUpperCase()}${e.substring(1).toLowerCase()}`)(e)).join(""),w=(e,t=l.Ok)=>e?new l.ZP(e,"UTC").format(t):"",N=()=>"undefined"==typeof window?null:window.innerWidth>=o.breakpoints.large?"desktop":window.innerWidth>=o.breakpoints.medium?"tablet":"mobile",A=(e="",t="")=>e.toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g,t),C=()=>{let{APP_VERSION:e,DEPLOY_ENV:t,brand:i}=(0,r.Z)(),o=(0,v.aF)(),l=(0,g.A)(),C=(0,c.Q)(),[F]=(0,s.useState)((0,f.Z)().toUpperCase()),I=(0,u.s)(),{ads:P}=(0,m.G)()||{},T=(0,k._P)((0,d.TH)().pathname),_=P?.suppress;return(0,s.useEffect)(()=>{var r;if(!l)return;let{assetId:s,adExclusion:d=[],author:c,categories:u,cmsType:m,collection:g,firstPublished:v,label:k,published:f,referrer:P,referrerComponent:L,referrerContentUnitGroup:R,referrerContentUnitName:D,referrerContentUnitPosition:B,referrerPageType:Z,referrerPosition:O,sources:M,sponsor:G,tags:j,title:H,type:V}=l,U=T?"-":"";n?(n.adSuppression=!!_,n.ads=C,n.breakpoint=window.innerWidth,n.keywords.hierarchy.pagelevel02=A(u[0],U),n.keywords.hierarchy.pagelevel03=A(u[1],U),n.keywords.hierarchy.pagelevel04=A(j[0],U),n.keywords.pageType=E(V).toLowerCase(),n.keywords.tags=j.map(e=>((e="",t="")=>{let i=e.replace(/&/g,"and").replace(/[^a-zA-Z0-9]+/g,t);return"-"===t?i.toLowerCase():i})(e,U).toLowerCase()),n.pageViewId=F):n={adExclusion:d,adSuppression:!!_,ads:C,brand:i.shortSiteName,breakpoint:window.innerWidth,keywords:{collectionId:g?.id||"",hierarchy:{pagelevel01:i.shortSiteName,pagelevel02:A(u[0],U),pagelevel03:A(u[1],U),pagelevel04:A(j[0],U)},nuid:(0,b._N)().value||"",pageType:E(V).toLowerCase(),tags:j.map(e=>A(e,U).toLowerCase())},pageViewId:F};let $=G?{sponsor:G.name,type:G.type}:void 0;window.dataLayerHybrid={adserving:n,brand:{name:i.shortSiteName},client:{NUID:(0,b._N)().value||"",deviceType:N()},collection:g||{},...$?{commercial:$}:{},env:t,page:{assetId:s||"",author:c?.join(",")||"",authoredPlatform:m,contentSource:M?.length?M.join(",").toLowerCase():"",deployEnv:t,labels:k,name:H,pageID:s||"",primaryTag:j?.[0]||"",publishDate:w(v),referrer:P||document.referrer,referrerComponent:L||"",referrerContentUnitGroup:R||"",referrerContentUnitName:D||"",referrerContentUnitPosition:B||"",referrerPageType:Z||(r=document.referrer,h.DF.test(r)?"Article":h.Pp.test(r)?"Index":h.k9.test(r)?"Homepage":h.sW.test(r)?"Search":h.ap.test(r)?"Topic":"Index"),referrerPosition:O||"",renderedPlatform:"WEB",sponsored:$?.sponsor?"true":"false",sponsoredName:$?.sponsor||"",sysEnv:N(),tags:T?j.slice(1):j,type:E(V),updateDate:w(f),viewID:F},section:{primaryCategory:g?.name||u?.[0]||"",subCategory:u?.[1]||""},session:(0,b.Gg)(u.map(e=>A(e,U))),user:{memberID:o?.sub||"",memberType:(0,a.d6)(o)},vendor:{renderwebmetro:{version:e}}},(0,p.g)(!0),I&&window?.ADKIT?.gptInstallPromise.then(()=>(e=>{let{ads:t}=e||{};if(!t||0===t.length)return null;if(0===y.length)return(0,x.NP)(),y=S(t);let{changed:i,notLoaded:n}=(e=>{let t=[],i=[];for(let n of e){let{pos:e,native:r}=n,a=y.find(t=>e===t.pos&&r===t.native);if(!a){t.push(n);continue}n.id!==a.id&&n.native===a.native&&i.push(n)}return{changed:i,notLoaded:t}})(t);return n.length>0&&(0,x.Tt)(n.map(({id:e})=>e)),i.length>0&&(0,x.ag)(),y=S(t)})(n))},[e,t,C,i.shortSiteName,l,o,F,I,_,T]),null}},16453:function(e,t,i){i.d(t,{Gg:()=>l,_N:()=>o});var n=i(28191);let r="NUID",a={ACCESS_STORAGE_NAME:"ffx-access",DEVICE_ID_STORAGE_NAME:"ffxDeviceID",MEMBER_DETAILS_STORAGE_NAME:"ffx-member-details",NINE_UID_STORAGE_NAME:r,SESSION_STORAGE_NAME:"ffx-member"},o=()=>{let e=n.Md.get(r,a);if(e){let t=new Date(new Date().toISOString()),i=((e,t)=>{let i=new Date(e);return i.setDate(i.getDate()+t),new Date(i).toISOString()})(new Date(t.setDate(t.getDate()-1)).toISOString(),3650);n.Lj.setItem(r,{expires:i,value:e},a)}let{expires:t,value:i}=n.Lj.getItem(r,a)||{};return i?(n.Md.set(r,i,3650,a),{expires:t,value:i}):{}},l=e=>({gCookie:(e=>{let t=RegExp(`(?:(?:^|.*;\\s*)${e}\\s*\\=\\s*([^;]*).*$)|^.*$`);return document.cookie.replace(t,"$1")})("_ga"),primaryCategory:e?.[0]||"",subCategory:e?.[1]||""})},54825:function(e,t,i){i.d(t,{Dg:()=>r,kq:()=>o,zV:()=>a});var n=i(84641);let r={[n.FY.Landscape_16_9]:"landscape16x9",[n.FY.Landscape_3_2]:"landscape3x2",[n.FY.Portrait_2_3]:"portrait2x3",[n.FY.Square_1_1]:"square1x1",[n.FY.Uncropped]:"uncropped"},a={[n.FY.Landscape_16_9]:"16x9",[n.FY.Landscape_3_2]:"3x2",[n.FY.Portrait_2_3]:"2x3",[n.FY.Square_1_1]:"1x1",[n.FY.Uncropped]:"0x0"},o={large:{[n.FY.Landscape_16_9]:744,[n.FY.Landscape_3_2]:744,[n.FY.Portrait_2_3]:456,[n.FY.Square_1_1]:420,[n.FY.Uncropped]:648},medium:{[n.FY.Landscape_16_9]:768,[n.FY.Landscape_3_2]:768,[n.FY.Portrait_2_3]:438,[n.FY.Square_1_1]:372,[n.FY.Uncropped]:636},small:{[n.FY.Landscape_16_9]:584,[n.FY.Landscape_3_2]:584,[n.FY.Portrait_2_3]:584,[n.FY.Square_1_1]:280,[n.FY.Uncropped]:584}}},33021:function(e,t,i){i.d(t,{r:()=>n});let n=50},85308:function(e,t,i){i.d(t,{Z:()=>a,w:()=>r});var n=i(23539);let r={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!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:"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:"AssetGalleryImagesConnection"},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:"FragmentDefinition",name:{kind:"Name",value:"AssetGalleryImagesConnection"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GalleryAsset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"galleryImagesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{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:"cursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"node"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endCursor"},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:[]}]}}]}}]}}]}}].concat(i(52115).Y2.definitions)),loc:{start:0,end:383,source:{body:"query AssetByPublicID($after:Cursor,$first:Int!,$input:AssetByPublicIDInput!){assetByPublicId(input:$input){asset{...AssetGalleryImagesConnection}error{message type{class}}}}fragment AssetGalleryImagesConnection on GalleryAsset{galleryImagesConnection(after:$after,first:$first){edges{cursor node{...ImageRenditionFragment}}pageInfo{hasNextPage endCursor}error{message type{class}}}}"}}},a=(e,t)=>(0,n.a)(r,{variables:{after:"",first:e,input:{publicId:t}}})},38936:function(e,t,i){i.d(t,{ZP:()=>u,dt:()=>d});var n=i(52322),r=i(45567),a=i(17845),o=i(69414),l=i(2784),s=i(79909);let d="component";class c extends l.Component{static defaultProps={type:d};constructor(e){super(e),this.state={hasError:!1,status:404}}static getDerivedStateFromError(){return{hasError:!0,status:404}}componentDidCatch(e){o.Y.error("Error caught by boundary",a.log.EventType("page","error"),a.log.Error(e)),r.L.is(e)&&this.setState({status:400})}render(){if(this.state.hasError)switch(this.props.type){case d:return null;case"page":return(0,n.jsx)(s.Z,{status:this.state.status})}return this.props.children}}let u=c},64381:function(e,t,i){i.d(t,{N8:()=>p,X0:()=>m,Yu:()=>u});var n=i(50041),r=i(17845),a=i(58704),o=i(69414);let l={clientName:"api-front"},s={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"SubscriptionGiftQuota"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SubscriptionGiftQuotaInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subscriptionGiftQuota"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"remaining"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:137,source:{body:"query SubscriptionGiftQuota($input:SubscriptionGiftQuotaInput!){subscriptionGiftQuota(input:$input){error{message type{class}}remaining}}"}}},d={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"SubscriptionGiftToken"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SubscriptionGiftTokenInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subscriptionGiftToken"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"remaining"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:146,source:{body:"mutation SubscriptionGiftToken($input:SubscriptionGiftTokenInput!){subscriptionGiftToken(input:$input){error{message type{class}}remaining token}}"}}},c={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"SubscriptionGiftConsume"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SubscriptionGiftConsumeInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subscriptionGiftConsume"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"remaining"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assetId"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:154,source:{body:"mutation SubscriptionGiftConsume($input:SubscriptionGiftConsumeInput!){subscriptionGiftConsume(input:$input){error{message type{class}}remaining assetId}}"}}},u=()=>(0,n.t)(s,{fetchPolicy:"network-only"}),m=async(e,t,i,n=a.Z.mutate)=>{let s=await n({context:l,mutation:d,variables:{input:{assetId:e,brand:t,fingerprint:i}}}),c=s.data?.subscriptionGiftToken;if(c?.error){let e=Error(`Subscription gift token response error [${c.error.message}]`);o.Y.error("Failed to create subscription gift token",r.log.EventType("subscriptionGift","token"),r.log.Error(e))}return c},p=async(e,t,i=a.Z.mutate)=>{let n=await i({context:l,mutation:c,variables:{input:{token:e,fingerprint:t}}}),s=n.data?.subscriptionGiftConsume;if(s?.error){let e=Error(`Subscription gift consume response error [${s.error.message}]`);o.Y.error("Failed to consume subscription gift",r.log.EventType("subscriptionGift","consume"),r.log.Error(e))}return s}},83937:function(e,t,i){i.d(t,{If:()=>o,Tr:()=>a});var n=i(72649);let r=[n.gG,n.V$,n.PR],a=e=>e?"Search, e.g. New cafes in Sydney":"Search Good Food",o=e=>{let t=Array.isArray(e)?e[0]:e;return r.includes(t)?t:n.V$}},53120:function(e,t,i){i.d(t,{Dx:()=>d,OL:()=>l,PZ:()=>a,dk:()=>o,jL:()=>r,zC:()=>s});var n=i(78943);let r=n.ZP.div.withConfig({componentId:"sc-6bb96fcb-0"})(["align-items:center;background:#f2f2f2;box-shadow:0 1px 1px rgb(0 0 0 / 20%);display:flex;flex-direction:row;justify-content:space-around;padding:12px 0;svg{border-radius:10px;display:inline-block;height:57px;margin-right:5px;width:57px;}"]),a=n.ZP.button.withConfig({componentId:"sc-6bb96fcb-1"})(["background-color:transparent;color:",";cursor:pointer;font-size:20px;padding:0 5px;text-align:center;text-decoration:none;vertical-align:middle;&:active,&:hover{color:#aaa;}"],({theme:e})=>e.colorMid),o=n.ZP.p.withConfig({componentId:"sc-6bb96fcb-2"})(["color:",";font-size:11px;line-height:14px;"],({theme:e})=>e.colorMid),l=n.ZP.a.withConfig({componentId:"sc-6bb96fcb-3"})(["margin-right:12px;text-decoration:none;text-transform:uppercase;"]),s=n.ZP.div.withConfig({componentId:"sc-6bb96fcb-4"})(["display:flex;flex-direction:column;justify-content:left;width:100%;"]),d=n.ZP.div.withConfig({componentId:"sc-6bb96fcb-5"})(["font-size:13px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"])},83951:function(e,t,i){i.d(t,{Z:()=>k});var n=i(52322),r=i(19565),a=i(56111),o=i(41865),l=i(11402),s=i(79979),d=i(2596),c=i(84641),u=i(2784),m=i(53896),p=i(96648),g=i(79916),v=i(53120);let h=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-goodfood-ios-logo-svg-react",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("2899").then(i.bind(i,40071)),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 i(this.resolve(e))},resolve:()=>40071}),k=()=>{let e=(0,g._P)((0,m.TH)().pathname),[t,i]=(0,u.useState)((()=>{if("undefined"==typeof localStorage)return!1;let e=localStorage.getItem("goodfood-smart-banner-dismissed");if(!e)return!0;if("true"===e)return!1;let t=new Date(e),i=new Date;return!(t>new Date(i.setDate(i.getDate()-7)))})()),r=(0,o.Z)(),k=(0,p.A)(),f=(0,l.ZP)(),{GOODFOOD:{social:{ios:{appID:b}}}}=(0,a.Z)(),x=[c.h3.Article,c.h3.FeatureArticle,c.h3.Recipe,c.h3.Collection].includes(k?.type),{isAndroid:y,isIOS:S,isSafari:E}=(0,s.Z)(),w=!e||!x||!y&&!(S&&!E)||!r[d.PERM_FEATURE_FLAG_GOODFOOD_SMART_BANNER_ENABLED]||!t;if((0,u.useEffect)(()=>{w||f.pushAnalyticsEvent({event:"smart_banner_impression",eventAction:"view",eventAttribute:"",eventCategory:"app download",eventLabel:"onsite ios/android prompt",eventValue:""})},[w]),w)return null;let N=`https://itunes.apple.com/${window.navigator.language?.slice(-2)||"us"}/app/id${b}`;return(0,n.jsxs)(v.jL,{children:[(0,n.jsx)(v.PZ,{onClick:()=>void(localStorage.getItem("goodfood-smart-banner-dismissed")?localStorage.setItem("goodfood-smart-banner-dismissed","true"):localStorage.setItem("goodfood-smart-banner-dismissed",new Date().toISOString().slice(0,10)),f.pushAnalyticsEvent({event:"smart_banner_dismissed",eventAction:"close",eventAttribute:"",eventCategory:"app download",eventLabel:"onsite ios/android prompt",eventValue:""}),i(!1)),children:"\xd7"}),(0,n.jsx)(h,{}),(0,n.jsxs)(v.zC,{children:[(0,n.jsx)(v.Dx,{children:"Good Food Guide"}),(0,n.jsx)(v.dk,{children:"Open in the Good Food app"})]}),(0,n.jsx)(v.OL,{href:y?"https://play.google.com/store/apps/details?id=au.com.nine.goodfood":N,onClick:()=>void(f.pushAnalyticsEvent({event:"smart_banner_open",eventAction:"click",eventAttribute:"",eventCategory:"app download",eventLabel:"onsite ios/android prompt",eventValue:""}),i(!1)),children:"View"})]})}},14658:function(e,t,i){i.d(t,{CS:()=>m,Jn:()=>u,P6:()=>s,Z2:()=>c,dC:()=>l,jN:()=>d});var n=i(45027),r=i(54825),a=i(40677),o=i(84641);let l={HALF_HOUR_TO_ONE_HOUR:"PT1H",LESS_THAN_HALF_HOUR:"PT30M",MORE_THAN_TWO_HOURS:"PT2H30M",ONE_HOUR_TO_TWO_HOURS:"PT1H30M"},s=(e,t,i)=>e.map(e=>{let r=(e.type===o.tF.Author||e.type===o.D8.Author)&&e?.author,a=(e.type===o.tF.Name||e.type===o.D8.Name)&&e,l=r?.profile?.canonical?.brand?.key??i;return{name:r?.name||a?.name||"",...r?.profile?.title&&{title:r.profile.title},...r?.name&&{url:`https://www.${l}.com.au${(0,n.yT)(r,t)}`}}}),d=(e,t,i,n,r)=>({logo:{height:e,url:String(t),width:i},longName:n,url:r}),c=(e,t,i)=>{let{brand:n,path:r=""}=t.urls.canonical??{},a=r||"";return e&&!a.includes("/goodfood")&&(a=`/goodfood${a}`),{url:`https://www.${n?.key||i}.com.au${a}`.replace(/\/$/,"")}};function u(e,t,i){if(e&&t)return[e.landscape16x9,e.landscape3x2,e.portrait2x3,e.square1x1].map(e=>{if(!e)return;let{type:n}=e,o=r.zV[n],l={[r.Dg[n]]:e},s={aspectRatio:o,height:16/9*r.kq.large[n],width:r.kq.large[n]},d=(0,a.$v)(l,s),c={aspectRatio:s.aspectRatio,format:"auto",image:d,imageRenditionUrlPrefix:t,width:s.width},u=(0,a.iu)(c);return"withDimensions"===i?{height:s.height,url:u,width:s.width}:u}).filter(Boolean)}let m=(e,t)=>{if(e.tags)switch(t){case"Category":return e.tags.primary?.displayName;case"Cuisine":return e.tags.secondary?.map(e=>"Cuisine"===e.context.name?e.displayName:null).filter(Boolean).toString();case"Keywords":{let t=e.tags.primary?.displayName,i=e.tags.secondary?.map(e=>e.displayName)||[],{difficulty:n}=e.extensions||{};return[t,...i,n].filter(e=>!!e).join(", ")||void 0}default:return}}},12043:function(e,t,i){i.d(t,{Z:()=>o});var n=i(56111),r=i(33460),a=i(2784);let o=()=>{let{HAGRID_ENDPOINT:e,MEMBER_AUTH_API:{TIMEOUT:t,URL:i}}=(0,n.Z)(),o=(0,a.useRef)(!0);return(n,a=!1)=>{o.current&&(o.current=!1,(0,r.bi)({authUrl:i,disabled:a,hagridEndpoint:e,timeoutMs:t}).then(()=>{n()}))}}},41982:function(e,t,i){i.d(t,{Gs:()=>g,KH:()=>p,xH:()=>u,y3:()=>c});var n=i(23539),r=i(56111),a=i(2784),o=i(53896),l=i(52115),s=i(28063);let d=e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!0,!0)})},c=36,u={kind:"Document",definitions:d([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetByPublicID"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"firstEntities"}},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:"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:"ads"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suppress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sponsor"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetImagesFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"body"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"blocks"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetBylineAuthor"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"author"},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:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"avatar"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bio"},arguments:[],directives:[]},{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:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"socials"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"facebook"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"twitter"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}}]}}]}},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetBylineName"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetCategoryFragment"},directives:[]}]}},{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:"dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetDatesFragment"},directives:[]}]}},{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:"id"},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:"intro"},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:"relatedEntitiesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"firstEntities"}}}],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:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"entity"},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:"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:"relatedEntitiesParents"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}},{kind:"ObjectField",name:{kind:"Name",value:"parentAssetTypes"},value:{kind:"ListValue",values:[{kind:"StringValue",value:"collection"}]}},{kind:"ObjectField",name:{kind:"Name",value:"parentPublicId"},value:{kind:"Variable",name:{kind:"Name",value:"parentPublicId"}}}]}}],directives:[],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:"extensions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subBrand"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subType"},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:"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:"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:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LiveArticleAsset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pinnedPurposesPosts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pinnedPurposes"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"8"}},{kind:"ObjectField",name:{kind:"Name",value:"pinnedPurpose"},value:{kind:"StringValue",value:"KEY_EVENT"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}},{kind:"ObjectField",name:{kind:"Name",value:"pinnedPurpose"},value:{kind:"StringValue",value:"PINNED_TO_TOP"}}]}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pinnedPurposes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pinnedPurpose"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"posts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LiveArticlePostFragment"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"latestPostsConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1"}}],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:"publicId"},arguments:[],directives:[]},{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:"seo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"doNotIndex"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"social"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"landscape16x9"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sourceCMS"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sources"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subBrand"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subType"},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:"FragmentSpread",name:{kind:"Name",value:"TagFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"secondary"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TagFragment"},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:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]}]}}]}}]}}]}}].concat(l.RP.definitions,l.AN.definitions,l.eX.definitions)),loc:{start:0,end:1730,source:{body:'query AssetByPublicID($firstEntities:Int$input:AssetByPublicIDInput!$parentPublicId:String!){assetByPublicId(input:$input){asset{ads{suppress sponsor{logos{...AssetImagesFragment}name type url}}body{blocks}byline{type...on AssetBylineAuthor{author{id name publicId profile{avatar bio canonical{brand{key}}email socials{facebook{publicId}twitter{publicId}}title}}}...on AssetBylineName{name}}category{...AssetCategoryFragment}commenting{enabled}dates{...AssetDatesFragment}extensions headlines{headline}id images{...AssetImagesFragment}overview{about intro label}publicId relatedEntitiesConnection(first:$firstEntities){edges{node{asset{...AssetPreviewFragment}entity}}error{message type{class}}pageInfo{endCursor hasNextPage}}relatedEntitiesParents(input:{limit:1,parentAssetTypes:["collection"],parentPublicId:$parentPublicId}){assets{headlines{headline}extensions subBrand{id}subType publicId tags{primary{displayName}}type urls{...AssetUrlsFragment}}}relatedEntitiesSiblings(input:{parentPublicId:$parentPublicId,wrap:true}){nextRelatedEntities{asset{extensions headlines{headline}images{...AssetImagesFragment}publicId type urls{...AssetUrlsFragment}}}}...on LiveArticleAsset{pinnedPurposesPosts(input:{pinnedPurposes:[{limit:8,pinnedPurpose:"KEY_EVENT"},{limit:1,pinnedPurpose:"PINNED_TO_TOP"}]}){pinnedPurposes{pinnedPurpose posts{...LiveArticlePostFragment}}}latestPostsConnection(first:1){edges{node{publicId dates{published}}}}}seo{description doNotIndex title}social{description images{landscape16x9{...ImageRenditionFragment}}title}sourceCMS{type}sources{displayName name}state{public}subBrand{id}subType tags{primary{...TagFragment}secondary{...TagFragment}}type urls{...AssetUrlsFragment}}error{message type{class}}}}'}}},m={kind:"Document",definitions:d([{kind:"OperationDefinition",name:{kind:"Name",value:"AssetByPublicID"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"afterEntity"}},type:{kind:"NamedType",name:{kind:"Name",value:"Cursor"}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"firstEntities"}},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:"Field",name:{kind:"Name",value:"relatedEntitiesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"afterEntity"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"firstEntities"}}}],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:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"entity"},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:"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:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}}].concat(l.AN.definitions)),loc:{start:0,end:318,source:{body:"query AssetByPublicID($afterEntity:Cursor,$firstEntities:Int,$input:AssetByPublicIDInput!){assetByPublicId(input:$input){asset{relatedEntitiesConnection(after:$afterEntity,first:$firstEntities){edges{node{asset{...AssetPreviewFragment}entity}}error{message type{class}}pageInfo{endCursor hasNextPage}}}error{message}}}"}}},p=(e,t,i=c,n=!1)=>({firstEntities:i,input:{draft:n,publicId:e},parentPublicId:t}),g=()=>{let{pathname:e}=(0,o.TH)(),t=(0,s.TN)(e),[i]=(0,o.lr)();return((e,t=null,i=c)=>{let{PAGEBUILDER:{ENABLED:o}}=(0,r.Z)(),{data:l,error:s,fetchMore:d,loading:g,networkStatus:v}=((e,t="",i=c,r=!1)=>(0,n.a)(u,{variables:p(e,t,i,r),notifyOnNetworkStatusChange:!1,skip:!e}))(e,t,i,o),{asset:h,error:k}=l?.assetByPublicId||{},{pageInfo:f}=h?.relatedEntitiesConnection||{},b=(0,a.useCallback)((t=c)=>d({query:m,updateQuery:(e,{fetchMoreResult:t})=>t.assetByPublicId?{...e,assetByPublicId:{...e.assetByPublicId,asset:{...e.assetByPublicId.asset,relatedEntitiesConnection:{edges:e.assetByPublicId.asset.relatedEntitiesConnection.edges.concat(t.assetByPublicId.asset.relatedEntitiesConnection.edges),error:t.assetByPublicId.asset.relatedEntitiesConnection.error,pageInfo:t.assetByPublicId.asset.relatedEntitiesConnection.pageInfo}}}}:e,variables:{afterEntity:f.endCursor,firstEntities:t,input:{draft:o,publicId:e}}}),[o,d,f,e]);return s||k||!h?{asset:null,assetError:k||null,error:s?Error(s.message):null,fetchMoreStories:null,loading:g,networkStatus:v}:{asset:h,assetError:null,error:null,fetchMoreStories:b,loading:g,networkStatus:v}})(t,i.get("collection")||"")}},17255:function(e,t,i){i.d(t,{Bi:()=>o,MV:()=>s,ZP:()=>d});var n=i(23539),r=i(52115),a=i(41289);let o={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"AuthorByPublicID"},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:"first"}},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:"AuthorByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"storiesInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AuthorLatestStoriesInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"authorByPublicId"},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:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestStoriesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"storiesInput"}}}],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:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetBylineFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetCategoryFragment"},directives:[]}]}},{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:"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:"subType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewTagsFragment"},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:[]}]}},{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:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"avatar"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bio"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"body"},arguments:[],directives:[]},{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:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"socials"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"facebook"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"twitter"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"publicId"},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:[]}]}}]}}]}}]}}].concat(r.TY.definitions,r.RP.definitions,r.Os.definitions,r.Fb.definitions,r.WV.definitions)),loc:{start:0,end:669,source:{body:"query AuthorByPublicID($after:Cursor$first:Int$input:AuthorByPublicIDInput!$storiesInput:AuthorLatestStoriesInput!){authorByPublicId(input:$input){author{latestStoriesConnection(after:$after,first:$first,input:$storiesInput){edges{node{byline{...AssetBylineFragment}category{...AssetCategoryFragment}dates{published}extensions headlines{headline}images{...AssetImagesFragment}overview{about label}publicId subType tags{...AssetPreviewTagsFragment}type urls{...AssetUrlsFragment}}}error{message}pageInfo{endCursor hasNextPage}}name profile{avatar bio body canonical{brand{key}}email socials{facebook{publicId}twitter{publicId}}title}publicId}error{message type{class}}}}"}}},l=10,s=(e,t,i,n=l,r)=>({after:"",first:n,input:{navigationPathContext:(0,a.Vq)(i),publicId:e},storiesInput:{assetTypes:r,brandKey:t}}),d=(e,t,i,r=l,a,d=!1)=>(0,n.a)(o,{skip:d,variables:s(e,t,i,r,a)})},93673:function(e,t,i){i.d(t,{Z:()=>o});var n=i(79644),r=i(2784);let a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,o=e=>{let[t,i]=(0,r.useState)(!1);return a(()=>{let t=window.matchMedia(n.Z.query[e]);i(t.matches);let r=e=>{i(e.matches)};return t.addEventListener?t.addEventListener("change",r):t.addListener(r),()=>{t.removeEventListener?t.removeEventListener("change",r):t.removeListener(r)}},[e]),t}},56111:function(e,t,i){i.d(t,{Z:()=>a});var n=i(2784),r=i(49036);let a=()=>(0,n.useContext)(r.Z)},89956:function(e,t,i){i.d(t,{Z:()=>r});var n=i(2784);let r=(e,t,i=!1)=>{(0,n.useEffect)(()=>{if(i)return()=>{};let n=i=>{if(Array.isArray(e)){if(e.some(e=>e.current?.contains(i.target)))return}else if(e.current?.contains(i.target))return;t(i)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t,i])}},41865:function(e,t,i){i.d(t,{Z:()=>a});var n=i(2784),r=i(5763);let a=()=>(0,n.useContext)(r.Z)},11402:function(e,t,i){i.d(t,{ZP:()=>c,_G:()=>n});var n=i(80282),r=i(83628),a=i(79916);let o={assetInfo:e=>{if(!e)return{article_category:"",article_sub_category:"",article_title:"",author:"",primary_tag:"",page_url:""};let{byline:t,category:i,headlines:{headline:n},tags:o,urls:l}=e,s=i?(0,r.CP)(i,l.canonical?.path):[],d=l.canonical?.path&&(0,a._P)(l.canonical.path)?"-":"",c=s.map(e=>((e="",t="")=>e.toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g,t))(e,d)),u=t?(0,r.P6)(t).join(","):"",m="undefined"!=typeof window?window.location.href:"";return{article_category:c[0]||"",article_title:n,author:u,article_sub_category:c[1]||"",page_url:m,primary_tag:o?.primary?.displayName||""}}};var l=i(2596),s=i(65677),d=i(41865);let c=()=>{let e=(0,d.Z)();return{EVENTS:n,mappers:o,pushAnalyticsEvent:t=>{(0,s.U)()&&window?.dataLayerGA4&&e[l.PERM_FEATURE_FLAG_GA4_PAGEVIEW_ENABLED]&&window.dataLayerGA4.push(t)}}}},27302:function(e,t,i){i.d(t,{Z:()=>r});var n=i(2784);let r=()=>{let[e,t]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{t(!1)},[]),e}},77056:function(e,t,i){i.d(t,{Z:()=>a});var n=i(2784),r=i(96648);let a=(e,t)=>{let i="undefined"==typeof window;(0,n.useEffect)(()=>{!t&&e&&(0,r._)(e)},[e,t]),i&&!t&&e&&(0,r._)(e)}},46459:function(e,t,i){i.d(t,{N4:()=>o,ZP:()=>l,iF:()=>a});var n=i(23539),r=i(52115);let a={kind:"Document",definitions:(e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!0,!0)})})([{kind:"OperationDefinition",name:{kind:"Name",value:"PageByNavigationPath"},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:"first"}},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:"PageByNavigationPathInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageByNavigationPath"},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:[]}]}}]}},{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:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seo"},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:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},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:"editingState"},arguments:[],directives:[]},{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:"publicId"},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:[]}]}}]}}]}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"latestStoriesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{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:"FragmentSpread",name:{kind:"Name",value:"LatestStoriesAssetPreviewFragment"},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:"redirect"},arguments:[],directives:[]}]}}]}}].concat(r.AN.definitions,r.Y4.definitions)),loc:{start:0,end:585,source:{body:"query PageByNavigationPath($after:Cursor,$first:Int,$input:PageByNavigationPathInput!){pageByNavigationPath(input:$input){error{message type{class}}page{ads{suppress}id name seo{canonical{brand{key}}description title}content{groups{id name content{units{editingState heading{text url}id name publicId type...on ResolvedContentUnit{content{assets{...AssetPreviewFragment}}}...on RecirculationContentUnit{content{assets{...AssetPreviewFragment}}}}}}}latestStoriesConnection(after:$after,first:$first){edges{...LatestStoriesAssetPreviewFragment}pageInfo{endCursor hasNextPage}}}redirect}}"}}};r.Y4.definitions;let o=(e,t,i=0,n=!1)=>({after:"",first:i,input:{brandKey:e,draft:n,navigationPath:t,renderName:"web"}}),l=(e,t,i=0,r=!1)=>(0,n.a)(a,{variables:o(e,t,i,r)})},49263:function(e,t,i){i.d(t,{Z:()=>o});var n=i(80594),r=i.n(n),a=i(2784);let o=(e,t=!0,i=!0)=>{let n=!1;try{let e=Object.defineProperty({},"passive",{get(){n=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}let o=t?r()(e,50):e;(0,a.useEffect)(()=>(window.addEventListener("scroll",o,!!n&&{passive:i}),()=>{window.removeEventListener("scroll",o)}),[o,i,n])}},5014:function(e,t,i){i.d(t,{Z:()=>o});var n=i(77542),r=i(41865),a=i(2596);let o="undefined"==typeof window?()=>!1:()=>{let e=(0,r.Z)(),{isLoading:t,client:i}=(0,n.useStatsigClient)();return!!e[a.TEMP_FEATURE_FLAG_VERTEX_SEARCH_ENABLED]&&!t&&i.getExperiment("exp_metro_web_search_semantic_ai").get("isAISearchUser",!1)}},41289:function(e,t,i){i.d(t,{Vq:()=>c,av:()=>d,dc:()=>u,h9:()=>g,ux:()=>m});var n=i(23539),r=i(84641),a=i(52115),o=i(72649);let l=e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!0,!0)})},s=Object.values(r.h3).filter(e=>![r.h3.Url,r.h3.Newsletter].includes(e)),d={kind:"Document",definitions:l([{kind:"OperationDefinition",name:{kind:"Name",value:"TagByPublicId"},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:"first"}},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:"TagByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"isTraveller"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"storiesInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TagLatestStoriesInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tagByPublicId"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"tag"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"context"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"isTraveller"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalEntities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"google"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"placeId"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"latestStoriesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"storiesInput"}}}],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:"ads"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sponsor"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetBylineFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetCategoryFragment"},directives:[]}]}},{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:"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:"subType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewTagsFragment"},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:[]}]}},{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:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},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:[]}]}}]}}]}}]}}]}}].concat(a.TY.definitions,a.RP.definitions,a.Os.definitions,a.Fb.definitions,a.WV.definitions)),loc:{start:0,end:765,source:{body:"query TagByPublicId($after:Cursor,$first:Int,$input:TagByPublicIDInput!,$isTraveller:Boolean!,$storiesInput:TagLatestStoriesInput!){tagByPublicId(input:$input){error{message type{class}}tag{context@include(if:$isTraveller){name}description displayName externalEntities{google{placeId}}latestStoriesConnection(after:$after,first:$first,input:$storiesInput){edges{node{ads{sponsor{name}}byline{...AssetBylineFragment}category{...AssetCategoryFragment}dates{published}extensions headlines{headline}images{...AssetImagesFragment}overview{about label}publicId subType tags{...AssetPreviewTagsFragment}type urls{...AssetUrlsFragment}}}error{message}pageInfo{endCursor hasNextPage}}publicId seo{description title}urls{canonical{brand{key}path}published{brand{key}path}}}}}"}}},c=e=>e===o.AX?"/goodfood":e===o.zE?"/traveller":null,u=(e,t,i,n=10,r=s)=>({after:"",first:n,input:{navigationPathContext:c(i),publicId:e},isTraveller:i===o.zE,storiesInput:{assetTypes:r,brandKey:t}}),m=(e,t,i,r,a=!1,o)=>(0,n.a)(d,{skip:a,variables:u(e,t,i,o,r)}),p={kind:"Document",definitions:l([{kind:"OperationDefinition",name:{kind:"Name",value:"TagByPublicId"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TagByPublicIDInput"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"storiesInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TagLatestStoriesInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tagByPublicId"},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:"tag"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestStoriesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"StringValue",value:""}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1"}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"storiesInput"}}}],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:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetBylineFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetCategoryFragment"},directives:[]}]}},{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:"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:"subType"},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:"FragmentSpread",name:{kind:"Name",value:"TagFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"secondary"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TagFragment"},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(a.TY.definitions,a.RP.definitions,a.Os.definitions,a.WV.definitions,a.i4.definitions)),loc:{start:0,end:473,source:{body:'query TagByPublicId($input:TagByPublicIDInput!,$storiesInput:TagLatestStoriesInput!){tagByPublicId(input:$input){tag{latestStoriesConnection(after:"",first:1,input:$storiesInput){edges{node{byline{...AssetBylineFragment}category{...AssetCategoryFragment}dates{published}extensions headlines{headline}images{...AssetImagesFragment}overview{about label}publicId subType tags{primary{...TagFragment}secondary{...TagFragment}}type urls{...AssetUrlsFragment}}}error{message}}}}}'}}},g=(e,t,i)=>(0,n.a)(p,{skip:i,variables:{input:{navigationPathContext:"/goodfood",publicId:e},storiesInput:{assetSubTypes:["review"],brandKey:t}}})},79979:function(e,t,i){i.d(t,{Z:()=>r});var n=i(2784);let r=()=>{let e="undefined"!=typeof window,t=e?window.navigator.userAgent:"",i=e?window.navigator.maxTouchPoints:0;return(0,n.useMemo)(()=>{let n=!!e&&(i>0||"ontouchstart"in window);return{isAndroid:/Android/.test(t),isIOS:/iPad|iPhone|iPod/.test(t)||/Macintosh/i.test(t)&&i>0,isChrome:/Chrome/.test(t)&&!/Edg/.test(t),isEdge:/Edg/.test(t),isFirefox:/Firefox/.test(t),isSafari:/Safari/.test(t)&&!/Chrome|CriOS|FxiOS|EdgiOS/.test(t),isMobile:/Mobi/.test(t),isTouch:n}},[e,t,i])}},40677:function(e,t,i){i.d(t,{$v:()=>v,KX:()=>b,NL:()=>x,Q1:()=>k,Ue:()=>l,dA:()=>o,hK:()=>g,iu:()=>f,ri:()=>a});var n=i(27297),r=i(84641);let a={landscape:1.5,portrait:.666667,square:1,uncropped:0,wide:1.777778},o={"0x0":a.uncropped,"16x9":a.wide,"1x1":a.square,"2x3":a.portrait,"3x2":a.landscape},l={"0x0":"uncropped","16x9":"landscape16x9","1x1":"square1x1","2x3":"portrait2x3","3x2":"landscape3x2"},s=["analysis","explainer","opinion","live"],d={goodfood:"/t_metro_goodfood_no_label_no_age_social_wm",traveller:"/t_metro_traveller_no_label_no_age_social_wm"},c=["brisbanetimes","brisbanetimes_rebranded"],u={fromX:30,fromY:7,yearX:20,yearY:32},m={fromX:280,fromY:7,yearX:270,yearY:32},p="co_rgb:0a1633",g=(e,t=0)=>{try{let i=Math.floor((Date.now()-new Date(e).getTime())/864e5);if(Number.isNaN(i)||i365?"":r.format(n.Hz),o=r.format(n.oP);return{month:a,year:o}}catch(e){return null}},v=(e,t,i=!1)=>{let n;if(e&&t){switch(t.aspectRatio){case"16x9":n=e.landscape16x9;break;case"3x2":n=e.landscape3x2;break;case"1x1":n=e.square1x1;break;case"2x3":n=e.portrait2x3;break;case"0x0":n=e.uncropped;break;default:return}if(i)return n?.animated?n:void 0;return n}},h=(e,t)=>Math.round(t/e*1e4)/1e4,k=e=>{switch(e){case"16x9":return a.wide;case"3x2":return a.landscape;case"1x1":return a.square;case"2x3":return a.portrait;default:return a.uncropped}},f=({age:e,aspectRatio:t,dpr:i=1,format:n="auto",image:o,imageRenditionUrlPrefix:l,label:g="",watermarkBrand:v="",width:f})=>{let b,x="string"==typeof t?k(t):t,{crop:y,mediaId:S,mimeType:E,type:w}=o||{},N=(e=>{switch(e){case r.FY.Landscape_16_9:return a.wide;case r.FY.Landscape_3_2:return a.landscape;case r.FY.Square_1_1:return a.square;case r.FY.Portrait_2_3:return a.portrait;default:return a.uncropped}})(w),A=i*f,C=((e,t,i="")=>{if(d[e])return d[e];let n=s.includes(i);if(!t&&!n)return"";let r=c.includes(e)?"t_metro_brisbanetimes":"t_metro",a=n?`_${i}`:"_no_label";if(!t)return`/${r}${a}_no_age_social_wm`;let o=n?m:u,l=["l_text:PT%20Sans_25_bold_italic:%20from%20","g_north_west",`y_${o.fromY}`,`x_${o.fromX}`,p].join(","),g=[`l_text:AbrilTitling-Bold.ttf_55:%20${t.year}%20`,"g_north_west",`y_${o.yearY}`,`x_${o.yearX}`,p].join(",");return`/${r}${a}_social_wm/${l}/${g}`})(v,e,g);if(N===a.uncropped)b=`$width_${A}/t_resize_width`;else if(y){let{offsetX:e,offsetY:t,width:i,zoom:n}=y;if(N/x>1.1){let r=Math.round(n*N/x*1e4)/1e4;b=`$zoom_${r},$multiply_${h(i,A)},$ratio_${x},$width_${i},$x_${Math.ceil((e/n+(i/n-i/n/N*x)/2)*r)},$y_${Math.ceil(N/x*t)}/t_crop_custom`}else b=`$zoom_${n},$multiply_${h(i,A)},$ratio_${N},$width_${i},$x_${e},$y_${t}/t_crop_custom`}else b=`w_${A},h_${Math.ceil(A/x)},c_fill,g_auto:faces`;let F=n;return C&&"image/gif"===E&&(F="jpg"),`${l}/${b}/q_${"mp4"===n?"auto:eco":i>1?"62":"86"}${"image/png"===E?",e_sharpen:60":""},f_${F}${C}/${S}`.replace(/,/g,"%2C")},b=e=>{switch(e){case r.FY.Landscape_16_9:return"16x9";case r.FY.Landscape_3_2:return"3x2";case r.FY.Square_1_1:return"1x1";case r.FY.Portrait_2_3:return"2x3";default:return"0x0"}},x=e=>!!e&&!e.match(/^supplied.*$/i)},90903:function(e,t,i){i.d(t,{Z:()=>d});var n=i(66916),r=i(28191),a=i(2784),o=i(83628);let l=(e,t)=>e.reduce((e,i)=>e||(i.getAttribute?i.getAttribute(t)??"":""),""),s=e=>{if(!e.target||!(e.target instanceof Element))return;let t=e.composedPath().filter(e=>e instanceof Element),i=t.findIndex(e=>e.tagName?.toUpperCase()==="A");if(-1===i)return;let a=t.slice(i),s={referrerComponent:l(a,n.t.NAME),referrerContentUnitGroup:l(a,n.t.CU_GROUP),referrerContentUnitName:l(a,n.t.CU_NAME),referrerContentUnitPosition:l(a,n.t.CU_POS),referrerPosition:l(a,n.t.POSITION)};Object.values(s).some(e=>""!==e)&&(0,r.D9)(o.PJ,s)},d=()=>((0,a.useEffect)(()=>(document.addEventListener("click",s,!0),()=>{document.removeEventListener("click",s,!0)}),[]),null)},96314:function(e,t,i){i.d(t,{Z:()=>c});var n=i(52322),r=i(79644),a=i(78943);let o=a.ZP.span.withConfig({componentId:"sc-fa15c946-0"})(["align-items:center;display:flex;justify-content:center;"]),l=(0,a.F4)(["to{transform:rotate(360deg);}"]),s=a.ZP.span.withConfig({componentId:"sc-fa15c946-1"})(["animation:"," 0.6s linear infinite;border:2px solid transparent;border-radius:50%;border-top-color:",";height:",";width:",";"],l,e=>e.inverse?"#fff":e.theme.colorBrand,e=>e.size,e=>e.size),d=a.ZP.span.withConfig({componentId:"sc-fa15c946-2"})(["",""],r.Z.visuallyHidden),c=({className:e,inverse:t,size:i="2em"})=>(0,n.jsxs)(o,{className:e,children:[(0,n.jsx)(s,{inverse:t,size:i}),(0,n.jsx)(d,{children:"Loading"})]})},56613:function(e,t,i){i.d(t,{Z:()=>G});var n=i(52322),r=i(48504),a=i(56111),o=i(41865),l=i(11402),s=i(2294),d=i(56038),c=i(81924),u=i(80282),m=i(2596),p=i(2784),g=i(37149),v=i.n(g),h=i(53896),k=i(1797),f=i(36130),b=i(79644),x=i(78943);let y=x.ZP.div.withConfig({componentId:"sc-d2ec05a5-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,b.Z.query.medium),S=x.ZP.button.withConfig({componentId:"sc-d2ec05a5-1"})(["position:absolute;right:20px;top:20px;span{","}"],b.Z.visuallyHidden),E=x.ZP.div.withConfig({componentId:"sc-d2ec05a5-2"})(["@media ","{max-width:360px;}"],b.Z.query.medium),w=x.ZP.h2.withConfig({componentId:"sc-d2ec05a5-3"})(["font-family:",";font-size:28px;margin-bottom:24px;text-align:center;"],e=>e.theme.fontTertiary),N=x.ZP.p.withConfig({componentId:"sc-d2ec05a5-4"})(["border-left:3px solid ",";color:",";font-size:13px;margin-bottom:16px;padding-left:16px;"],e=>e.theme.colorHighlight,e=>e.theme.colorHighlight),A=x.ZP.label.withConfig({componentId:"sc-d2ec05a5-5"})(["display:block;font-size:15px;line-height:32px;"]),C=x.ZP.input.withConfig({componentId:"sc-d2ec05a5-6"})(["border:1px solid ",";border-radius:4px;font-size:16px;line-height:18px;margin-bottom:8px;padding:12px;width:100%;&[readonly]{background:",";border-color:",";color:",";}"],e=>e.theme.colorMidAccent,e=>e.theme.colorLightFill,e=>e.theme.colorLightAccent,e=>e.theme.colorMid),F=x.ZP.div.withConfig({componentId:"sc-d2ec05a5-7"})(["display:flex;justify-content:space-between;"]),I=(0,x.iv)(["color:",";text-decoration:",";&:focus,&:hover{color:",";text-decoration:underline;}"],e=>e.theme.colorLink,e=>e.theme.decorationLink,e=>e.theme.colorLinkActive),P=x.ZP.a.withConfig({componentId:"sc-d2ec05a5-8"})(["font-size:13px;line-height:32px;",""],I),T=(0,x.ZP)(b.Z.ButtonStandard).withConfig({componentId:"sc-d2ec05a5-9"})(["padding:12px;width:100%;"]),_=x.ZP.p.withConfig({componentId:"sc-d2ec05a5-10"})(["font-size:13px;line-height:17px;margin-top:16px;text-align:center;a{","}"],I),L=x.ZP.p.withConfig({componentId:"sc-d2ec05a5-11"})(["font-size:16px;line-height:20px;margin:12px 0 32px;"]),R=x.ZP.div.withConfig({componentId:"sc-d2ec05a5-12"})(["text-align:center;"]),D=x.ZP.h4.withConfig({componentId:"sc-d2ec05a5-13"})(["font-size:18px;line-height:22px;"]),B=x.ZP.p.withConfig({componentId:"sc-d2ec05a5-14"})(["font-size:16px;line-height:20px;margin:18px 0 32px;padding:0 12px;"]),Z=x.ZP.span.withConfig({componentId:"sc-d2ec05a5-15"})(["display:block;margin:18px 0;"]),O=x.ZP.button.withConfig({componentId:"sc-d2ec05a5-16"})(["color:",";cursor:pointer;display:block;font-size:13px;margin:16px auto 0;text-decoration:",";&:focus,&:hover{color:",";text-decoration:underline;}"],e=>e.theme.colorLink,e=>e.theme.decorationLink,e=>e.theme.colorLinkActive);var M=i(33460);let G=({isEmailVerifiedLogin:e,isOpen:t,onClose:i,showLoginValue:g,socialLoginError:b})=>{let x=e?d.oE:d.qf,{IDENTIFICATION:{FORGOTTEN_PASSWORD_URL:I,REGISTRATION_URL:G},MEMBER_AUTH_API:{TIMEOUT:j,URL:H},brand:{shortSiteName:V}}=(0,a.Z)(),U=(0,o.Z)(),$=(0,h.TH)(),q=(0,l.ZP)(),[z,W]=(0,p.useState)(b),Y=(0,f.Y)();z?.email&&b.email!==Y&&(0,f.v)(z.email);let[Q,K]=(0,p.useState)(""),[J,X]=(0,p.useState)(""),ee=(0,p.useRef)(null),et=`${"undefined"==typeof window?"":window.location.origin}${$.pathname}${$.search}`,ei=e=>{switch(e){case"apple":(0,c.cc)(d.P2),(0,c.T7)(d.P2,x);break;case"google":(0,c.cc)(d.G0),(0,c.T7)(d.G0,x)}};(0,p.useEffect)(()=>{t&&g!==k.CV.LOGIN&&(0,c.T7)(d.F7,x)},[x,t,g]);let en=(0,n.jsxs)(p.Fragment,{children:[(0,n.jsx)(w,{children:"Log in"}),(0,n.jsxs)("form",{method:"post",onSubmit:e=>{e.preventDefault(),(0,c.T7)(d.VR,x),(0,M.x4)({authUrl:H,brand:V,code:z?.conflictCode,loginID:Y,password:Q,redirectUrl:et,timeoutMs:j}).then(()=>{i()}).catch(e=>{q.pushAnalyticsEvent({event:u.LOGIN_FAILED_EVENT,method:"email"}),X(e.message)})},children:[(0,n.jsx)(A,{htmlFor:"username",children:"Email address"}),(0,n.jsx)(C,{id:"username",onChange:e=>{(0,f.v)(e.target.value)},readOnly:!!z?.email||e,ref:ee,required:!0,type:"email",value:Y},"username"),(0,n.jsxs)(F,{children:[(0,n.jsx)(A,{htmlFor:"password",children:"Password"}),(0,n.jsx)(P,{href:I.replace("",encodeURIComponent(et)),onClick:()=>{(0,c.T7)(d.$2,x)},children:"Forgotten password?"})]}),(0,n.jsx)(C,{id:"password",onChange:e=>{K(e.target.value)},required:!0,type:"password",value:Q}),(0,n.jsx)(T,{children:"Log in"}),!z&&(0,n.jsxs)(p.Fragment,{children:[(0,n.jsxs)(_,{children:["Not registered?"," ",(0,n.jsx)("a",{href:G.replace("",encodeURIComponent(et)),children:"Register"})]}),(0,n.jsx)(s.Z,{login:M.x4,loginFields:{authUrl:H,brand:V,loginID:Y,password:Q,redirectUrl:et,timeoutMs:j},onClick:ei})]},"registerSocialLogin"),z&&(0,n.jsx)(O,{onClick:e=>{e.preventDefault(),W(null),(0,f.v)("")},type:"button",children:"Log in with a different account"})]})]},"loginForm"),er=(0,n.jsxs)(R,{children:[(0,n.jsx)(D,{children:M.O1[M.NA].heading}),(0,n.jsx)(B,{role:"alert",children:((e,t,i)=>{let r=i?.providers?.[0],a=[r],o=(0,M.po)();o&&a.unshift(o);let l=a.filter(t=>"apple"===t&&e[m.PERM_FEATURE_FLAG_LOGIN_APPLE_OPTION]||"google"===t&&e[m.PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION]).map(e=>M.Q9[e]).join(" or "),s=t.replace("linkProvider",M.Q9[r]).replace("loginProviders",l).split("\n");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z,{children:s[0]}),(0,n.jsx)("span",{children:s[1]})]})})(U,M.O1[M.NA].message,z)}),(0,n.jsx)(s.Z,{conflictCode:z?.conflictCode,linkProvider:z?.providers?.[0],login:M.x4,loginFields:{authUrl:H,brand:V,loginID:Y,password:Q,redirectUrl:et,timeoutMs:j},onClick:ei})]});return(0,n.jsx)(v(),{bodyOpenClassName:"modalBodyOpen",className:"modalContent",isOpen:t,onAfterOpen:()=>{ee.current?.focus()},onRequestClose:i,overlayClassName:"modalOverlay",children:(0,n.jsxs)(y,{children:[(0,n.jsxs)(S,{onClick:i,children:[(0,n.jsx)("span",{children:"Close"}),(0,n.jsx)(r.Z,{})]}),(0,n.jsxs)(E,{children:[J&&(0,n.jsxs)(N,{children:["Sorry, ",J]}),z?.errorCode===M.F3&&(0,n.jsxs)(p.Fragment,{children:[(0,n.jsx)(D,{children:M.O1[M.F3].heading}),(0,n.jsx)(L,{children:M.O1[M.F3].message})]},"messages"),z?.errorCode!==M.NA?en:er]})]})})}},33460:function(e,t,i){i.d(t,{ED:()=>A,F3:()=>v,HH:()=>T,Hz:()=>_,NA:()=>h,O1:()=>k,Q9:()=>f,SM:()=>y,VA:()=>b,Yw:()=>x,bi:()=>L,eH:()=>N,kS:()=>I,po:()=>E,qS:()=>P,x4:()=>F});var n=i(17845),r=i(81924),a=i(28191),o=i(9259),l=i(69414),s=i(79388),d=i(58491);let c=["login","auth:login"],u=["login","auth:refresh"],m="justLoggedIn",p={JUST_LOGGED_IN_NAME:m},g="socialLoginProvider",v="account_exists_error",h="social_conflict",k={[v]:{heading:"Looks like you already have an account.",message:"To continue logging in please enter your password."},internal_error:{heading:"",message:"An unexpected error has occurred while logging in. Please contact our customer care team on 13\xa066\xa066 or +61\xa02\xa09696\xa08905."},rejected_consent:{heading:"",message:""},[h]:{heading:"You have an existing account.",message:"To proceed, please log in to linkProvider below.\nYou will be able to log in with loginProviders once you have verified your existing account."},social_conflict_error:{heading:"",message:"An error has occurred with log in."},social_link_error:{heading:"",message:""},social_login_error:{heading:"",message:"An error has occurred with log in. Please double check your login details."}},f={apple:"Apple",facebook:"Facebook",google:"Google",site:""},b="logout",x=()=>a.Yb.getItem(m,p),y=()=>{a.Yb.removeItem(m,p)},S=e=>{a.Yb.setItem(m,e,p)},E=()=>a.Yb.getItem(g,{SOCIAL_LOGIN_PROVIDER_NAME:g}),w=(e,t=[])=>{let[i,n]=e.split("?");if(!n)return`${i}`;let r=d.Z.parse(n),a="";for(let e of t)Object.hasOwn(r,e)&&(r[e]=void 0);return Object.keys(r).length&&(a=`${d.Z.stringify(r)}`),a?`${i}?${a}`:`${i}`},N=(e,t,i,n)=>(0,o.V)(fetch(e,t),i,n),A=(e,t)=>{"google"===e&&(0,r.vU)(),S(e),a.Yb.setItem(g,e,{SOCIAL_LOGIN_PROVIDER_NAME:g}),window.location.assign(t)},C=async({authUrl:e,code:t,loginID:i,password:r,redirectUrl:a,timeoutMs:s})=>{let u=t?"link":"auth",m=w(a,["code","error_code"]),p=`${e}/api/member-auth/v0/member/${u}?response_type=code&redirect_uri=${encodeURIComponent(m)}`;try{let e=await N(p,{body:d.Z.stringify({code:t,loginID:i,password:r},{encode:!0}),credentials:"omit",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},method:"post"},s,c);if(e.status>200){let t=Error(`${e.status} ${e.statusText}`);if(401===e.status)return l.Y.error("Invalid username or password",n.log.EventType(...c),n.log.Error(t)),Promise.reject(Error("invalid username or password"));if(403===e.status){let{locked:i}=await e.json();if(i)return l.Y.error("Account is locked",n.log.EventType(...c),n.log.Error(t)),Promise.reject(Error("Your account is locked for 5 minutes. Please wait, or reset your password to regain access"));return l.Y.error("Invalid username or password",n.log.EventType(...c),n.log.Error(t)),Promise.reject(Error("invalid username or password"))}return l.Y.error("Log in failure",n.log.EventType(...c),n.log.Error(t)),Promise.reject(Error("network failure, please try again later"))}S("email");let{tokenURI:a}=await e.json();return window.location.assign(a),Promise.resolve()}catch(e){if(e instanceof o.W)return l.Y.error("Log in timeout",n.log.EventType(...c),n.log.Error(e)),Promise.reject(Error("request timed out, please try again later"));return l.Y.error("Log in failure",n.log.EventType(...c),n.log.Error(e)),Promise.reject(Error("network failure, please try again later"))}},F=async e=>"google"===e.loginMethod||"apple"===e.loginMethod||"facebook"===e.loginMethod?(({authUrl:e,brand:t,code:i,loginMethod:n,redirectUrl:r})=>{let a=w(r,["code","error_code"]),o="login",l=`redirect_uri=${encodeURIComponent(a)}&x_provider=${n}&brand=${t}`;if(i){let e="google"===n?"googleplus":n;o="link",l=`redirect_uri=${encodeURIComponent(a)}&code=${i}&brand=${t}&provider=${e}`}return A(n,`${e}/api/member-auth/v0/social/${o}?${l}`),null})(e):C(e),I=({authUrl:e,disabled:t,hagridEndpoint:i,redirectUrl:n})=>{let r=encodeURIComponent(`${n}#${b}`),a=r;i&&!t&&(a=encodeURIComponent(`${i}/members/session/logout?callback_uri=${r}`));let o=`${e}/api/member-auth/v0/member/logout?redirect_uri=${a}`;window.location.assign(o)},P=async({authUrl:e,code:t,errorCode:i,timeoutMs:r})=>{try{let n=`${e}/api/member-auth/v0/social/conflict`,a=await N(n,{body:d.Z.stringify({code:t}),credentials:"omit",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},method:"POST"},r,c);if(200!==a.status){let e=(0,s.a)(a);throw Error(e.message)}let{conflictCode:o,loginID:l,providers:u}=await a.json();if(u?.length>=0){let e=u.indexOf("googleplus");-1!==e&&(u[e]="google")}return{conflictCode:o,email:l,errorCode:i,providers:u}}catch(e){return l.Y.error("Social conflict response error",n.log.EventType("login","social:conflict"),n.log.Error(e)),Promise.reject(e)}},T=e=>"string"==typeof e?.type&&e?.type==="AUTHENTICATION_ERROR"||"object"==typeof e?.type&&e?.type?.class==="INVALID_AUTH",_=e=>!!e&&"object"==typeof e.type&&e?.type?.class==="FORBIDDEN",L=async({authUrl:e,disabled:t,hagridEndpoint:i,timeoutMs:r})=>{try{let a=`${e}/api/member-auth/v0/member/refresh?response_type=token`,o=await N(a,{credentials:"include",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},method:"GET"},r,u);if(o.status>=400){let r=(0,s.a)(o);return 401===o.status&&(l.Y.error("Unauthorised token refresh request",n.log.EventType("login","refresh"),n.log.Error(r)),I({authUrl:e,disabled:t,hagridEndpoint:i,redirectUrl:`${window.location.origin}${window.location.pathname}${window.location.search}`})),Promise.reject(r)}return S("email"),Promise.resolve("Successfully refreshed token")}catch(e){return l.Y.error("Error during the refresh of token",n.log.EventType("login","refresh"),n.log.Error(e)),Promise.reject(e)}}},64257:function(e,t,i){i.d(t,{E:()=>l,T:()=>o});var n=i(79644),r=i(78943);let a=(0,r.iv)([":where(path,g,rect,circle,ellipse,polygon,polyline):not([fill='none'],.preserve-fill){"," ","}"],({$isLightTheme:e,theme:t})=>e&&(0,r.iv)(["fill:",";"],t.colorTextLightMode),({$isDarkTheme:e,theme:t})=>e&&(0,r.iv)(["fill:",";"],t.colorTextDarkMode)),o=r.ZP.svg.withConfig({componentId:"sc-3800d0d2-0"})(["display:block;height:24px;"," @media ","{height:28px;}& .gf-cutout-fill{display:inline;","}"],a,n.Z.query.medium,({$isLightTheme:e,$isDarkTheme:t})=>(e||t)&&(0,r.iv)(["display:none;"])),l=r.ZP.span.withConfig({componentId:"sc-3800d0d2-1"})([""," @media ","{","}"],a,n.Z.query.smallMax,e=>{switch(e.$shortSiteName){case"brisbanetimes":return(0,r.iv)(["height:36px;width:36px;"]);case"smh":return(0,r.iv)(["height:28px;width:28px;"]);default:return(0,r.iv)(["height:32px;width:48px;"])}})},9521:function(e,t,i){i.d(t,{Z:()=>f});var n=i(52322),r=i(19565),a=i(93673),o=i(56111),l=i(64257);let s=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-brisbanetimes-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("1479").then(i.bind(i,99191)),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 i(this.resolve(e))},resolve:()=>99191}),d=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-smh-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("43").then(i.bind(i,8200)),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 i(this.resolve(e))},resolve:()=>8200}),c=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-theage-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("8205").then(i.bind(i,82827)),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 i(this.resolve(e))},resolve:()=>82827}),u=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-watoday-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("4646").then(i.bind(i,65247)),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 i(this.resolve(e))},resolve:()=>65247}),m=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-logo-brisbanetimes-lettermark-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("263").then(i.bind(i,78478)),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 i(this.resolve(e))},resolve:()=>78478}),p=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-logo-smh-lettermark-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("5934").then(i.bind(i,87155)),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 i(this.resolve(e))},resolve:()=>87155}),g=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-logo-theage-lettermark-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("1605").then(i.bind(i,54943)),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 i(this.resolve(e))},resolve:()=>54943}),v=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-logo-watoday-lettermark-svg",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("7219").then(i.bind(i,59546)),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 i(this.resolve(e))},resolve:()=>59546}),h={brisbanetimes:s,smh:d,theage:c,watoday:u},k={brisbanetimes:m,smh:p,theage:g,watoday:v},f=({className:e,isDarkTheme:t=!1,isLightTheme:i=!1,isLogoSmall:r})=>{let{brand:s}=(0,o.Z)(),d=(0,a.Z)("smallMax");return(0,n.jsx)("a",{className:e,href:"/",children:r&&d?(0,n.jsx)(l.E,{$isDarkTheme:t,$isLightTheme:i,$shortSiteName:s.shortSiteName,as:k[s.shortSiteName],"data-testid":"logo-small"}):(0,n.jsx)(l.T,{$isDarkTheme:t,$isLightTheme:i,as:h[s.shortSiteName],"data-testid":"logo"})})}},57304:function(e,t,i){i.d(t,{Z:()=>E});var n=i(17845),r=i(12043),a=i(41865),o=i(11402),l=i(33460),s=i(23539);let d={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"MemberAndSubscriptionsDetailsQuery"},directives:[],variableDefinitions:[],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberDetails"},arguments:[],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:"member"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"membershipId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"requiredToVerify"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shortID"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"verified"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"memberExternalSubscriptionProviders"},arguments:[],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:"providers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"purchaseSource"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"memberSubscriptionDetails"},arguments:[],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:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entitlements"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"plans"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:342,source:{body:"query MemberAndSubscriptionsDetailsQuery{memberDetails{error{message type{class}}member{profile{displayName email membershipId requiredToVerify shortID type verified}}}memberExternalSubscriptionProviders{error{message type{class}}providers{purchaseSource}}memberSubscriptionDetails{error{message type{class}}subscription{entitlements plans}}}"}}};var c=i(80282),u=i(25223),m=i(2596),p=i(69414),g=i(16162),v=i.n(g),h=i(58491),k=i(2784),f=i(19076),b=i(83949),x=i(19510);let y=["member","memberDetails"],S=e=>"email"===e||"apple"===e||"google"===e,E=()=>{let e,t=(0,f.m)(),i="undefined"!=typeof document&&(0,l.Yw)(),g=("undefined"==typeof window?"":window.location.hash.substr(1))===l.VA,E=(0,r.Z)(),{data:w,refetch:N,loading:A}=(e=!(i&&!g&&!t||(0,x.aN)()),(0,s.a)(d,{context:{clientName:"api-front"},fetchPolicy:"no-cache",skip:e,ssr:!1})),C=(0,o.ZP)(),F=(0,a.Z)()[m.PERM_FEATURE_FLAG_MOENGAGE_ENABLED];return(0,k.useEffect)(()=>{t&&(E(N),(0,f.F)(!1))},[N,E,t]),(0,k.useEffect)(()=>{if(g){(0,x.uU)(),(0,x.b1)(),(0,b.av)(void 0),(0,b.L0)(!0),F&&(0,u.hY)();let e=h.Z.parseUrl(window.location.href);window.history.replaceState("","",h.Z.stringifyUrl(e));return}if(i)return void(0,b.L0)(!1);let e=(0,x.wf)();e&&((0,x.bQ)(),(0,b.av)(e),(0,b.L0)(!0),F&&((0,u.bG)(),(0,u.$A)(e.sub)))},[g,i,F]),(0,k.useEffect)(()=>{if(!w){A||(0,b.L0)(!0);return}let{memberDetails:e,memberExternalSubscriptionProviders:t,memberSubscriptionDetails:r}=w,{error:a,member:o}=e||{},{error:s,providers:d=[]}=t||{},{error:m,subscription:g}=r||{},h=a||s||m;if(h)return(0,l.HH)(h)?void E(N):((0,l.Hz)(h)&&(0,x.b1)(),i&&S(i)&&C.pushAnalyticsEvent({event:c.LOGIN_FAILED_EVENT,method:i}),(0,l.Hz)(h)||p.Y.error("Member details failure",n.log.EventType(...y),n.log.Error(h)),(0,x.uU)(),(0,b.av)(void 0),(0,x.b1)(),void(0,b.L0)(!0));let{profile:{displayName:k,email:f,membershipId:I,requiredToVerify:P,shortID:T,type:_,verified:L}}=o;if(i){let e=v()("sha256").update(f).digest("hex");S(i)&&C.pushAnalyticsEvent({event:c.LOGIN_SUCCESS_EVENT,hashed_email:e,method:i})}let R={email:f,externalPurchaseSource:d[0]?.purchaseSource,membershipId:I,requiredToVerify:P,screenName:k,sub:T,subscription:g,type:_.toLowerCase(),verified:L};(0,x.VT)(R),(0,x.bQ)(),(0,b.av)(R),F&&(0,u.$A)(R.sub),(0,b.L0)(!0),(0,l.SM)()},[w,A,i,N,E,C,F]),null}},19510:function(e,t,i){i.d(t,{AY:()=>f,Hm:()=>E,VT:()=>m,WL:()=>h,_c:()=>o,aN:()=>v,b1:()=>p,bQ:()=>g,d6:()=>x,kk:()=>b,lO:()=>a,qm:()=>w,tD:()=>k,u:()=>S,uU:()=>u,wf:()=>c,zw:()=>r});var n=i(28191);let r="Metro_article",a="Metro_puzzles",o="Metro_todays_paper",l="ffx-member-details",s="ffx-member-logged-out",d={MEMBER_DETAILS_STORAGE_NAME:l,MEMBER_LOGGED_OUT_STORAGE_NAME:s},c=()=>{let e=n.Yb.getItem(l,d),t=e?JSON.parse(e):void 0;return t?t.value||t:void 0},u=()=>{n.Yb.removeItem(l,d)},m=e=>{e&&n.Yb.setItem(l,JSON.stringify(e),d)},p=()=>{n.Yb.setItem(s,!0,d)},g=()=>{n.Yb.removeItem(s,d)},v=()=>!n.Yb.getItem(s,d)&&!c(),h=(e,t,i=!0)=>{let{subscription:{entitlements:n=[]}={}}=e||{};return!i||n.includes(t)},k=e=>h(e,"Metro_goodfood_article"),f=e=>h(e,a),b=e=>h(e,r),x=e=>{let{subscription:t,type:i}=e||{};if(!b(e))return i||"visitor";let n=t?.plans?[...t.plans].sort():[];return`subscriber ${n.join(",").toLowerCase()}`},y=["smh","theage","brisbanetimes"],S=e=>y.includes(e),E=e=>e?.subscription?.plans||[],w=e=>e?.subscription?.entitlements||[]},64066:function(e,t,i){i.d(t,{Z:()=>c});var n=i(52322),r=i(56111),a=i(56613),o=i(33460),l=i(58491),s=i(2784),d=i(53896);let c=()=>{let[e,t]=(0,s.useState)(!0),[i,c]=(0,s.useState)(void 0),{search:u}=(0,d.TH)(),{MEMBER_AUTH_API:{TIMEOUT:m,URL:p}}=(0,r.Z)(),g=l.Z.parse(u),{code:v,error_code:h}=g,k=Array.isArray(v)?v[0]:v,f=Array.isArray(h)?h[0]:h;return((0,s.useEffect)(()=>{if("undefined"==typeof window||!k&&!f)return;g.code=void 0,g.error_code=void 0;let e=l.Z.stringify(g),t=`${window.location.pathname}${e?`?${e}`:""}${window.location.hash||""}`;window.history.replaceState("",document.title,t)},[k,f,g]),(0,s.useEffect)(()=>{f&&(0,o.qS)({authUrl:p,code:k,errorCode:f,timeoutMs:m}).then(e=>{c(e)}).catch(()=>{})},[m,p,k,f]),i)?(0,n.jsx)(a.Z,{isOpen:e,onClose:()=>t(!1),socialLoginError:i}):null}},66873:function(e,t,i){i.d(t,{Z:()=>v});var n=i(52322),r=i(56111),a=i(41865),o=i(40677),l=i(2596),s=i(84641),d=i(72175),c=i(53896),u=i(96648),m=i(72649),p=i(79916);let g=e=>{if(!e)return"";let t=new Date(e);return Number.isNaN(t.getTime())?"":t.toISOString().replace("Z","+00:00")},v=()=>{var e,t,i,v,h;let k,f,b,x,y,S,{GOODFOOD:{image:E,social:{facebook:w,twitter:N,ios:A},LONG_SITE_NAME:C},PAGEBUILDER:{ENABLED:F},SUBSCRIBE_WITH_GOOGLE:{CLIENT_ID:I,PRODUCT_ID:P},TRAVELLER:{LONG_SITE_NAME:T},brand:_,imageRenditionUrlPrefix:L}=(0,r.Z)(),R=(0,a.Z)(),D=(0,u.A)(),B=(0,c.TH)().pathname,Z=(0,p.Un)(B),O=Z===m.AX&&{..._,longSiteName:C},M=Z===m.zE&&{..._,longSiteName:T},G=O||M||_,j=`${G.siteUrl}${B}`;if(!D)return null;let{assetId:H,canonical:V,description:U,images:$,keywords:q="",published:z,seo:W,social:Y,title:Q,type:K}=D,J=D.label||"",X=((e,t,i,n,r,a,l=!1,s="")=>{let d,c,u,p,g,v=t===m.AX?{altText:"Good Food logo",height:i.LOGO_HEIGHT,url:i.LOGO_URL,width:i.LOGO_WIDTH}:t===m.zE?{altText:"Traveller logo",height:e.image.LOGO_HEIGHT,url:e.image.LOGO_URL,width:e.image.LOGO_WIDTH}:{altText:`${e.longSiteName} logo`,height:e.image.LOGO_HEIGHT,url:e.image.LOGO_URL,width:e.image.LOGO_WIDTH};if(!n)return v;n.landscape16x9?(c=n.landscape16x9,d=o.ri.wide,u=800):"ImageRenditions"===n.__typename&&n.landscape3x2?(c=n.landscape3x2,d=o.ri.landscape,u=620):"ImageRenditions"===n.__typename&&n.portrait2x3?(c=n.portrait2x3,d=o.ri.portrait,u=414):"ImageRenditions"===n.__typename&&n.square1x1&&(c=n.square1x1,d=o.ri.square,u=620);let h=c?.altText||v.altText;c&&l&&r&&(t===m.AX?(g="goodfood",p=null):t===m.zE?(g="traveller",p=null):(g=e.shortSiteName,p=(0,o.hK)(r,90)||null));let k=s?s.toLowerCase():"";return c?{altText:h,height:Math.ceil(u/d),url:(0,o.iu)({age:p,aspectRatio:d,image:c,imageRenditionUrlPrefix:a,label:k,watermarkBrand:g,width:u}),width:u}:v})(G,Z,E,Y?.images||$,z,L,!0,J),ee={smh:"smh",brisbanetimes:"brisbanetimes",theage:"theage",watoday:"watoday"}[G.shortSiteName];return(0,n.jsxs)(d.ql,{children:[(0,n.jsx)("title",{children:W?.title||Q}),((e,t,i)=>{let r=e&&!((e="")=>e.startsWith("/iframe/"))(t)?"noindex,follow":"noarchive,noodp,index",a=!i||["Index","Homepage"].includes(i)||e?"":",max-image-preview:large,max-snippet:-1,max-video-preview:-1";return(0,n.jsx)("meta",{content:`${r}${a}`,name:"robots"},"robots:noarchive")})(W?.doNotIndex,B,K),((e,t,i,r)=>{let a=[(0,n.jsx)("meta",{content:t,name:"description"},"description"),(0,n.jsx)("meta",{content:i,name:"keywords"},"keywords"),(0,n.jsx)("meta",{content:"no-referrer-when-downgrade",name:"referrer"},"referrer"),(0,n.jsx)("meta",{content:e,name:"title"},"title")];return r&&a.push((0,n.jsx)("link",{href:r,rel:"canonical"},"canonical")),a})(W?.title||Q,W?.description||U,q,V),((e,t)=>{let{author:i,categories:r,firstPublished:a,published:o,type:l}=t;if(![s.h3.Article,s.h3.Bespoke,s.h3.FeatureArticle,s.h3.LiveArticle].includes(l))return[];let d=((e,t)=>{let i=e.split("/").filter(Boolean);return i.length>1?i[1]:t.slice(-1)[0]||""})(e,r||[]),c=i&&0!==i.length?i.join(", "):"",u=g(a||o),m=g(o);return[d&&(0,n.jsx)("meta",{content:d,"data-rh":"true",property:"article:section"},"article:section"),u&&(0,n.jsx)("meta",{content:u,"data-rh":"true",property:"article:published_time"},"article:published_time"),u&&(0,n.jsx)("meta",{content:u,"data-rh":"true",itemProp:"datePublished",name:"pubdate"},"datePublished"),m&&(0,n.jsx)("meta",{content:m,"data-rh":"true",property:"article:modified_time"},"article:modified_time"),c&&(0,n.jsx)("meta",{content:c,"data-rh":"true",itemProp:"author",name:"author"},"author")].filter(Boolean)})(B,D),(k=w.appID,f=w.pages,[(0,n.jsx)("meta",{content:k,name:"fb:app_id"},"fb:app_id"),...f.split(",").map(e=>(0,n.jsx)("meta",{content:e,name:"fb:pages"},`fb:pages:${e}`))]),(b="/metro-assets/assets/static",[(0,n.jsx)("link",{href:`${b}/favicons/${ee}${F?"-alt":""}.ico`,rel:"icon",type:"image/x-icon"},"icon"),(0,n.jsx)("link",{href:`${b}/apple-touch-icons/${ee}.png`,rel:"apple-touch-icon"},"apple-icon")]),(x=Y?.title||Q,y=Y?.description||U,S=G.longSiteName,[(0,n.jsx)("meta",{content:y,property:"og:description"},"og:description"),(0,n.jsx)("meta",{content:X.url,property:"og:image"},"og:image"),(0,n.jsx)("meta",{content:X.altText,property:"og:image:alt"},"og:image:alt"),(0,n.jsx)("meta",{content:`${X.width}`,property:"og:image:width"},"og:image:width"),(0,n.jsx)("meta",{content:`${X.height}`,property:"og:image:height"},"og:image:height"),(0,n.jsx)("meta",{content:X.url,property:"og:image:secure_url"},"og:image:secure_url"),(0,n.jsx)("meta",{content:"en_AU",property:"og:locale"},"og:locale"),(0,n.jsx)("meta",{content:S,property:"og:site_name"},"og:site_name"),(0,n.jsx)("meta",{content:x,property:"og:title"},"og:title"),(0,n.jsx)("meta",{content:j,property:"og:url"},"og:url")]),(e=N.user,t=Y?.title||Q,i=Y?.description||U,[(0,n.jsx)("meta",{content:"summary_large_image",name:"twitter:card"},"twitter:card"),(0,n.jsx)("meta",{content:i,name:"twitter:description"},"twitter:description"),(0,n.jsx)("meta",{content:X.altText,name:"twitter:image:alt"},"twitter:image:alt"),(0,n.jsx)("meta",{content:X.url,name:"twitter:image:src"},"twitter:image:src"),(0,n.jsx)("meta",{content:Z===m.AX?e:G.social.twitter.user,name:"twitter:site"},"twitter:site"),(0,n.jsx)("meta",{content:t,name:"twitter:title"},"twitter:title")]),(v=A.appID,h=R[l.PERM_FEATURE_FLAG_GOODFOOD_IOS_BANNER_ENABLED],[s.h3.Article,s.h3.FeatureArticle,s.h3.Recipe,s.h3.Collection].includes(K)&&h&&(0,p._P)(B)?(0,n.jsx)("meta",{content:`app-id=${v}, app-argument=goodfood-app://article/${H}?source=smartbanner`,name:"apple-itunes-app"}):null),![s.h3.Article,s.h3.Bespoke,s.h3.FeatureArticle,s.h3.Gallery,s.h3.LiveArticle].includes(K)&&((e,t,i,r,a)=>{let{image:{LOGO_HEIGHT:o,LOGO_URL:l,LOGO_WIDTH:s},longSiteName:d}=e,c={"@context":"https://schema.org","@type":"WebPage",name:a,...t&&{url:t},publisher:{"@type":"NewsMediaOrganization",logo:{"@type":"ImageObject",height:o,url:l,width:s},name:d},thumbnailUrl:i,isAccessibleForFree:!1,isPartOf:{"@type":["CreativeWork","Product"],name:d,productID:r}};return(0,n.jsx)("script",{type:"application/ld+json",children:JSON.stringify(c)},"schema:article")})(G,V,X.url,P,Y?.title||Q),R[l.PERM_FEATURE_FLAG_SWG_ENTITLEMENT]&&I?(0,n.jsx)("meta",{content:I,name:"google-signin-client_id"},"google-signin-client_id"):null]})}},60055:function(e,t,i){i.d(t,{Uu:()=>o,aX:()=>a,no:()=>r});let n={"good-food-eating-in":{newsletterID:{brisbanetimes:"10173",smh:"10074",theage:"10172",watoday:"10174"},text:"The best recipes from Australia's leading chefs straight to your inbox."},"good-food-eating-out":{newsletterID:{brisbanetimes:"",smh:"10073",theage:"10171",watoday:""},text:"Restaurant reviews, news and the hottest openings served to your inbox."}},r=(e,t,i,r)=>{let a=`channel_key=${encodeURIComponent(r)}&callback_uri=${encodeURIComponent(`https://www.${t}.com.au${i}`)}`;return n[e]?.newsletterID[t]&&`https://login.myfairfax.com.au/signup_newsletter/${n[e].newsletterID[t]}?${a}`},a=e=>n[e].text,o=e=>{switch(e){case"Eating out":case"Eating out (Bris)":case"Eating out (Mel)":case"Eating out (Per)":case"Eating out (Syd)":default:return"good-food-eating-out";case"Recipes":case"Tips & advice":return"good-food-eating-in"}}},35981:function(e,t,i){i.d(t,{Z:()=>l});var n=i(81924),r=i(2784),a=i(52001),o=i(83949);let l=()=>{let e=(0,o.cN)(),t=(0,a.q)();return(0,r.useEffect)(()=>{e&&t&&(0,n.J9)()},[e,t]),null}},92610:function(e,t,i){i.d(t,{g:()=>r});var n=i(79644);let r=(0,i(78943).vJ)(["#hard-reg-wall-piano-id.hard-reg-wall-piano-active{&::before{background-image:linear-gradient(to bottom,rgb(255 255 255 / 0%),#fff);content:'';display:block;height:160px;left:0;position:absolute;top:-160px;width:100%;z-index:",";@media ","{margin-left:",";width:",";}@media ","{margin-left:",";width:",";}}}#hard-reg-wall-piano-id{clear:both;margin:0 -20px;position:relative;@media ","{left:",";margin:0;position:relative;width:",";}@media ","{margin:0;width:",";}&.bespoke{left:0;margin:0;width:100%;}&.feature_article{@media ","{left:0;margin:0;width:100%;}}&.gallery{margin-bottom:32px;@media ","{left:0;width:100%;}}&.immersive{&::before{@media ","{left:calc(-1 * ",");}@media ","{left:calc(-1 * ",");}background-image:linear-gradient( to top,#fff 0%,rgb(255 255 255 / 0%) 15%,rgb(255 255 255 / 0%) 100% );max-width:100%;}}&.live_article{@media ","{left:0;width:100%;}}&.video{@media ","{margin-left:",";margin-top:32px;width:100%}&::before{@media ","{margin-left:0;width:100%;}}}}#soft-reg-wall-piano-id{bottom:32px;box-shadow:0 1px 18px 0 rgb(0 0 0 / 12%),0 6px 10px 0 rgb(0 0 0 / 14%),0 3px 5px -1px rgb(0 0 0 / 20%);margin:0 auto;max-width:608px;opacity:0;transition:bottom .8s ease-out .5s,opacity .8s ease .5s;@media ","{left:50%;right:initial;transform:translateX(-50%);width:100%;}@media ","{left:calc("," - 10px);}@media ","{left:3%;margin:0 auto;max-width:480px;right:3%;}&.feature_article{@media ","{left:50%;}}&.video{@media ","{left:50%;transform:translateX(-50%);}}}#soft-reg-wall-piano-id.soft-reg-wall-piano-active{border-radius:8px;bottom:16px;opacity:1;position:fixed;z-index:",";}&.tp-backdrop.tp-active{background:rgb(0 0 0 / 60%);}&.tp-modal{backdrop-filter:blur(6px);}&.tp-iframe-wrapper.tp-active{@media ","{left:50%;position:absolute;top:calc(50% - 50px);transform:translate(calc(-50% - 0.5px),-50%);}}#homepage-header-subscribe-button-piano-id{width:100%;}#meter-toaster-piano-id{bottom:0;left:0;opacity:0;position:fixed;right:0;transform:translateY(100%);transition:opacity .3s linear .5s,transform .3s ease-in-out .5s;width:100%;z-index:",";@media ","{margin:0;}}#meter-toaster-piano-id.meter-toaster-piano-active{opacity:1;transform:translateY(0);}#app-prompt-piano-id{bottom:0;left:0;position:fixed;right:0;width:100%;z-index:",";}#app-prompt-piano-id > .tp-container-inner{position:relative;z-index:",";}#app-prompt-piano-id.app-prompt-piano-active{&::before{background:linear-gradient( to bottom,rgb(255 255 255 / 50%) 0%,rgb(255 255 255 / 100%) 60% );content:'';height:100%;left:0;overflow:hidden;position:fixed;text-align:center;top:0;width:100%;z-index:",";@media ","{background:linear-gradient( to bottom,rgb(255 255 255 / 50%) 0%,rgb(255 255 255 / 100%) 65% );}}}#paywall-prompt-piano-id{bottom:0;left:0;position:fixed;right:0;width:100%;z-index:",";}#paywall-prompt-wrapper-piano-id.paywall-prompt-piano-active{&::before{background:linear-gradient( to bottom,rgb(255 255 255 / 50%) 0%,rgb(255 255 255 / 100%) 60% );content:'';height:100%;left:0;overflow:hidden;position:fixed;text-align:center;top:0;width:100%;z-index:",";@media ","{background:linear-gradient( to bottom,rgb(255 255 255 / 50%) 0%,rgb(255 255 255 / 100%) 65% );}}}#app-collapsible-prompt-piano-id{bottom:0;left:0;position:fixed;right:0;width:100%;z-index:",";}#app-inline-prompt-piano-id{margin:24px 0 0;@media ","{margin:32px 0 0;}}#meter-prompt-piano-id.meter-prompt-piano-active{margin:24px -20px 32px;@media ","{margin:32px 0;}}#eoa-meter-prompt-piano-id.meter-prompt-piano-active{margin:24px -20px 0;@media ","{margin:32px 0 0;}}"],n.Z.zIndex.paywall.hardWall,n.Z.query.large,n.Z.columnOffset(-1,7),n.Z.columnWidth(8,7),n.Z.query.mediumOnly,n.Z.columnOffset(-1,10),n.Z.columnWidth(12,10),n.Z.query.medium,n.Z.columnOffset(1,12),n.Z.columnWidth(10,12),n.Z.query.large,n.Z.columnWidth(7,12),n.Z.query.large,n.Z.query.large,n.Z.query.large,n.Z.columnOffset(-1,7),n.Z.query.mediumOnly,n.Z.columnOffset(-1,10),n.Z.query.large,n.Z.query.medium,n.Z.columnOffset(-1,12),n.Z.query.medium,n.Z.query.medium,n.Z.query.large,n.Z.columnOffset(5,12),n.Z.query.smallMax,n.Z.query.large,n.Z.query.large,n.Z.zIndex.paywall.softWall,n.Z.query.medium,n.Z.zIndex.modal,n.Z.query.medium,n.Z.zIndex.paywall.messaging,n.Z.zIndex.paywall.messaging,n.Z.zIndex.paywall.overlay,n.Z.query.medium,n.Z.zIndex.paywall.messaging,n.Z.zIndex.paywall.overlay,n.Z.query.medium,n.Z.zIndex.paywall.messaging,n.Z.query.medium,n.Z.query.medium,n.Z.query.medium)},70827:function(e,t,i){i.d(t,{Z:()=>ed});var n=i(21509),r=i(17845),a=i(5950),o=i(64381),l=i(56111),s=i(41865),d=i(11402),c=i(28067),u=i(69414),m=i(2784);let p=["piano","BypassQuery"],g={isFacebookBypass:!1,isGoogleBypass:!1,isIPBypass:!1},v=Object.values(c.Jw);var h=i(23539);let k={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"PaywallBypassMemberDetailsQuery"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PaywallBypassInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paywallBypass"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"result"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"memberDetails"},arguments:[],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:"member"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"membershipId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"requiredToVerify"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shortID"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"verified"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"memberSubscriptionDetails"},arguments:[],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:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entitlements"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"plans"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:346,source:{body:"query PaywallBypassMemberDetailsQuery($input:PaywallBypassInput!){paywallBypass(input:$input){error{message type{class}}result{type}}memberDetails{error{message type{class}}member{profile{displayName email membershipId requiredToVerify shortID type verified}}}memberSubscriptionDetails{error{message type{class}}subscription{entitlements plans}}}"}}};var f=i(17741);let b=["piano","BypassQueryMemberDetail"],x={isFacebookBypass:!1,isGoogleBypass:!1,isIPBypass:!1};var y=i(33460),S=i(81924),E=i(98051),w=i(28191),N=i(31106),A=i(79388);let{HAGRID_ENDPOINT:C,MEMBER_AUTH_API:{TIMEOUT:F,URL:I}}=N.Z,P=()=>{try{let e={};for(let t of Object.keys(localStorage))e[t]=localStorage[t]?.length;return JSON.stringify(e)}catch(e){u.Y.error("Failed to get localstorage sizes",r.log.EventType("Piano","getLocalStorageSizes"),r.log.Error(e))}return""},T=()=>{w.Yb.removeItem(E.Zq,E.eT)},_=["Piano","fetchExternalJWT"],L=async(e,t,i,n=0)=>{let a=`${I}/api/member-auth/v0/auth-sync/token`;try{let o=await (0,y.eH)(a,{credentials:"include",headers:{Accept:"application/json"},method:"GET"},F,_);if(o.status>=400){if(500===o.status&&n{let e=new Date;return e.setDate(e.getDate()+E.oC),e.toISOString()})();try{w.Yb.setItem(E.Zq,JSON.stringify({expires:s,value:l}),E.eT)}catch(e){e&&e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&u.Y.error("LocalStorage full.",r.log.EventType("Piano","set:pianoExternalJWT"),r.log.Error(e),r.log.String("localStorageSizes",P())),u.Y.error(`Unable to set ${E.Zq} storage value for the sub ID:${t}.`,r.log.EventType("Piano","set:pianoExternalJWT"),r.log.Error(e))}return l}catch(e){return u.Y.error(`error during fetching Piano external JWT for the sub ID:${t}.`,r.log.EventType(..._),r.log.Error(e)),""}},R=async(e,t,i)=>{if(!t)return T(),"";let{jwt:n,shouldRefresh:a}=(e=>{let t,i=w.Yb.getItem(E.Zq,E.eT);if(!i)return{jwt:"",shouldRefresh:!1};try{t=JSON.parse(i)}catch(t){return T(),u.Y.error(`Unable to parse ${E.Zq} storage value for the sub ID:${e}.`,r.log.EventType("Piano","parse:pianoExternalJWT"),r.log.Error(t)),{jwt:"",shouldRefresh:!1}}let{expires:n,value:a}=t,o=new Date(n),l=new Date;return o<=l?(T(),{jwt:"",shouldRefresh:!1}):(o.setDate(o.getDate()-E.$j),o<=l)?{jwt:a,shouldRefresh:!0}:{jwt:a,shouldRefresh:!1}})(t.sub);if(n&&!a)return n;let o=await L(e,t.sub,i);return o||n||(u.Y.error(`Unable to get a valid Piano auth sync token for the sub ID:${t.sub}.`,r.log.EventType("Piano","getAuthSyncJWT")),"")};var D=i(98070);let B={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"MemberCheckExistsQuery"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberCheckExists"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberExists"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:91,source:{body:"query MemberCheckExistsQuery($email:String!){memberCheckExists(email:$email){memberExists}}"}}},Z=async(e,t)=>e?await t({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:B,variables:{email:e}}).then(({data:e})=>{if(!e?.memberCheckExists)return u.Y.error("No data in response from member check exists request query",r.log.EventType("CheckMemberExists, checkMemberExists")),null;let{memberExists:t}=e.memberCheckExists;return t}):null;var O=i(19510),M=i(25790),G=i(1797),j=i(36130);let{DEPLOY_ENV:H,MEMBER_AUTH_API:{TIMEOUT:V,URL:U},PIANO:$,brand:{shortSiteName:q}}=N.Z,z="production"===H,W=["collection","error","homepage","index","puzzle","search","topic"],Y=(e,t)=>{if(e)try{e.push(t)}catch(e){u.Y.error("Error - piano push failed",r.log.EventType("Piano","tpSafePush"),r.log.Error(e))}},Q=async({authSyncLogoutEnabled:e,isGift:t,isGoogleOverride:i,giftStatus:n,memberServicesDisabled:r,metadata:a,paywallBypassInfo:o,swgEnabled:l,user:s})=>{let d=((e,t)=>{let i=[],{categories:n,contentSources:r,invisibleTags:a,sponsor:o,tags:l,type:s}=e;for(let e of n||[])e&&i.push(`category[${e.toLowerCase().trim()}]`);for(let t of(o&&i.push("sponsored"),e.comments&&i.push("comments"),l||[]))t&&i.push(`tag[${t.toLowerCase().trim()}]`);for(let e of a||[])e&&i.push(`tag[${e.toLowerCase().trim()}]`);for(let e of(s&&i.push(`type[${s.toLowerCase().trim()}]`),r||[]))e&&i.push(`contentSource[${e.toLowerCase().trim()}]`);return t?.isFacebookBypass&&i.push("bypass[facebook]"),t?.isGoogleBypass&&i.push("bypass[google]"),t?.isFacebookBypass&&i.push("bypass[Facebook]"),t?.isGoogleBypass&&i.push("bypass[Google]"),i})(a,o),c=(0,O.Hm)(s),u=(0,O.qm)(s),m=await R(r,s,e),p=(await (0,M.nz)(l))?.entitlements?.length>0,g=l&&(i||(await (0,M.Y_)(2e3)).isReadyToPay),v=(0,D.tZ)(),h=(0,D.n_)(),k=(0,D.oO)();Y(window.tp,["init",()=>{var e;Y(window.tp,["setTags",d]),Y(window.tp,["setCustomVariable","hasAppAccess",v]),Y(window.tp,["setCustomVariable","hasAppPremiumSubAccess",h]),Y(window.tp,["setCustomVariable","hasAppSubAccess",k]),Y(window.tp,["setCustomVariable","isCurrentGoogleEntitlement",p]),Y(window.tp,["setCustomVariable","isExternalPurchaseSource",!!s?.externalPurchaseSource]),Y(window.tp,["setCustomVariable","isGift",t]),Y(window.tp,["setCustomVariable","giftStatus",n]),Y(window.tp,["setCustomVariable","isIPBypass",!!o&&o.isIPBypass]),Y(window.tp,["setCustomVariable","isReadyToPayWithGoogle",g]),Y(window.tp,["setCustomVariable","subscriptionEntitlements",u]),Y(window.tp,["setCustomVariable","subscriptionPlans",c]),Y(window.tp,["setUsePianoIdLiteUserProvider",!0]),m&&Y(window.tp,["setExternalJWT",m]),z&&$.CXENSE_SITE_ID&&Y(window.tp,["setCxenseSiteId",$.CXENSE_SITE_ID]),Y(window.tp,["setPageURL",window?.location?`${window.location.origin}${window.location.pathname}`:""]),e=window.tp,"production"!==H&&window.location.search.includes("pianoid=")&&window.location.search.split("pianoid=")[1].match(/^[a-zA-Z0-9]{10}$/)&&Y(e,["setAid",window.location.search.split("pianoid=")[1].substring(0,10)]),window.tp.experience.execute()}])},K=async e=>{e&&Y(e,["addHandler","showTemplate",e=>{(0,S.lQ)({event:"event",eventAction:"activation",eventAttribute:"",eventCategory:"piano",eventLabel:`${e.containerSelector}`,eventValue:"0"})}])},J=async e=>{e&&Y(e,["addHandler","showTemplate",e=>{(0,S.lQ)({event:"piano event",eventAction:"activation",eventCategory:"piano",eventLabel:`${e.containerSelector}`,eventValue:"0",experienceId:`${e.experienceId}`,templateId:`${e.templateId}`,templateVariantId:`${e.templateVariantId??""}`})}])};var X=i(40966);let ee=null,et=null,ei=e=>{let{containerSelector:t}=e;if(!ee||!et)return;let{EVENTS:i,mappers:n,pushAnalyticsEvent:r}=ee;switch(t){case`#${E.Nt}`:{let e=window.tp,t=e?.tags?.includes("tag[for subscribers]")??!1,a=n.assetInfo(et);r(t?{event:i.PAYWALL_IMPRESSION_SUBSCRIBER_ONLY,...a}:{event:i.PAYWALL_IMPRESSION_REGULAR,...a});break}case`#${E.d4}`:{let e=n.assetInfo(et);r({event:i.REGISTRATION_WALL_IMPRESSION,...e});break}case`#${E.M0}`:case`#${E.dV}`:{let e=n.assetInfo(et),a=t===`#${E.M0}`?"prompt":"toaster";r({event:i.METER_IMPRESSION,impression_type:a,...e})}}};var en=i(2596),er=i(53896),ea=i(96648),eo=i(91309),el=i(83949);let es=/^[A-Za-z0-9_-]+$/,ed=()=>{let e,{PAGEBUILDER:{ENABLED:t}}=(0,l.Z)(),i=(0,s.Z)(),{query:w}=(0,n.x)(),N=!t&&i[en.PERM_FEATURE_FLAG_PIANO_ENABLED],A=i[en.TEMP_FEATURE_FLAG_PIANO_AUTH_SYNC_LOGOUT_ENABLED],C=i[en.PERM_FEATURE_FLAG_MEMBER_SERVICES_FORCE_DISABLED],F=i[en.TEMP_FEATURE_FLAG_PIANO_NEW_GTM_EVENT_ENABLED],I=(0,ea.A)(),{pathname:T,search:_}=(0,er.TH)(),L=(0,m.useRef)(""),R=(0,el.aF)(),D=(0,el.cN)(),B=(0,d.ZP)(),O=(0,X.G)();(0,m.useEffect)(()=>{ee=B,et=O},[B,O]),(0,m.useMemo)(()=>{"undefined"!=typeof window&&Y(window.tp,["addHandler","showTemplate",ei])},[]);let{isLoading:H,thumbmark:$}=(0,a.hU)(),[z,ed]=(0,m.useState)(null),ec=(0,m.useRef)(null),eu=(0,X.G)(),em=(0,d.ZP)(),ep=i[en.TEMP_FEATURE_FLAG_RRME_ENABLED],eg=i[en.TEMP_FEATURE_FLAG_RRME_UPGRADE_ENABLED],ev=i[en.PERM_FEATURE_FLAG_SWG_ENTITLEMENT]&&i[en.PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED],eh=(0,eo.P2)(),ek=(0,eo.nQ)(),ef=eh&&ev,eb=!ev||ek,ex=L.current===T,ey="undefined"!=typeof window&&void 0===window.tp,[eS,eE]=(e=>{let t,i="undefined"!=typeof window&&window.location.href||"",n="undefined"!=typeof document&&document.referrer||"",{brand:{shortSiteName:a}}=(0,l.Z)(),{data:o,error:s}=(t=(0,f.w)(a),(0,h.a)(k,{context:{clientName:"api-front"},skip:e,ssr:!1,variables:{input:{brand:t,bypassURL:i,referrer:n}}})),[d,y]=(0,m.useMemo)(()=>s?(u.Y.error("Paywall Bypass GraphQL failure",r.log.EventType(...b),r.log.Error(s)),[x,void 0]):o?.paywallBypass?.error?(u.Y.error("Paywall Bypass error response",r.log.EventType(...b),r.log.Error(Error(o.paywallBypass.error.message))),[x,void 0]):o?[(e=>{if(!e)return g;let t={...g};for(let{type:i}of e){if(!i){u.Y.info("GraphQL response has a null bypass type! Ignored",r.log.EventType(...p));continue}if(!v.includes(i)){u.Y.info("GraphQL response has unknown bypass type! Ignored.",r.log.EventType(...p),r.log.String(i));continue}i===c.Jw.Facebook&&(t.isFacebookBypass=!0),i===c.Jw.Google&&(t.isGoogleBypass=!0),i===c.Jw.Ip&&(t.isIPBypass=!0)}return t})(o?.paywallBypass?.result),(e=>{let{memberDetails:t,memberSubscriptionDetails:i}=e,{member:n}=t||{},{subscription:r}=i||{};if(!n)return;let{profile:{displayName:a,email:o,membershipId:l,requiredToVerify:s,shortID:d,type:c,verified:u}}=n;return{email:o,membershipId:l,requiredToVerify:s,screenName:a,sub:d,subscription:r,type:c?.toLowerCase(),verified:u}})(o)]:[e?x:void 0,void 0],[o,s,e]);return[d,y]})(!!(e=I?.type)&&W.includes(e.toLowerCase()));return(0,m.useEffect)(()=>{let e=new URLSearchParams(_).get("gift"),t=(e,t)=>ed({giftStatus:e,isGift:t});return e?D?R?t("valid",!0):es.test(e)?void(!H&&ec.current!==e&&(ec.current=e,(0,o.N8)(e,$||"").then(e=>e&&!e.error&&e.remaining>=0?(em.pushAnalyticsEvent((0,S.i0)(em.mappers.assetInfo(eu))),t("valid",!0)):((0,S.N9)((0,S.N3)(e?.remaining),em.mappers.assetInfo(eu)),t("invalid",!0))).catch(()=>{(0,S.N9)((0,S.N3)(void 0),em.mappers.assetInfo(eu)),t("invalid",!0)}))):t("invalid",!0):void 0:t("valid",!1)},[eu,H,_,$,R,D]),(0,m.useEffect)(()=>{if(ey)return void u.Y.error("piano config is not set",r.log.EventType("Piano","PianoComponent"));F?J(window.tp):K(window.tp),((e,t,i,n,a)=>{if(!n)return u.Y.error("Error - piano tp is not loaded",r.log.EventType("Piano","pushPianoEvent"));let o={authUrl:U,brand:q,loginID:"",password:"",redirectUrl:"undefined"==typeof window?"":window.location.href,timeoutMs:V};Y(n,["addHandler","customEvent",async n=>{switch(n.eventName){case"swg":(0,M.pb)(n.params.bundle,e);break;case"upgradeWithGoogle":(0,M.$s)(t);break;case"siwg":a({...o,conflictCode:"",loginMethod:"google"});break;case"siwa":a({...o,conflictCode:"",loginMethod:"apple"});break;case"login":{(0,j.v)(n.params.email);let e=await Z(n.params.email,i).then(e=>e);(0,G.lF)(e?G.CV.REG_WALL_LOGIN:G.CV.CREATE,{signupCopy:n.params.signupCopy});break}case"subscriberOnlyLogin":(0,G.lF)(G.CV.LOGIN);break;case"closeMeterToaster":{let e=document.querySelector(`#${E.dV}`);e&&e.classList.remove(E.e3)}}}])})(ep,eg,w,window.tp,y.x4)},[ep,eg,w,ey,F]),(0,m.useEffect)(()=>{if(!N||!window.tp||!D||!eb||ex||!I||!eS||!z)return;L.current=T;let e=R;!e&&eE&&(e=eE,u.Y.error("User was not set, using fallback user",r.log.EventType("Piano","PianoComponent"),r.log.String("log.member.userID",e.sub),r.log.String("localStorageSizes",P()))),Q({authSyncLogoutEnabled:A,giftStatus:z.giftStatus,isGift:z.isGift,isGoogleOverride:ef,memberServicesDisabled:C,metadata:I,paywallBypassInfo:eS,swgEnabled:ev,user:e})},[A,eE,z,ef,eb,ex,C,I,T,eS,N,ev,R,D]),null}},53299:function(e,t,i){i.d(t,{x:()=>m});var n=i(52322),r=i(38936),a=i(41865),o=i(43743),l=i(2596),s=i(2784),d=i(98051);let c=[d.d4],u=[d.Nt,d.mr,d.dD,d.Qg,d.jI,d.Q5,d.wb,d.vJ,d.xB,d.xy,d.ju,d.UN],m=(0,s.memo)(({assetSubType:e,assetType:t,pianoId:i})=>{let s=t?.toLowerCase(),m=e?.toLowerCase(),p=(0,a.Z)();if(!0===p[l.PERM_FEATURE_FLAG_PIANO_PAYWALL_UNAVAILABLE]&&u.includes(i)||!0===p[l.PERM_FEATURE_FLAG_PIANO_HARD_REG_WALL_UNAVAILABLE]&&c.includes(i))return null;switch(i){case d.Nt:return(0,n.jsx)(r.ZP,{children:(0,n.jsx)("div",{id:d.mr,children:(0,n.jsx)("div",{id:i})})});case d.dV:return(0,n.jsx)(r.ZP,{children:(0,n.jsx)("div",{className:"noPrint",id:i})});case d.yj:return(0,n.jsx)(r.ZP,{children:(0,n.jsx)(o.PianoSubscribeButtonContainer,{children:(0,n.jsx)("div",{className:"noPrint",id:i})})});default:return(0,n.jsx)("div",{className:`noPrint ${s||""} ${m||""}`,id:i})}})},98051:function(e,t,i){i.d(t,{$j:()=>l,Ht:()=>m,I0:()=>x,Jn:()=>u,M0:()=>S,Nk:()=>n,Nt:()=>N,Q5:()=>T,Qg:()=>I,Ru:()=>r,UN:()=>Z,Zq:()=>o,aP:()=>C,bQ:()=>c,d4:()=>y,dD:()=>F,dV:()=>E,e3:()=>k,eT:()=>h,iV:()=>p,jI:()=>P,ju:()=>B,mr:()=>A,n2:()=>v,oC:()=>a,qF:()=>d,ru:()=>b,sx:()=>s,vJ:()=>L,wb:()=>_,xB:()=>R,xy:()=>D,yj:()=>w,yy:()=>f,zv:()=>g});let n="app-collapsible-prompt-piano-id",r="pianoContentWall",a=2,o="pianoExternalJWT",l=1,s="goodfood-homepage-piano-banner-id",d="app-inline-prompt-piano-id",c="payWall",u="paywall",m="NO_PAYWALL",p="regWall",g="scrollLock",v=1,h={PIANO_EXTERNAL_JWT_STORAGE_NAME:o},k="meter-toaster-piano-active",f="app-prompt-piano-id",b="comments-cta-piano-id",x="eoa-meter-prompt-piano-id",y="hard-reg-wall-piano-id",S="meter-prompt-piano-id",E="meter-toaster-piano-id",w="homepage-header-subscribe-button-piano-id",N="paywall-prompt-piano-id",A="paywall-prompt-wrapper-piano-id",C="soft-reg-wall-piano-id",F="crossword-premium-paywall-piano-id",I="crossword-premium-paywall-roller-piano-id",P="digital-editions-premium-paywall-piano-id",T="goodfood-guide-premium-paywall-piano-id",_="puzzle-premium-paywall-piano-id",L="sudoku-premium-paywall-piano-id",R="sudoku-premium-paywall-roller-piano-id",D="target-time-premium-paywall-piano-id",B="target-time-premium-paywall-roller-piano-id",Z="todays-paper-premium-paywall-piano-id"},49900:function(e,t,i){i.d(t,{CC:()=>g,CK:()=>k,K7:()=>a,PZ:()=>l,TR:()=>o,Tw:()=>s,VY:()=>u,X6:()=>m,aV:()=>c,nv:()=>p,rU:()=>h,u_:()=>d,vT:()=>v});var n=i(43743),r=i(78943);let a=r.ZP.h1.withConfig({componentId:"sc-7a1c5b3a-0"})(["height:57px;"]),o=r.ZP.svg.withConfig({componentId:"sc-7a1c5b3a-1"})(["height:125px;left:105px;position:absolute;top:-25px;width:125px;"]),l=r.ZP.button.withConfig({componentId:"sc-7a1c5b3a-2"})(["background-color:",";border:0;color:",";cursor:pointer;position:absolute;right:16px;top:16px;"],e=>e.theme.colorModalBackground,e=>e.theme.colorModalText),s=r.ZP.svg.withConfig({componentId:"sc-7a1c5b3a-3"})(["color:",";height:16px;width:16px;"],e=>e.theme.colorModalText),d=r.ZP.div.withConfig({componentId:"sc-7a1c5b3a-4"})(["background-color:",";border-radius:8px;box-shadow:0 9px 12px -6px rgb(0 0 0 / 20%),0 19px 29px 2px rgb(0 0 0 / 14%),0 7px 36px 6px rgb(0 0 0 / 12%);color:#fff;height:auto;opacity:1;outline:0;overflow:visible;position:relative;text-align:center;transform:translateY(-8px);width:335px;"],e=>e.theme.colorModalBackground),c=n.OverlayModal,u=r.ZP.div.withConfig({componentId:"sc-7a1c5b3a-5"})(["padding:32px;"]),m=r.ZP.h2.withConfig({componentId:"sc-7a1c5b3a-6"})(["color:",";font-family:",";font-size:24px;font-weight:bold;margin-bottom:12px;"],e=>e.theme.colorModalText,e=>e.theme.fontTertiary),p=r.ZP.p.withConfig({componentId:"sc-7a1c5b3a-7"})(["color:",";font-family:",";font-size:15px;line-height:20px;margin-bottom:24px;"],e=>e.theme.colorModalText,e=>e.theme.fontPrimary),g=(0,r.ZP)(p).withConfig({componentId:"sc-7a1c5b3a-8"})(["font-size:14px;"]),v=r.ZP.div.withConfig({componentId:"sc-7a1c5b3a-9"})(["text-align:center;&::before{background-color:",";content:'';display:inline-block;height:1px;margin-bottom:16px;width:40px}"],e=>e.theme.colorDarkAccent),h=r.ZP.a.withConfig({componentId:"sc-7a1c5b3a-10"})(["color:",";text-decoration:underline;"],e=>e.theme.colorModalLink),k=(0,r.ZP)(n.ButtonStandard).withConfig({componentId:"sc-7a1c5b3a-11"})(["font-size:13px;line-height:24px;padding:12px;width:100%;"])},8900:function(e,t,i){i.d(t,{Z:()=>f});var n=i(52322),r=i(19565),a=i(48504),o=i(56111),l=i(19510),s=i(2784),d=i(37149),c=i.n(d),u=i(83949),m=i(49900),p=i(91361),g=i(52361);let v=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-badge-smh-svg-react",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("1177").then(i.bind(i,57876)),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 i(this.resolve(e))},resolve:()=>57876}),h=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-badge-theage-svg-react",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("2832").then(i.bind(i,98283)),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 i(this.resolve(e))},resolve:()=>98283}),k=(0,r.ZP)({resolved:{},chunkName:()=>"assets-imported-icons-badge-brisbanetimes-svg-react",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("6317").then(i.bind(i,41785)),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 i(this.resolve(e))},resolve:()=>41785}),f=()=>{let e=(0,u.aF)(),{firstName:t,requestID:i}=(0,g.I)(),{data:r,error:d}=(0,p.G)(e,i),[f,b]=(0,s.useState)(!0),{brand:x}=(0,o.Z)(),y=x.shortSiteName;if(d)return null;let S=()=>{b(!1)};return(0,l.u)(x.shortSiteName)?(0,n.jsxs)(c(),{className:"premiumUpgrade",contentElement:(e,t)=>(0,n.jsx)(m.u_,{...e,children:t}),isOpen:f&&!!r,onRequestClose:S,overlayClassName:"_",overlayElement:(e,t)=>(0,n.jsx)(m.aV,{...e,children:t}),children:[(0,n.jsx)(m.K7,{children:(0,n.jsx)(m.TR,{as:{brisbanetimes:k,smh:v,theage:h,watoday:null}[x.shortSiteName]})}),(0,n.jsx)(m.PZ,{"aria-label":"close",onClick:S,type:"button",children:(0,n.jsx)(m.Tw,{as:a.Z})}),(0,n.jsxs)(m.VY,{children:["brisbanetimes"===y?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(m.X6,{children:["Thanks for upgrading, ",t,"."]}),(0,n.jsx)(m.nv,{children:"Your Premium benefits include Daily Puzzles and full access to the Good Food app."}),(0,n.jsx)(m.vT,{}),(0,n.jsxs)(m.CC,{children:["Visit My Account or call ",(0,n.jsx)(m.rU,{href:"tel:136666",children:"13 66 66"})," to manage your subscription."]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(m.X6,{children:["Thanks for upgrading, ",t,"."]}),(0,n.jsx)(m.nv,{children:"You can now enjoy our Daily Puzzles and Today’s Paper."}),(0,n.jsx)(m.vT,{}),(0,n.jsxs)(m.CC,{children:["To manage your subscription simply visit My Account or call our customer service team on\xa0",(0,n.jsx)(m.rU,{href:"tel:136666",children:"13 66 66"}),"."]})]}),(0,n.jsx)(m.CK,{onClick:S,type:"submit",children:"OK"})]})]}):null}},91361:function(e,t,i){i.d(t,{G:()=>d});let n={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"SubscriptionRequestStatusQuery"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"requestID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subscriptionStatus"},arguments:[{kind:"Argument",name:{kind:"Name",value:"requestId"},value:{kind:"Variable",name:{kind:"Name",value:"requestID"}}}],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:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"request"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:167,source:{body:"query SubscriptionRequestStatusQuery($requestID:String!){subscriptionStatus(requestId:$requestID){error{message type{__typename}}request{status subscription{status}}}}"}}};var r=i(23539),a=i(17845),o=i(28067),l=i(69414),s=i(2784);let d=(e,t)=>{let i=!e||!t,d=(0,r.a)(n,{context:{clientName:"api-front"},pollInterval:1e3*!i,skip:i,variables:{requestID:t||""}}),{data:c,error:u,stopPolling:m}=d;return(0,s.useEffect)(()=>{(u||c?.subscriptionStatus?.error)&&l.Y.error("Failed to check subscription request",a.log.EventType("subscription","subscriptionStatus"),a.log.Error(u||c?.subscriptionStatus?.error),a.log.String("description",`requestID: ${t}`)),((e,t)=>{if(t)return!0;let{error:i,request:n}=e?.subscriptionStatus||{};if(i)return i?.type?.class!==o.c4.NotFound;let{status:r,subscription:a}=n||{};return r===o.yA.Failure||a?.status===o.yh.Active})(c,u)&&m()},[c,u,t,m]),d}},52361:function(e,t,i){i.d(t,{I:()=>s});var n=i(17845),r=i(69414),a=i(2784),o=i(53896);let l="upgradeToken",s=()=>{let[e,t]=(0,o.lr)(),[i]=(0,a.useState)(e.get(l));(0,a.useEffect)(()=>{i&&(e.delete(l),t(e))},[t,i]);let s={firstName:"",packageDetails:void 0,requestID:"",subNumber:""};if("undefined"==typeof window||!i)return s;try{return JSON.parse(window.atob(decodeURIComponent(i)))}catch(e){r.Y.error("Error parsing token",n.log.EventType("PremiumUpgrade","parse:upgradeToken"),n.log.Error(e))}return s}},95187:function(e,t,i){i.d(t,{Z:()=>l});var n=i(52322),r=i(9521),a=i(79644);let o=i(78943).ZP.div.withConfig({componentId:"sc-60830bd1-0"})(["display:none;@media ","{display:flex;justify-content:center;margin:12px 0;}"],a.Z.query.printOnly),l=()=>(0,n.jsx)(o,{children:(0,n.jsx)(r.Z,{isLightTheme:!0})})},92549:function(e,t,i){i.d(t,{Z:()=>Z});var n=i(52322),r=i(72488),a=i(48504),o=i(68831),l=i(83096),s=i(86270),d=i(83937),c=i(56111),u=i(89956),m=i(5014),p=i(2784),g=i(53896),v=i(11110),h=i(72649),k=i(79916),f=i(25446),b=i(79644),x=i(78943);let y=x.ZP.div.withConfig({componentId:"sc-b391caa7-0"})(["background-color:rgb(255 255 255 / 80%);height:100vh;left:0;position:",";"," right:0;z-index:",";"],e=>e.$isSticky?"fixed":"absolute",e=>e.$isSticky&&"top: 64px;",e=>e.$isGoodFood?b.Z.zIndex.header.base:b.Z.zIndex.header.navActive),S=x.ZP.div.withConfig({componentId:"sc-b391caa7-1"})(["background-color:#fff;border-bottom:1px solid ",";left:0;position:absolute;right:0;top:0;"],e=>e.theme.colorLightAccent),{Content:E}=b.Z,w=x.ZP.form.withConfig({componentId:"sc-b391caa7-2"})(["display:flex;flex-direction:column;padding:24px 0;@media ","{padding:64px 0 20px;position:relative;}label{",";}"],b.Z.query.large,b.Z.visuallyHidden),N=x.ZP.div.withConfig({componentId:"sc-b391caa7-3"})(["align-items:center;display:flex;padding-bottom:4px;@media ","{padding-bottom:19px;}"],b.Z.query.medium),A=x.ZP.textarea.withConfig({componentId:"sc-b391caa7-4"})(["border:0;color:",";display:block;field-sizing:content;font-family:",";font-size:22px;line-height:32px;outline:none;overflow:auto;padding:0;resize:none;scrollbar-width:none;width:100%;&::-webkit-scrollbar{display:none;}@media ","{font-size:28px;line-height:46px;}@media ","{font-size:40px;line-height:56px;}&::placeholder{color:",";font-style:italic;font-weight:400;}"],e=>e.theme.colorDark,e=>e.$isGoodFood?e.theme.fontTertiary:e.theme.fontSecondary,b.Z.query.medium,b.Z.query.large,e=>e.theme.colorMidAccent),C=x.ZP.div.withConfig({componentId:"sc-b391caa7-5"})(["align-self:flex-end;white-space:nowrap;"]),F=x.ZP.button.withConfig({componentId:"sc-b391caa7-6"})(["cursor:pointer;padding:0;position:relative;visibility:",";&:first-child{margin:0 25px 0 12px;&::after{border-right:1px solid ",";content:'';height:24px;position:absolute;right:-13px;top:50%;transform:translateY(-50%);width:0;}}@media ","{&:first-child{margin:0 32px 0 8px;&::after{height:40px;right:-16px;}}}@media ","{&:first-child{&::after{height:48px;}}}span{",";}svg{height:24px;"," width:24px;@media ","{position:relative;top:-3px;}@media ","{height:40px;"," width:40px;}@media ","{height:48px;width:48px;}}"],e=>e.$visible?"visible":"hidden",e=>e.theme.colorLightAccent,b.Z.query.medium,b.Z.query.large,b.Z.visuallyHidden,b.Z.setSVGStrokeWidth(24),b.Z.query.smallMax,b.Z.query.medium,b.Z.setSVGStrokeWidth(40),b.Z.query.large),I=x.ZP.svg.withConfig({componentId:"sc-b391caa7-7"})(["&&{height:20px;"," width:20px;@media ","{height:30px;"," width:30px;}@media ","{height:36px;"," width:36px;}}"],b.Z.setSVGStrokeWidth(20),b.Z.query.medium,b.Z.setSVGStrokeWidth(30),b.Z.query.large,b.Z.setSVGStrokeWidth(36)),P=x.ZP.fieldset.withConfig({componentId:"sc-b391caa7-8"})(["border:0;column-gap:12px;display:inline-flex;flex-wrap:wrap;margin-top:16px;opacity:",";pointer-events:",";transition:opacity 0.3s ease-in-out;"],e=>+!!e.$showOptions,e=>e.$showOptions?"auto":"none"),T=x.ZP.legend.withConfig({componentId:"sc-b391caa7-9"})(["",";"],b.Z.visuallyHidden),_=x.ZP.span.withConfig({componentId:"sc-b391caa7-10"})(["align-items:center;color:",";display:flex;flex:1 1 100%;margin-bottom:8px;@media ","{flex:0 1 auto;float:left;margin-bottom:0;}"],e=>e.theme.colorDark,b.Z.query.small),L=x.ZP.button.withConfig({componentId:"sc-b391caa7-11"})(["background-color:",";border:0;border-radius:4px;color:",";cursor:pointer;display:flex;flex:1 1 80px;font-size:15px;justify-content:center;max-width:120px;padding:8px;transition:background 0.2s ease-in-out;&:active{background-color:",";}&:hover{background-color:",";}span{",";}@media ","{padding:12px;}"],e=>e.theme.colorBrand100,e=>e.theme.colorDark,e=>e.theme.colorBrand300,e=>e.theme.colorBrand300,b.Z.visuallyHidden,b.Z.query.small);var R=i(22068);let D=e=>{e.focus()},B=(e,t,i)=>t===h.AX?(0,d.Tr)(i):t===h.zE?i?"Search, e.g. Where to go in 2026":"Search Traveller":i?"Search, e.g. What are the best schools in my state":`Search ${"smh"===e.shortSiteName?"The Herald":e.longSiteName}`,Z=({isOpen:e,onClose:t,opener:i,forceMetroSearch:d})=>{let[b,x]=(0,p.useState)(""),Z=(0,v._)(),O=(0,p.useRef)(null),M=(0,p.useRef)(null),G=(0,p.useRef)(null),{brand:j}=(0,c.Z)(),H=(0,k.Un)((0,g.TH)().pathname),V=d?void 0:H,U=V===h.AX,$=V===h.zE;(0,u.Z)([i,M],e?t:()=>void 0);let q=(0,m.Z)(),z=()=>{O.current?.focus()};(0,p.useEffect)(()=>(e&&M.current&&((0,l.Qp)(M.current,{reserveScrollBarGap:!0}),G.current=M.current.querySelectorAll("textarea, button")),x(""),z(),document.body?.classList.toggle("modalBodyOpen",e),()=>{(0,l.tP)()}),[e]);let W=(0,p.useCallback)(e=>{let{key:t,shiftKey:i}=e;if(!G.current?.length||"Tab"!==t)return;let n=G.current[0],r=b?G.current[G.current.length-1]:G.current[2];if(i){document.activeElement===n&&(D(r),e.preventDefault());return}document.activeElement===r&&(D(n),e.preventDefault())},[b]);return e&&(0,n.jsx)(y,{$isGoodFood:U,$isSticky:Z,"data-testid":"search-overlay",children:(0,n.jsx)(S,{onKeyDown:e=>{"Escape"===e.code&&t()},ref:M,children:(0,n.jsx)(E,{children:(0,n.jsxs)(w,{$isGoodFood:U,action:V===h.AX?"/goodfood/search":V===h.zE?"/traveller/search":"/search",autoComplete:"off",method:"GET",onKeyDown:W,children:[$&&(0,n.jsx)("input",{"data-testid":"travel-section",name:"section",type:"hidden",value:"travel"}),q&&(0,n.jsx)("input",{name:"isSemanticSearch",type:"hidden",value:"true"}),q&&(0,n.jsx)(s.Z,{onDarkBackground:!0}),(0,n.jsxs)(N,{$isGoodFood:U,children:[(0,n.jsx)("label",{htmlFor:"search-input",children:B(j,V,q)},"searchLabel"),(0,n.jsx)(A,{$isGoodFood:U,id:"search-input",maxLength:q?f.y:f.v,name:"text",onChange:e=>{x(e.target.value)},onKeyDown:R.W,placeholder:B(j,V,q),ref:O,required:!0,rows:1,value:b},"searchInput"),(0,n.jsxs)(C,{children:[(0,n.jsxs)(F,{$visible:!!b,onClick:()=>{x(""),z()},type:"button",children:[(0,n.jsx)("span",{children:"Clear search"}),(0,n.jsx)(I,{as:a.Z})]},"clearButton"),(0,n.jsxs)(F,{$visible:!0,type:"submit",children:[(0,n.jsx)("span",{children:B(j,V,q)}),q?(0,n.jsx)(r.Z,{}):(0,n.jsx)(o.Z,{})]},"searchButton")]},"searchButtons")]},"searchTerm"),U&&(0,n.jsxs)(P,{$showOptions:!!b,children:[(0,n.jsx)(T,{children:"Take me to"}),(0,n.jsx)(_,{"aria-hidden":"true",children:"Take me to"}),(0,n.jsxs)(L,{name:"section",tabIndex:b?0:-1,type:"submit",value:h.V$,children:[(0,n.jsx)("span",{children:"Search "}),"Everything"]},"food"),(0,n.jsxs)(L,{name:"section",tabIndex:b?0:-1,type:"submit",value:h.PR,children:[(0,n.jsx)("span",{children:"Search "}),"Recipes"]},"recipes"),(0,n.jsxs)(L,{name:"section",tabIndex:b?0:-1,type:"submit",value:h.gG,children:[(0,n.jsx)("span",{children:"Search "}),"Eating out"]},"eatingout")]},"options")]})})})})}},25446:function(e,t,i){i.d(t,{v:()=>n,y:()=>r});let n=100,r=500},22068:function(e,t,i){i.d(t,{W:()=>n});let n=e=>{if("Enter"!==e.key||e.shiftKey)return;e.preventDefault();let{form:t}=e.currentTarget,i=t?.querySelector('button[type="submit"]');t?.requestSubmit(i??void 0)}},56627:function(e,t,i){i.d(t,{Z:()=>h});var n=i(52322),r=i(77554),a=i(27302),o=i(37149),l=i.n(o),s=i(59944),d=i(36239),c=i(79644),u=i(78943);let m=u.ZP.div.withConfig({componentId:"sc-960ce7f0-0"})(["background-color:",";border-radius:4px;box-shadow:0 3px 5px rgb(0 0 0 / 20%),0 6px 10px rgb(0 0 0 / 14%),0 1px 18px rgb(0 0 0 / 12%);font-size:15px;line-height:20px;max-width:calc(100% - 32px);padding:12px 16px 12px 40px;pointer-events:all;position:absolute;right:16px;text-align:left;top:32px;width:320px;"],({theme:e})=>e.colorOrangeLightFill),p=u.ZP.svg.withConfig({componentId:"sc-960ce7f0-1"})(["color:",";height:15px;left:16px;position:absolute;top:16px;width:15px;"],({theme:e})=>e.colorWarning),g=(0,u.ZP)(c.Z.FauxLink).withConfig({componentId:"sc-960ce7f0-2"})(["display:block;font-size:11px;font-weight:bold;letter-spacing:1px;line-height:16px;margin-top:8px;text-transform:uppercase;"]),v=(0,u.ZP)(d.aV).withConfig({componentId:"sc-960ce7f0-3"})(["pointer-events:none;"]),h=()=>{let e=(0,a.Z)(),t=(0,s.Q)();return e?null:(0,n.jsxs)(l(),{className:"ServiceUnavailable",contentElement:(e,t)=>(0,n.jsx)(m,{...e,children:t}),isOpen:t,overlayClassName:"_",overlayElement:(e,t)=>(0,n.jsx)(v,{...e,children:t}),parentSelector:()=>document.getElementById("serviceUnavailable"),children:[(0,n.jsx)(p,{as:r.Z}),(0,n.jsx)("p",{children:"We’re sorry, this feature is currently unavailable. We’re working to restore it. Please try again later."}),(0,n.jsx)(g,{as:"button",onClick:()=>{(0,s.l)(!1)},type:"button",children:"Dismiss"})]})}},43309:function(e,t,i){i.d(t,{Z:()=>l});var n=i(52322),r=i(76597),a=i(79644);let o=i(78943).ZP.a.withConfig({componentId:"sc-7a746e82-0"})(["clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;&:focus{background:",";clip-path:none;color:#fff;height:auto;left:0;margin:0;overflow:visible;padding:12px;right:0;text-decoration:underline;top:0;width:auto;z-index:",";}"],e=>e.theme.colorAction,a.Z.zIndex.skipLink),l=()=>(0,n.jsxs)("nav",{children:[(0,n.jsx)(o,{as:r.Z,url:"/siteguide/accessibility",children:"Open accessibility guide"}),(0,n.jsx)(o,{as:r.Z,url:"#sections",children:"Skip to sections navigation"}),(0,n.jsx)(o,{as:r.Z,url:"#content",children:"Skip to content"}),(0,n.jsx)(o,{as:r.Z,url:"#footer",children:"Skip to footer"})]})},2294:function(e,t,i){i.d(t,{Z:()=>C});var n,r,a,o,l,s,d=i(52322),c=i(41865),u=i(2596),m=i(2784);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t"isAbove"!==e}).withConfig({componentId:"sc-f9fd009-1"})(["font-size:15px;line-height:16px;margin:16px 0 ",";position:relative;text-align:center;&::before,&::after{border-top:1px solid ",";content:'';height:1px;position:absolute;top:8px;width:44%;}&::before{left:0;}&::after{right:0;}"],e=>e.isAbove?"8px":"16px",e=>e.theme.colorLightAccent),f=v.ZP.button.withConfig({shouldForwardProp:e=>"showError"!==e}).withConfig({componentId:"sc-f9fd009-2"})(["align-items:center;background-color:#fff;border:1px solid ",";border-color:",";border-radius:4px;color:inherit;cursor:pointer;display:flex;font-size:15px;font-weight:bold;height:44px;justify-content:center;line-height:15px;margin:8px 0;padding:0;text-align:center;width:100%;&:focus,&:hover{border-color:",";}"],e=>e.theme.colorMidAccent,e=>e.showError&&e.theme.colorHighlight,e=>e.theme.colorDarkAccent),b=v.ZP.span.withConfig({componentId:"sc-f9fd009-3"})(["display:inline-block;padding-left:8px;position:relative;"]),x=({handleLogin:e,showButton:t,showError:i})=>t&&(0,d.jsxs)(f,{"data-testid":"apple-sign-in",form:"appleSignIn",onClick:e,showError:i,type:"button",value:"Continue with Apple",children:[(0,d.jsx)(g,{}),(0,d.jsx)(b,{children:"Continue with Apple"})]});function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;tt&&(0,d.jsxs)(f,{"data-testid":"facebook-sign-in",form:"facebookSignIn",onClick:e,showError:i,type:"button",value:"Continue with Facebook",children:[(0,d.jsx)(S,{}),(0,d.jsx)(b,{children:"Continue with Facebook"})]});function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;tt&&(0,d.jsxs)(f,{"data-testid":"google-sign-in",form:"googleSignIn",onClick:e,showError:i,type:"button",value:"Continue with Google",children:[(0,d.jsx)(N,{}),(0,d.jsx)(b,{children:"Continue with Google"})]}),C=({above:e=!1,conflictCode:t="",linkProvider:i="",login:n,loginFields:r,onClick:a,showError:o=!1})=>{let l=(0,c.Z)(),s=(0,m.useCallback)(()=>{a&&a("apple"),n({...r,code:t,loginMethod:"apple"})},[t,n,r,a]),p=(0,m.useCallback)(()=>{a&&a("google"),n({...r,code:t,loginMethod:"google"})},[t,n,r,a]),g=(0,m.useCallback)(()=>{a&&a("facebook"),n({...r,code:t,loginMethod:"facebook"})},[t,n,r,a]);if(!l[u.PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION]&&!l[u.PERM_FEATURE_FLAG_LOGIN_APPLE_OPTION])return null;let v=e=>{if(t)return i===e;switch(e){case"apple":return l[u.PERM_FEATURE_FLAG_LOGIN_APPLE_OPTION];case"google":return l[u.PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION];default:return!1}};return(0,d.jsxs)(h,{children:[!e&&!t&&(0,d.jsx)(k,{isAbove:!1,children:"or"}),(0,d.jsx)(A,{handleLogin:p,showButton:v("google"),showError:o}),(0,d.jsx)(x,{handleLogin:s,showButton:v("apple"),showError:o}),(0,d.jsx)(E,{handleLogin:g,showButton:v("facebook"),showError:o}),e&&!t&&(0,d.jsx)(k,{isAbove:!0,children:"or"})]})}},66916:function(e,t,i){i.d(t,{t:()=>n});let n={CU_GROUP:"data-an-cu-group",CU_NAME:"data-an-cu-name",CU_POS:"data-an-cu-position",NAME:"data-an-name",POSITION:"data-an-position"}},10170:function(e,t,i){i.r(t),i.d(t,{breakpoints:()=>n,query:()=>r});let n={small:600,medium:750,large:1e3,extraLarge:1400,extraExtraLarge:1900},r={extraExtraLarge:`only screen and (min-width: ${n.extraExtraLarge}px)`,extraLarge:`only screen and (min-width: ${n.extraLarge}px)`,extraLargeMax:"only screen",extraLargeOnly:`only screen and (min-width: ${n.extraLarge}px)`,large:`only screen and (min-width: ${n.large}px)`,largeMax:`only screen and (max-width: ${n.extraLarge-1}px)`,largeOnly:`only screen and (min-width: ${n.large}px) and (max-width: ${n.extraLarge-1}px)`,medium:`only screen and (min-width: ${n.medium}px)`,mediumMax:`only screen and (max-width: ${n.large-1}px)`,mediumOnly:`only screen and (min-width: ${n.medium}px) and (max-width: ${n.large-1}px)`,printNever:"not print",printOnly:"only print",small:`only screen and (min-width: ${n.small}px)`,smallMax:`only screen and (max-width: ${n.medium-1}px)`,smallOnly:`only screen and (max-width: ${n.small}px)`}},94063:function(e,t,i){i.r(t),i.d(t,{aluminium:()=>n,apple:()=>r,aquaDeep:()=>l,ashGray:()=>a,athensGray:()=>o,azureRadiance:()=>s,basaltGrey:()=>d,bigStone:()=>c,black:()=>z,blackOlive:()=>u,blue200:()=>m,blueZodiac:()=>p,brilliantAmber:()=>g,buddhaGold:()=>v,buff:()=>h,colorAction:()=>ev,colorAction40:()=>eh,colorActionAlt:()=>ek,colorActionDark:()=>ef,colorActionDarkest:()=>eb,colorActionLight:()=>ex,colorActionOnDark:()=>ey,colorAwardTitle:()=>eS,colorBrand:()=>eE,colorBrandOffset:()=>ew,colorBrisbaneTimesActionAlt:()=>tn,colorBrisbaneTimesOpinion:()=>tr,colorButtonInactive:()=>eN,colorButtonSecondary:()=>eA,colorButtonSecondaryHover:()=>eC,colorButtonSecondaryText:()=>eF,colorCommenterRole:()=>eI,colorCommentingBox:()=>eP,colorCommentsAction:()=>eT,colorCommentsActionFill:()=>e_,colorCommentsActionHover:()=>eL,colorCommentsDivider:()=>eR,colorCommentsTimestamp:()=>eD,colorDark:()=>eB,colorDarkAccent:()=>eZ,colorDomain:()=>eO,colorDomainBannerBackground:()=>eM,colorDomainText:()=>eG,colorExplainer:()=>ej,colorGoodFood:()=>e3,colorGoodFoodBrand100:()=>e8,colorGoodFoodBrand300:()=>e6,colorGoodFoodBrand400:()=>e9,colorGoodFoodBrand500:()=>e7,colorGoodFoodBrand600:()=>te,colorGoodFoodReviewOutOfScore:()=>tt,colorGoodFoodReviewOutOfScoreOnDark:()=>ti,colorGreen:()=>eH,colorGreenDark:()=>eV,colorHighlight:()=>eU,colorHighlightDark:()=>e$,colorHighlightOffset:()=>eq,colorLightAccent:()=>ez,colorLightFill:()=>eW,colorMid:()=>eY,colorMidAccent:()=>eQ,colorMidDark:()=>eK,colorNotification:()=>eJ,colorOpinion:()=>eX,colorOrange:()=>e1,colorOrangeLightFill:()=>e0,colorStan:()=>e2,colorSubscriberDarkBlue:()=>e5,colorSubscriberDarkRed:()=>e4,colorTraveller:()=>ta,colorTraveller100:()=>to,colorTraveller200:()=>tl,colorTraveller300:()=>ts,colorTraveller400:()=>td,colorTraveller500:()=>tc,colorTraveller600:()=>tu,congressBlue:()=>k,crimson:()=>b,crownOfThorns:()=>f,desertStorm:()=>x,doveGray:()=>y,eggWhite:()=>S,emperor:()=>W,endeavour:()=>E,gallery:()=>w,gimblet:()=>N,gold100:()=>Y,goldenBrown:()=>A,goldenMustard:()=>C,grey:()=>F,guardsmanRed:()=>I,japaneseLaurel:()=>P,japaneseLaurelLight:()=>T,malibu:()=>_,metroGrey100:()=>K,metroGrey200:()=>J,metroGrey300:()=>X,metroGrey400:()=>ee,metroGrey500:()=>et,metroGrey600:()=>ei,metroGrey700:()=>en,mineShaft:()=>Q,mischka:()=>L,pattensBlue:()=>R,peppermint:()=>D,persimmon:()=>B,pizazz:()=>Z,red100:()=>O,red600:()=>M,rhino:()=>G,riverBed:()=>j,romance:()=>H,scienceBlue:()=>V,sea200:()=>er,sea300:()=>ea,sea500:()=>eo,slate400:()=>U,summerSky:()=>$,sun:()=>el,teal100:()=>ed,teal200:()=>ec,teal300:()=>eu,teal400:()=>em,teal500:()=>ep,teal600:()=>eg,tulipTree:()=>q,white:()=>es});let n="#a6acba",r="#43a047",a="#7b7b7b",o="#f4f5f7",l="#005837",s="#0073fa",d="#999999",c="#192646",u="#3a3a3a",m="#9bcfff",p="#0a1633",g="#f5c543",v="#cf9b00",h="#f2d984",k="#004080",f="#751e3a",b="#d9172f",x="#f7f6f5",y="#555",S="#fff1c7",E="#0053a6",w="#F0F0F0",N="#b4a55a",A="#946f00",C="#996500",F="#767676",I="#b80208",P="#008000",T="#0EA800",_="#58b5ff",L="#d7dbe3",R="#d9edff",D="#f3faf2",B="#ff6347",Z="#ff8b00",O="#ffd6d4",M="#a80e21",G="#38366a",j="#454f64",H="#faf5e6",V="#096dd2",U="#677085",$="#4095ec",q="#e5bd39",z="#000",W="#666",Y="#faf5e6",Q="#232323",K="#f0f0f0",J="#d4d4d4",X="#a5a5a5",ee="#767676",et="#555555",ei="#3a3a3a",en="#232323",er="#69e8ff",ea="#1bcded",eo="#0088a1",el="#f4fb55",es="#fff",ed="#d9eff2",ec="#A7DAE2",eu="#6eccd8",em="#3eaaba",ep="#2f818e",eg="#216873",ev=V,eh=`${V}66`,ek=V,ef=E,eb=k,ex=$,ey=_,eS=C,eE=p,ew=c,eN=X,eA="none",eC=J,eF=ei,eI=et,eP=ee,eT=ei,e_=ee,eL=en,eR=J,eD=ee,eB=Q,eZ=j,eO=T,eM=D,eG=l,ej=B,eH=r,eV=P,eU=b,e$=I,eq=B,ez=L,eW=o,eY=y,eQ=n,eK=F,eJ=g,eX=o,e1=Z,e0=S,e2=s,e5=G,e4=f,e3=N,e8=H,e6=h,e9=q,e7=v,te=A,tt=d,ti=a,tn=Q,tr=Y,ta=em,to=ed,tl=ec,ts=eu,td=em,tc=ep,tu=eg},43743:function(e,t,i){i.r(t),i.d(t,{ButtonHollow:()=>l,ButtonHollowInverse:()=>d,ButtonHollowMetro:()=>s,ButtonLink:()=>u,ButtonLinkInverse:()=>m,ButtonStandard:()=>p,ButtonStandardGF:()=>g,ButtonStandardMetro:()=>v,Content:()=>f,FauxLink:()=>w,LinkBrand:()=>_,LinkInverse:()=>C,LinkStandard:()=>I,OverlayModal:()=>L,PianoSubscribeButtonContainer:()=>R,centre:()=>k,collectionMotif:()=>h,columnOffset:()=>x,columnWidth:()=>y,fauxLink:()=>E,featureArticleCentre:()=>N,linkBrand:()=>T,linkInline:()=>P,linkInverse:()=>A,linkOnHoverStyle:()=>c,linkStandard:()=>F,setSVGStrokeWidth:()=>S,visuallyHidden:()=>D});var n=i(78943),r=i(10170),a=i(81840);let o=n.ZP.button.withConfig({componentId:"sc-3f16ee48-0"})(["border-radius:4px;cursor:pointer;font-size:13px;letter-spacing:1px;line-height:16px;margin:0;padding:8px 16px;text-transform:uppercase;"]),l=(0,n.ZP)(o).withConfig({componentId:"sc-3f16ee48-1"})(["border:1px solid ",";color:",";&:focus,&:hover{background-color:",";}"],e=>e.theme.colorDark,e=>e.theme.colorDark,e=>e.theme.colorLightFill),s=(0,n.ZP)(o).withConfig({componentId:"sc-3f16ee48-2"})(["border:1px solid ",";color:",";&:focus,&:hover{background-color:",";}"],e=>e.theme.colorAction,e=>e.theme.colorBrandAction,e=>e.theme.colorLightFill),d=(0,n.ZP)(o).withConfig({componentId:"sc-3f16ee48-3"})(["border:1px solid #fff;color:#fff;&:focus,&:hover{background-color:",";}"],e=>e.theme.colorActionOnDark),c=(0,n.iv)(["&:focus,&:hover{text-decoration:underline;}"]),u=n.ZP.button.withConfig({componentId:"sc-3f16ee48-4"})(["cursor:pointer;font-family:",";font-size:13px;margin:0;white-space:nowrap;",""],e=>e.theme.fontPrimary,c),m=(0,n.ZP)(u).withConfig({componentId:"sc-3f16ee48-5"})(["color:#fff;"]),p=(0,n.ZP)(o).withConfig({componentId:"sc-3f16ee48-6"})(["background-color:",";color:",";font-weight:bold;&:focus,&:hover{background-color:",";}&:active{background-color:",";}"],e=>e.theme.colorBrandAction,e=>e.theme.colorBrandActionOffset,e=>e.theme.colorBrandActionHighlight,e=>e.theme.colorBrandActionHighlight),g=(0,n.ZP)(o).withConfig({componentId:"sc-3f16ee48-7"})(["background-color:",";color:#fff;font-weight:bold;&:focus,&:hover{background-color:",";}&:active{background-color:",";}"],e=>e.theme.colorDark,e=>e.theme.colorBrand500,e=>e.theme.colorBrand600),v=(0,n.ZP)(o).withConfig({componentId:"sc-3f16ee48-8"})(["background-color:",";color:",";transition:background-color .15s ease-in-out;font-weight:bold;&:focus,&:hover{background-color:",";}&:active{background-color:",";}"],e=>e.theme.colorBrandAction,e=>e.theme.colorButtonText,e=>e.theme.colorActionDark,e=>e.theme.colorActionDark),h=(0,n.iv)(["padding-left:8px;position:relative;&::before,&::after{background-color:",";content:'';height:90%;position:absolute;width:1px;}&::before{left:0;top:10%;}&::after{left:4px;top:0;}"],e=>e.theme.colorDark),k=(e,t)=>(0,n.iv)(["margin:0 auto;max-width:","px;",""],e,t?`min-width: ${t}px;`:""),f=n.ZP.div.withConfig({componentId:"sc-3f16ee48-9"})(["@media ","{max-width:fit-content;}"," padding-left:20px;padding-right:20px;@media ","{","}@media ","{","}"],r.query.printOnly,k(624,320),r.query.medium,k(808,736),r.query.large,k(1168,1e3)),b=(e,t,i)=>`(100% * ${e/t}) - (${i} * ${(t-e)/t})`,x=(e,t,i="24px")=>`calc(${b(e,t,i)} + ${i})`,y=(e,t,i="24px")=>`calc(${b(e,t,i)})`,S=(e,t=1.5,i=24)=>(0,n.iv)(["stroke-width:","px;"],(i/e*t).toFixed(3)),E=(0,n.iv)(["background:none;border:none;border-radius:0;color:",";cursor:pointer;font:inherit;margin:0;outline:none;outline-offset:0;padding:0;text-align:left;text-decoration:none;&:active,&:focus,&:hover{text-decoration:underline;}"],e=>e.theme.colorAction),w=n.ZP.a.withConfig({componentId:"sc-3f16ee48-10"})(["",""],E),N=(0,n.iv)(["@media ","{margin-left:auto;margin-right:auto;max-width:576px;}@media ","{max-width:620px;}"],r.query.medium,r.query.large),A=(0,n.iv)(["color:#fff;text-decoration:none;&:focus,&:hover{text-decoration:underline;}"]),C=n.ZP.a.withConfig({componentId:"sc-3f16ee48-11"})(["",""],A),F=(0,n.iv)(["color:",";cursor:pointer;text-decoration:none;&:focus,&:hover{text-decoration:underline;}"],e=>e.theme.colorDark),I=n.ZP.a.withConfig({componentId:"sc-3f16ee48-12"})(["",""],F),P=(0,n.iv)(["color:",";text-underline-offset:0.2em;&:focus,&:hover{text-decoration-color:",";text-decoration-thickness:3px;}"],e=>e.theme.colorDark,e=>e.theme.colorBrand500),T=(0,n.iv)(["color:",";cursor:pointer;text-decoration:underline;"],e=>e.theme.colorBrand600),_=n.ZP.a.withConfig({componentId:"sc-3f16ee48-13"})(["",""],T),L=n.ZP.div.withConfig({componentId:"sc-3f16ee48-14"})(["z-index:",";position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.6);backdrop-filter:blur(6px);overflow-y:auto;"],a.zIndex.modal),R=n.ZP.div.withConfig({componentId:"sc-3f16ee48-15"})(["display:flex;width:100%;min-width:250px;align-items:center;white-space:nowrap;position:absolute;top:-60px;right:40px;@media ","{position:static;}"],r.query.medium),D=` border: 0; clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; `},47929:function(e,t,i){i.r(t),i.d(t,{fontPrimary:()=>n,fontSecondary:()=>r,fontTertiary:()=>a,fontTertiarySubBrand:()=>o});let n="'PT Sans', 'Trebuchet MS', 'Arial Narrow', sans-serif",r="'PT Serif', Georgia, Times, 'Times New Roman', serif",a="'Abril Titling Bold', 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif",o="'Abril Titling', 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif"},21065:function(e,t,i){i.r(t),i.d(t,{subBrandThemes:()=>l,themes:()=>o});var n=i(94063),r=i(47929);let a={colorAction:n.colorAction,colorActionAlt:n.colorAction,colorActionDark:n.colorActionDark,colorActionDarkest:n.colorActionDarkest,colorActionInverted:n.colorAction,colorActionLight:n.colorActionLight,colorActionOnDark:n.colorActionOnDark,colorActionOnDarkHover:n.colorActionOnDark,colorArticleToolHover:n.colorLightAccent,colorAuthor:n.colorLightAccent,colorAwardTitle:n.colorAwardTitle,colorDomain:n.colorDomain,colorDomainBannerBackground:n.colorDomainBannerBackground,colorDomainText:n.colorDomainText,colorBrand:n.colorBrand,colorBrandOffset:n.colorBrandOffset,colorBrandOffsetBTRebrand:n.metroGrey700,colorDark:n.colorDark,colorDarkAccent:n.colorDarkAccent,colorGoodFood:n.colorGoodFood,colorGreen:n.colorGreen,colorGreenDark:n.colorGreenDark,colorGrey:n.metroGrey500,colorHighlight:n.colorHighlight,colorHighlightDark:n.colorHighlightDark,colorHighlightOffset:n.colorHighlightOffset,colorLight:n.white,colorLightAccent:n.colorLightAccent,colorLightFill:n.colorLightFill,colorMid:n.colorMid,colorMidAccent:n.colorMidAccent,colorMidDark:n.colorMidDark,colorNotification:n.colorNotification,colorOpinion:n.colorOpinion,colorOpinionAvatarBackground:n.colorLightAccent,colorOrange:n.colorOrange,colorOrangeLightFill:n.colorOrangeLightFill,colorRedLight:n.red100,colorRedDark:n.red600,colorSubscriberDarkBlue:n.colorSubscriberDarkBlue,colorSubscriberDarkRed:n.colorSubscriberDarkRed,fontPrimary:r.fontPrimary,fontSecondary:r.fontSecondary,fontTertiary:r.fontTertiary,colorBody:n.colorBrand,colorLinkInline:n.colorAction,textDecorationLinkInline:`solid underline 0.8px ${n.colorAction40}`,colorLinkInlineHover:n.colorAction,textDecorationLinkInlineHover:`solid underline 0.8px ${n.colorAction}`,colorExplainer:n.colorExplainer,colorExplainerAuthorLink:n.colorActionOnDark,colorExplainerBannerBackground:n.colorBrand,colorExplainerBannerLinkText:n.colorActionOnDark,colorExplainerBannerLinkTextHover:n.colorActionOnDark,colorExplainerBannerText:n.white,colorExplainerIntroText:n.white,colorFeatureArticleDefaultTimestamp:n.metroGrey500,colorCollectionHeaderVisual:n.desertStorm,colorCollectionLightToolHover:n.colorLightAccent,colorLightLiveMarker:n.persimmon,colorLiveArticleBannerBackground:n.bigStone,colorLivePill:n.crimson,colorLivePillText:n.white,colorBrandAction:n.colorAction,colorBrandActionOffset:n.white,colorBrandActionHighlight:n.colorActionLight,fontWeightSubscribeButton:"normal",colorBrandNavAction:n.colorActionOnDark,colorBrandNavTab:n.colorActionOnDark,colorBrandNavSubsection:n.colorLightFill,colorBrandNavSubsectionLink:n.colorBrandOffset,colorBrandNavSubsectionAction:n.colorAction,colorBrandNavHighlightOffset:n.persimmon,colorBrandNavHighlight:n.crimson,colorBrandFooterAction:n.colorDarkAccent,colorBrandFooterSection:n.colorDarkAccent,colorButtonText:n.white,colorButtonInactive:n.colorButtonInactive,colorButtonSecondary:n.colorButtonSecondary,colorButtonSecondaryText:n.colorButtonSecondaryText,colorButtonSecondaryHover:n.colorButtonSecondaryHover,colorCommentingBox:n.colorCommentingBox,colorCommenterRole:n.colorCommenterRole,colorCommentsAction:n.colorCommentsAction,colorCommentsActionFill:n.colorCommentsActionFill,colorCommentsActionHover:n.colorCommentsActionHover,colorCommentsButtonAction:n.scienceBlue,colorCommentsButtonActionHover:n.endeavour,colorCommentsButtonInactive:n.aluminium,colorCommentsButtonInactiveText:n.slate400,colorCommentsButtonText:n.white,colorCommentsCount:n.colorAction,colorCommentsCountText:n.white,colorCommentsCountHover:n.colorActionDark,colorCommentsDivider:n.colorCommentsDivider,colorCommentsIndent1:n.metroGrey700,colorCommentsIndent2:n.metroGrey600,colorCommentsIndent3:n.metroGrey500,colorCommentsIndent4:n.metroGrey400,colorCommentsIndent5:n.metroGrey300,colorCommentsIndent6:n.metroGrey200,colorCommentsIndent7:n.metroGrey100,colorCommentsLink:n.scienceBlue,colorCommentsLinkHover:n.scienceBlue,colorCommentsGrey200:n.aluminium,colorCommentsGrey400:n.slate400,colorCommentsPrimary100:n.athensGray,colorCommentsPrimary300:n.blueZodiac,colorCommentsPrimary500:n.blueZodiac,colorCommentsPrimary600:n.bigStone,colorCommentsPrimary700:n.bigStone,colorCommentsSecondaryButtonAction:n.colorAction,colorCommentsSecondaryButtonActionHover:n.pattensBlue,colorCommentsTag:n.blue200,colorCommentsTimestamp:n.colorCommentsTimestamp,colorCommentsGuidelineLink:n.scienceBlue,colorCommentsGuidelineLinkHover:n.scienceBlue,colorTextDecorationCommentsGuidelineLinkHover:n.scienceBlue,textDecorationCommentsGuidelineLink:"none",textDecorationCommentsGuidelineLinkHover:"underline",textDecorationCommentsLink:"none",textDecorationThicknessCommentsGuidelineLinkHover:"1px",colorBackgroundRetentionNotification:n.colorBrandOffset,colorCtaBackgroundRetentionNotification:n.colorHighlight,colorCtaTextRetentionNotification:n.white,colorTextRetentionNotification:n.white,colorLabelTag:n.colorAction,colorStoryTileHeadlineHover:n.colorAction,colorStoryTileHeadlineHoverUnderline:"transparent",fontWeightAuthorByline:"400",fontWeightTimeStamp:"bold",headlineUnderlineWeight:"0px",headlineUnderlineOffset:"0px",storyTileHeadlineTextDecorationHover:"none",colorStrapHeader:n.colorBrand,colorStrapHeaderText:n.blueZodiac,decorationStrapHeader:"transparent",displayStrapHeaderIcon:"none",strokeStrapHeader:"inherit",transformStrapHeader:"none",transitionStrapHeader:"none",widthStrapHeader:"3px",colorSubscriberBadgeStart:n.colorSubscriberDarkRed,colorSubscriberBadgeEnd:n.colorHighlight,colorSubscriberBadgeText:n.white,colorSubscriberGlowStart:n.colorSubscriberDarkRed,colorSubscriberGlowMid:n.colorHighlight,colorSubscriberGlowEnd:n.colorSubscriberDarkBlue,fontWeightSubscriberBadge:"normal",colorAccountAction:n.colorActionDark,colorLabel:n.blueZodiac,colorLabelAlt:n.scienceBlue,colorLabelHighLight:"transparent",colorLabelLiveArticle:n.crimson,colorLabelSponsored:n.doveGray,colorLabelUrgent:n.crimson,colorLabelUrgentHighlight:"transparent",labelBorderInline:`4px solid ${n.colorLightAccent}`,labelHeightInline:"14px",labelInsetLivePulse:"5px",labelPadding:"0",labelPaddingLive:"15px",colorTextLightMode:n.metroGrey700,colorTextDarkMode:n.white,colorLink:n.colorAction,colorLinkAlt:n.colorAction,colorLinkActive:n.colorAction,colorLinkHover:n.scienceBlue,colorLinkHoverAlt:n.scienceBlue,colorLinkInlineAnchorAction:n.scienceBlue,colorLinkInlineAnchorActionHover:n.scienceBlue,colorLinkInlineAnchorActionUnderline:"transparent",colorLinkVisited:n.colorDark,colorOpinionAuthorLink:n.colorAction,decorationLink:"none",decorationLinkHover:"underline",textDecorationExplainerBannerLinkText:"none",textDecorationExplainerBannerLinkTextHover:"underline",colorVideoLink:n.colorActionOnDark,colorCollectionsDriverHeadline:n.colorBrand,colorCollectionsDriverLink:n.colorAction,colorCollectionsDriverLinkHover:n.colorAction,colorCollectionRecirculationSeeAllLink:n.colorAction,textDecorationCollectionsDriverHeadlineHover:`underline ${n.colorBrand}`,textDecorationCollectionsDriverLink:`underline ${n.colorAction}`,colorWarning:n.colorOrange,colorWarningAlt:n.aluminium,colorBrand100:n.colorGoodFoodBrand100,colorBrand200:n.colorTraveller200,colorBrand300:n.colorGoodFoodBrand300,colorBrand400:n.colorGoodFoodBrand400,colorBrand500:n.colorGoodFoodBrand500,colorBrand600:n.colorGoodFoodBrand600,colorStan:n.colorStan,colorStanAction:n.colorStan,colorStanActionHover:n.colorActionDark,colorSubBrandHeaderButton:n.colorLightFill,colorSubBrandHeaderNavFocus:n.black,colorReviewOutOfScore:n.colorGoodFoodReviewOutOfScore,colorReviewOutOfScoreOnDark:n.colorGoodFoodReviewOutOfScoreOnDark,colorModalBackground:n.colorBrand,colorModalText:n.white,colorModalLink:n.colorActionOnDark},o={brisbanetimes:{...a,colorAction:n.sea200,colorActionAlt:n.colorDark,colorActionDark:n.sea300,colorActionInverted:n.metroGrey400,colorActionOnDark:n.white,colorActionOnDarkHover:n.sea200,colorArticleToolHover:n.gallery,colorAuthor:n.sea200,colorBrand:n.mineShaft,colorBrandOffset:n.metroGrey700,colorBrandOffsetBTRebrand:n.metroGrey700,colorOpinion:n.colorBrisbaneTimesOpinion,colorOpinionAvatarBackground:n.sea200,colorBody:n.mineShaft,colorLinkInline:n.mineShaft,textDecorationLinkInline:`solid underline 2px ${n.mineShaft}`,colorLinkInlineHover:n.sea500,textDecorationLinkInlineHover:`solid underline 2px ${n.sea500}`,colorExplainer:n.sea200,colorExplainerAuthorLink:n.white,colorExplainerBannerBackground:n.mineShaft,colorExplainerBannerLinkText:n.white,colorExplainerBannerLinkTextHover:n.sea200,colorExplainerIntroText:n.metroGrey200,colorCollectionHeaderVisual:n.gallery,colorCollectionLightToolHover:n.colorLightAccent,colorLightLiveMarker:n.mineShaft,colorLiveArticleBannerBackground:n.mineShaft,colorBrandAction:n.sea200,colorBrandActionOffset:n.mineShaft,colorBrandActionHighlight:n.sea300,fontWeightSubscribeButton:"bold",colorBrandNavAction:n.sea200,colorBrandNavTab:n.sea200,colorBrandNavSubsection:n.mineShaft,colorBrandNavSubsectionLink:n.white,colorBrandNavSubsectionAction:n.sea300,colorBrandNavHighlightOffset:n.sea300,colorBrandNavHighlight:n.sea300,colorBrandFooterAction:n.metroGrey400,colorBrandFooterSection:n.metroGrey600,colorButtonText:n.mineShaft,colorCommentsButtonAction:n.sea200,colorCommentsButtonActionHover:n.sea300,colorCommentsButtonInactive:n.metroGrey200,colorCommentsButtonInactiveText:n.slate400,colorCommentsButtonText:n.colorDark,colorCommentsCount:n.mineShaft,colorCommentsCountHover:n.sea300,colorCommentsGrey200:n.metroGrey200,colorCommentsGrey400:n.slate400,colorCommentsLink:n.mineShaft,colorCommentsLinkHover:n.sea500,colorCommentsPrimary100:n.gold100,colorCommentsPrimary300:n.mineShaft,colorCommentsPrimary500:n.mineShaft,colorCommentsPrimary600:n.black,colorCommentsPrimary700:n.black,colorCommentsSecondaryButtonAction:n.metroGrey700,colorCommentsSecondaryButtonActionHover:n.metroGrey100,colorCommentsTag:n.sea200,colorCommentsGuidelineLink:n.mineShaft,colorCommentsGuidelineLinkHover:n.sea500,colorTextDecorationCommentsGuidelineLinkHover:n.sea500,textDecorationCommentsGuidelineLink:"underline",textDecorationCommentsGuidelineLinkHover:"underline",textDecorationThicknessCommentsGuidelineLinkHover:"1px",textDecorationCommentsLink:"underline",colorBackgroundRetentionNotification:n.sun,colorCtaBackgroundRetentionNotification:n.metroGrey600,colorCtaTextRetentionNotification:n.white,colorTextRetentionNotification:n.mineShaft,colorStoryTileHeadlineHover:n.blackOlive,colorStoryTileHeadlineHoverUnderline:n.sea200,fontWeightAuthorByline:"700",storyTileHeadlineTextDecorationHover:`underline ${n.sea200}`,colorSubscriberBadgeStart:n.sun,colorSubscriberBadgeEnd:n.sun,colorSubscriberBadgeText:n.mineShaft,colorSubscriberGlowStart:n.doveGray,colorSubscriberGlowMid:n.doveGray,colorSubscriberGlowEnd:n.doveGray,fontWeightSubscriberBadge:"bold",colorStrapHeaderText:n.mineShaft,colorAccountAction:n.metroGrey600,colorLabel:n.mineShaft,colorLabelAlt:n.mineShaft,colorLabelHighLight:n.sea200,colorLabelTag:n.mineShaft,colorLabelLiveArticle:n.sea500,colorLabelUrgent:n.mineShaft,colorLabelUrgentHighlight:n.sun,labelBorderInline:"none",labelHeightInline:"20px",labelInsetLivePulse:"7px auto auto 8px",labelPadding:"2px 8px",labelPaddingLive:"18px",colorLink:n.mineShaft,colorLinkAlt:n.mineShaft,colorLinkActive:n.sea500,colorLinkHover:n.sea500,colorLinkHoverAlt:n.mineShaft,colorLinkInlineAnchorAction:n.black,colorLinkInlineAnchorActionHover:n.sea500,colorLinkInlineAnchorActionUnderline:n.black,colorOpinionAuthorLink:n.mineShaft,decorationLink:"underline",decorationLinkHover:"underline",textDecorationExplainerBannerLinkText:"none",textDecorationExplainerBannerLinkTextHover:"underline",colorVideoLink:n.sea200,colorCollectionsDriverHeadline:n.mineShaft,colorCollectionsDriverLink:n.colorMid,colorCollectionsDriverLinkHover:n.sea500,textDecorationCollectionsDriverHeadlineHover:`underline ${n.sea200}`,textDecorationCollectionsDriverLink:`underline ${n.sea500}`,colorModalBackground:n.metroGrey100,colorModalText:n.black,colorModalLink:n.sea500},default:a,smh:a,theage:a,watoday:a},l={goodFood:{colorBrand100:n.colorGoodFoodBrand100,colorBrand300:n.colorGoodFoodBrand300,colorBrand400:n.colorGoodFoodBrand400,colorBrand500:n.colorGoodFoodBrand500,colorBrand600:n.colorGoodFoodBrand600,fontTertiary:r.fontTertiarySubBrand,colorAction:n.colorGoodFoodBrand500,colorActionAlt:n.colorGoodFoodBrand500,colorBody:n.colorDark,colorLinkInline:n.colorDark,textDecorationLinkInline:`solid underline 1px ${n.colorDark}`,colorLinkInlineHover:n.colorDark,textDecorationLinkInlineHover:`solid underline 3px ${n.colorGoodFoodBrand500}`,colorArticleToolHover:n.gallery,colorFeatureArticleDefaultTimestamp:n.colorMid,colorCommentsButtonAction:n.mineShaft,colorCommentsButtonActionHover:n.buddhaGold,colorCommentsButtonInactive:n.metroGrey300,colorCommentsButtonInactiveText:n.white,colorCommentsButtonText:n.white,colorCommentsCount:n.colorGoodFoodBrand300,colorCommentsCountText:n.colorDark,colorCommentsCountHover:n.colorGoodFoodBrand400,colorCommentsGrey200:n.metroGrey300,colorCommentsGrey400:n.white,colorCommentsLink:n.buddhaGold,colorCommentsLinkHover:n.buddhaGold,colorCommentsPrimary100:n.athensGray,colorCommentsPrimary300:n.blueZodiac,colorCommentsPrimary500:n.mineShaft,colorCommentsPrimary600:n.buddhaGold,colorCommentsPrimary700:n.bigStone,colorCommentsSecondaryButtonAction:n.metroGrey700,colorCommentsSecondaryButtonActionHover:n.colorGoodFoodBrand100,colorCommentsTag:n.buff,colorCommentsGuidelineLink:n.mineShaft,colorCommentsGuidelineLinkHover:n.mineShaft,colorTextDecorationCommentsGuidelineLinkHover:n.buddhaGold,textDecorationCommentsGuidelineLink:"underline",textDecorationCommentsGuidelineLinkHover:"underline",textDecorationThicknessCommentsGuidelineLinkHover:"3px",textDecorationCommentsLink:"none",colorLabel:n.colorDark,colorLabelAlt:n.colorDark,colorLabelHighLight:"transparent",colorLabelUrgent:n.colorDark,colorLabelUrgentHighlight:"transparent",labelInsetLivePulse:"5px",labelPadding:"0",labelPaddingLive:"15px",colorLink:n.colorDark,colorLinkAlt:n.colorGoodFoodBrand600,colorLinkHover:"initial",colorLinkHoverAlt:"none",colorOpinionAuthorLink:n.colorDark,decorationLink:"underline",decorationLinkHover:"none",colorLabelTag:n.colorGoodFoodBrand600,fontWeightTimeStamp:"normal",headlineUnderlineWeight:"1px",headlineUnderlineOffset:"5.5px",colorStrapHeader:n.colorLightAccent,colorStrapHeaderText:n.mineShaft,decorationStrapHeader:n.colorGoodFoodBrand300,displayStrapHeaderIcon:"inline-block",strokeStrapHeader:n.colorGoodFoodBrand500,transformStrapHeader:"translateX(4px)",transitionStrapHeader:"0.25s border-bottom ease-in-out",widthStrapHeader:"1px",colorVideoLink:n.colorGoodFoodBrand300,colorCollectionsDriverHeadline:n.mineShaft,colorCollectionsDriverLink:n.colorGoodFoodBrand600,colorCollectionsDriverLinkHover:n.colorGoodFoodBrand600,colorCollectionRecirculationSeeAllLink:n.colorGoodFoodBrand600,textDecorationCollectionsDriverHeadlineHover:`underline ${n.mineShaft}`,textDecorationCollectionsDriverLink:`underline ${n.colorGoodFoodBrand600}`,colorSubBrandHeaderButton:n.colorGoodFoodBrand100},traveller:{colorBrand100:n.colorTraveller100,colorBrand200:n.colorTraveller200,colorBrand300:n.colorTraveller300,colorBrand400:n.colorTraveller400,colorBrand500:n.colorTraveller500,colorBrand600:n.colorTraveller600,colorExplainer:n.colorExplainer,colorOpinion:n.athensGray,colorOpinionAvatarBackground:n.colorLightAccent,fontTertiary:r.fontTertiarySubBrand,colorAction:n.colorTraveller,colorActionAlt:n.colorTraveller,colorBody:n.mineShaft,colorLinkInline:n.colorTraveller500,textDecorationLinkInline:"none",colorLinkInlineHover:n.colorTraveller500,textDecorationLinkInlineHover:`solid underline ${n.colorTraveller500}`,colorExplainerBannerBackground:n.desertStorm,colorExplainerBannerLinkText:n.colorTraveller600,colorExplainerBannerLinkTextHover:n.colorTraveller600,colorExplainerBannerText:n.colorDark,colorCommentsButtonAction:n.mineShaft,colorCommentsButtonActionHover:n.teal500,colorCommentsButtonText:n.white,colorCommentsCount:n.mineShaft,colorCommentsCountHover:n.mineShaft,colorCommentsGuidelineLink:n.teal500,colorCommentsGuidelineLinkHover:n.teal500,colorCommentsLink:n.teal500,colorCommentsLinkHover:n.teal500,colorCommentsPrimary600:n.teal500,colorCommentsPrimary700:n.teal500,colorCommentsTag:n.teal200,colorTextDecorationCommentsGuidelineLinkHover:n.teal500,textDecorationThicknessCommentsGuidelineLinkHover:"auto",colorLabel:n.colorDark,colorLabelAlt:n.colorTraveller500,colorLabelHighLight:"transparent",colorLabelUrgent:n.colorDark,colorLabelUrgentHighlight:"transparent",labelInsetLivePulse:"5px",labelPadding:"0",labelPaddingLive:"15px",colorLink:n.colorTraveller500,colorLinkAlt:n.colorTraveller500,colorLinkHover:n.mineShaft,colorLinkHoverAlt:"none",colorLinkVisited:n.colorTraveller500,colorOpinionAuthorLink:n.teal500,colorLabelTag:n.colorTraveller500,fontWeightTimeStamp:"normal",headlineUnderlineWeight:"2px",headlineUnderlineOffset:"3px",colorStrapHeader:n.colorLightAccent,colorStrapHeaderText:n.mineShaft,decorationStrapHeader:n.colorTraveller200,displayStrapHeaderIcon:"inline-block",strokeStrapHeader:n.colorTraveller400,transformStrapHeader:"translateX(4px)",transitionStrapHeader:"0.25s border-bottom ease-in-out",widthStrapHeader:"1px",colorVideoLink:n.colorTraveller300,colorCollectionsDriverHeadline:n.mineShaft,colorCollectionsDriverLink:n.sea500,colorCollectionsDriverLinkHover:n.sea500,colorCollectionRecirculationSeeAllLink:n.colorTraveller500,textDecorationCollectionsDriverHeadlineHover:`underline ${n.mineShaft}`,textDecorationCollectionsDriverLink:`underline ${n.sea500}`,colorSubBrandHeaderNavFocus:n.colorTraveller400}}},81840:function(e,t,i){i.r(t),i.d(t,{zIndex:()=>n});let n={background:-1,default:1,overlay:20,tooltip:30,paywall:{hardWall:25,overlay:40,messaging:45,softWall:60},liveArticleBodyAd:25,stickyAd:{sticky:45},header:{base:50,navActive:55},myAccountDropDown:90,primaryNavigation:90,skipLink:95,modal:100}},40577:function(e,t,i){i.d(t,{Z:()=>h});var n=i(52322),r=i(56111),a=i(41865),o=i(19510),l=i(56038),s=i(81924),d=i(2596),c=i(2784),u=i(44773),m=i(59944),p=i(83949),g=i(79644);let v=(0,i(78943).ZP)(g.Z.ButtonStandard).withConfig({componentId:"sc-1b52376c-0"})(["font-weight:",";text-decoration:none;"],e=>e.theme.fontWeightSubscribeButton),h=({className:e,promotionPrefix:t,tracking:i})=>{let{brand:{shortSiteName:g},SUBSCRIPTION:{CHANNEL_KEY:h}}=(0,r.Z)(),k=(0,a.Z)(),[f,b]=(0,c.useState)(""),x=(0,p.aF)(),y=(0,o.kk)(x),{appAccess:S,appPremiumSubAccess:E,appSubAccess:w}=(0,u.P)();if((0,c.useEffect)(()=>{b(encodeURIComponent(window.location.href))},[]),x?.externalPurchaseSource||S||E||w||(0,o.AY)(x)||y&&!(0,o.u)(g))return null;let N=`https://subscribe.${g}.com.au/?channel_key=${h}&callback_uri=${f}&promote_channel=${t}_GNL&utm_source=PremiumLogin&utm_medium=HouseInventory&utm_campaign=General`,A=`https://${g}.myfairfax.com.au/members/my_account?channel_key=${h}&callback_uri=${f}&show_upgrade=true&upgrade_token=true&promote_channel=${t}_UPS&utm_source=PremiumIndex&utm_medium=HouseInventory&utm_campaign=Upsell`,C=y?"Upgrade":"Subscribe";return(0,n.jsx)(v,{as:"a",className:e,"data-ffx-event-action":"cta click","data-ffx-event-label":C.toLowerCase(),"data-ffx-hittype":"event","data-testid":"subscribe-upgrade",href:y?A:N,onClick:e=>{if(k[d.PERM_FEATURE_FLAG_MEMBER_SERVICES_FORCE_DISABLED]){(0,m.l)(!0),e.preventDefault();return}(0,s.ow)(l.$e,l.bQ)},...i,children:C})}},36156:function(e,t,i){i.d(t,{Z:()=>_});var n=i(52322),r=i(21509),a=i(56111),o=i(41865),l=i(33460),s=i(19510),d=i(96314),c=i(79644),u=i(78943);let m=u.ZP.div.withConfig({componentId:"sc-fb6d1ff4-0"})(["background:",";border-radius:8px;box-shadow:0 0 16px 2px rgb(0 0 0 / 30%);padding:48px;text-align:center;@media ","{width:420px;}"],e=>e.theme.colorLightFill,c.Z.query.medium),p=u.ZP.h4.withConfig({componentId:"sc-fb6d1ff4-1"})(["font-size:18px;font-weight:bold;margin-bottom:12px;"]),g=u.ZP.p.withConfig({componentId:"sc-fb6d1ff4-2"})(["font-size:15px;margin-bottom:24px;"]),v=u.ZP.button.withConfig({componentId:"sc-fb6d1ff4-3"})(["background:",";border-radius:4px;color:",";cursor:pointer;font-size:13px;font-weight:bold;letter-spacing:0.5px;padding:16px 0 15px;text-transform:uppercase;width:100%;&:focus,&:hover{background:",";}"],e=>e.theme.colorAction,e=>e.theme.colorLightFill,e=>e.theme.colorActionDark);var h=i(2784),k=i(37149),f=i.n(k),b=i(91309);let x="Please reload this page and choose ‘Continue with Google’ to finish setting up your account.",y="Reload",S="Sorry, something went wrong.",E="This should only take a few seconds.",w="Setting up your account...",N=()=>{let e=(0,b.dI)();return(0,n.jsx)(f(),{bodyOpenClassName:"modalBodyOpen",className:"modalContent",isOpen:e!==b.XK.closed,overlayClassName:"modalOverlay",children:(0,n.jsxs)(m,{children:[e===b.XK.error&&(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)(p,{children:S}),(0,n.jsx)(g,{children:x}),(0,n.jsx)(v,{onClick:()=>window.location.reload(),type:"button",children:y})]},"error"),e===b.XK.loading&&(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)(p,{children:w}),(0,n.jsx)(g,{children:E}),(0,n.jsx)("p",{children:(0,n.jsx)(d.Z,{})})]},"loading")]})})};var A=i(25790),C=i(13457),F=i(2596),I=i(58491),P=i(53896),T=i(83949);let _=()=>{let e=(0,r.x)(),{MEMBER_AUTH_API:{TIMEOUT:t,URL:i},SUBSCRIBE_WITH_GOOGLE:{PRODUCT_ID:d},brand:{shortSiteName:c}}=(0,a.Z)(),u=(0,o.Z)(),m=(0,P.TH)(),{search:p}=(0,P.TH)(),g=(0,T.aF)(),[v,k]=(0,h.useState)(!1),f=`${"undefined"==typeof window?"":window.location.origin}${m.pathname}${m.search}`,x=u[F.TEMP_FEATURE_FLAG_RRME_ENABLED],y=u[F.PERM_FEATURE_FLAG_SWG_ENTITLEMENT],S=u[F.PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED],E=y&&"1"===I.Z.parse(p).isGoogle;return(0,h.useEffect)(()=>{y&&(A.S1(x),(0,C.v)("https://news.google.com/swg/js/v1/swg.js",!0,!1,void 0,()=>{k(!0)}))},[x,y]),(0,h.useEffect)(()=>{b.Jc(E),b.vD(!0)},[E]),(0,h.useEffect)(()=>{if(!y||!S||!v)return;let n=()=>(0,l.x4)({authUrl:i,brand:c,loginID:"",loginMethod:"google",password:"",redirectUrl:f,timeoutMs:t});A.nz(y).then(t=>{if(t.enablesThis()){t.ack();let i=t.entitlements.find(e=>e.products.includes(d)&&"google:subscriber"!==e.source);i&&A.Qo(e,t,(0,s.kk)(g),b.eV,i.subscriptionToken,n)}})},[e,t,i,f,y,S,d,c,g,v]),(0,n.jsx)(N,{})}},62186:function(e,t,i){i.d(t,{al:()=>s});var n,r=((n={}).Failure="FAILURE",n.Success="SUCCESS",n),a=i(58704);let o={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"MemberRequestProgressQuery"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"requestID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberRequestProgress"},arguments:[{kind:"Argument",name:{kind:"Name",value:"requestID"},value:{kind:"Variable",name:{kind:"Name",value:"requestID"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"memberRequestProgressID"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tokenURL"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:144,source:{body:"query MemberRequestProgressQuery($requestID:String!){memberRequestProgress(requestID:$requestID){error memberRequestProgressID status tokenURL}}"}}},l=async(e,t=a.Z.query)=>{let{data:{memberRequestProgress:i},error:n}=await t({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:o,variables:{requestID:e}});if(n)throw Error(`Member request progress request failed [${n.message}]`);if(i?.error)throw Error(`Member request progress response error [${i.error}]`);return i},s=async(e,t=0,i=a.Z.query)=>{let n=await l(e,i);switch(n.status){case r.Success:return n;case r.Failure:throw Error("Failure from member request progress")}if(t>15)throw Error("Maximum attempt reached for making member request progress");return new Promise((n,r)=>{setTimeout(()=>s(e,t+1,i).then(n).catch(r),1e3)})}},25790:function(e,t,i){i.d(t,{S1:()=>B,pb:()=>Z,pI:()=>z,Y_:()=>H,nz:()=>j,$s:()=>G,Qo:()=>U});let n={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"VerifyGoogleEntitlement"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"packageName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"productID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"token"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"verifyGoogleEntitlement"},arguments:[{kind:"Argument",name:{kind:"Name",value:"packageName"},value:{kind:"Variable",name:{kind:"Name",value:"packageName"}}},{kind:"Argument",name:{kind:"Name",value:"productID"},value:{kind:"Variable",name:{kind:"Name",value:"productID"}}},{kind:"Argument",name:{kind:"Name",value:"token"},value:{kind:"Variable",name:{kind:"Name",value:"token"}}}],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:"status"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:192,source:{body:"query VerifyGoogleEntitlement($packageName:String!,$productID:String!,$token:String!){verifyGoogleEntitlement(packageName:$packageName,productID:$productID,token:$token){error{message}status}}"}}},r={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"entitlementTokenByBrandQuery"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"entitlementTokenByBrandInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"EntitlementTokenByBrandInput"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entitlementTokenByBrand"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"entitlementTokenByBrandInput"}}}],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:"googlePpid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"linked"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:190,source:{body:"query entitlementTokenByBrandQuery($entitlementTokenByBrandInput:EntitlementTokenByBrandInput!){entitlementTokenByBrand(input:$entitlementTokenByBrandInput){error{message}googlePpid linked}}"}}};var a=i(17845),o=i(33460),l=i(62186),s=i(58704),d=i(31106),c=i(17741);let{brand:{shortSiteName:u}}=d.Z,m={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"MemberSocialPurchaseCompleteMutation"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MemberSocialPurchaseCompleteInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberSocialPurchaseComplete"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"requestId"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:169,source:{body:"mutation MemberSocialPurchaseCompleteMutation($input:MemberSocialPurchaseCompleteInput!){memberSocialPurchaseComplete(input:$input){error{message type{class}}requestId}}"}}},p=async(e,t,i,n,r=s.Z.mutate)=>{let a=await r({context:{clientName:"api-front"},mutation:m,variables:{input:{brand:(0,c.w)(u),idToken:e,purchaseType:t,redirectURL:i,signedEntitlementsJwt:n}}}),o=a.data?.memberSocialPurchaseComplete;if(o?.error)throw Error(`Member social purchase complete response error [${o.error.message}]`);return o},{brand:{shortSiteName:g}}=d.Z,v={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"MemberSocialUpdatePurchaseMutation"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MemberSocialUpdatePurchaseInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"memberSocialUpdatePurchase"},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:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"requestId"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:163,source:{body:"mutation MemberSocialUpdatePurchaseMutation($input:MemberSocialUpdatePurchaseInput!){memberSocialUpdatePurchase(input:$input){error{message type{class}}requestId}}"}}},h=async(e,t,i,n=s.Z.mutate)=>{let r=await n({context:{clientName:"api-front"},mutation:v,variables:{input:{brand:(0,c.w)(g),idToken:e,purchaseInput:t,redirectURL:i}}}),a=r.data?.memberSocialUpdatePurchase;if(a?.error)throw Error(`Member social update purchase response error [${a.error.message}]`);return a};var k=i(56038),f=i(81924),b=i(9259),x=i(28067),y=i(69414),S=i(91309);let E={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"PublishEntitlement"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"publishEntitlementInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PublishEntitlementInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publishEntitlement"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"publishEntitlementInput"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:138,source:{body:"mutation PublishEntitlement($publishEntitlementInput:PublishEntitlementInput!){publishEntitlement(input:$publishEntitlementInput){status}}"}}},w={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"LinkSubscription"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"linkSubscriptionInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"LinkSubscriptionInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"linkSubscription"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"linkSubscriptionInput"}}}],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:148,source:{body:"mutation LinkSubscription($linkSubscriptionInput:LinkSubscriptionInput!){linkSubscription(input:$linkSubscriptionInput){error{message type{class}}}}"}}},{SUBSCRIBE_WITH_GOOGLE:{RRME_OFFER_ID_WEBBASIC:N,RRME_OFFER_ID_ALLDIGITAL:A,SKU_WEBBASIC:C,SKU_ALLDIGITAL:F}}=d.Z,I="google",P={ack:()=>null,enablesThis:()=>!1,entitlements:[],isReadyToPay:!1},T=i.g,_=e=>{(0,f.GK)();try{let{orderId:t,packageName:i,productId:n}=JSON.parse(e);(0,f.gc)(t,i,n)}catch(e){y.Y.error("Error parsing purchase data",a.log.EventType("SubscribeWithGoogle","sendPurchaseAnalytics"),a.log.Error(e))}},L=async e=>{try{let t=await e,{purchaseData:{raw:i},userData:{idToken:n}}=t;_(i);let{packageName:r,productId:a,purchaseToken:s}=JSON.parse(i),{requestId:d}=await h(n,{packageName:r,productId:a,token:s,type:x.Oz.New},window.location.href),{tokenURL:c}=await (0,l.al)(d);await t.complete(),(0,S.jo)(S.XK.loading),(0,o.ED)(I,c)}catch(e){(0,S.jo)(S.XK.error),y.Y.error("Error processing on payment response",a.log.EventType("SubscribeWithGoogle","onPaymentResponse"),a.log.Error(e))}},R=async e=>{try{let t=await e,{purchaseData:{raw:i},raw:n,userData:{idToken:r}}=t;_(i);let{signedEntitlements:a}=JSON.parse(n),{requestId:s}=await p(r,x.Oz.New,window.location.href,a),{tokenURL:d}=await (0,l.al)(s);await t.complete(),(0,S.jo)(S.XK.loading),(0,o.ED)(I,d)}catch(e){(0,S.jo)(S.XK.error),y.Y.error("Error processing on RRME payment response",a.log.EventType("SubscribeWithGoogle","onRrmePaymentResponse"),a.log.Error(e))}},D=e=>{window.SWG=window.SWG||[],window.SWG.push(t=>{T.globalSubscriptions=t,e(t)})},B=e=>{T.globalSubscriptions=T.globalSubscriptions||{},D(t=>{e?(t.setOnPaymentResponse(R),t.configure({paySwgVersion:"2"})):t.setOnPaymentResponse(L)})},Z=(e,t)=>{let i=t?N:C,n={WebBasic:i,AllDigital:t?A:F};D(t=>{let r=n[e]??i;t.subscribe(r)})},O=async e=>{try{let t=await e,{raw:i,userData:{idToken:n}}=t,{signedEntitlements:r}=JSON.parse(i),{requestId:a}=await p(n,x.Oz.Upgrade,window.location.href,r),{tokenURL:s}=await (0,l.al)(a);await t.complete(),(0,S.jo)(S.XK.loading),(0,o.ED)(I,s)}catch(e){(0,S.jo)(S.XK.error),y.Y.error("Error processing RRME upgrade response",a.log.EventType("SubscribeWithGoogle","onRrmeUpgradeResponse"),a.log.Error(e))}},M=async()=>{let e=(await H()).entitlements.filter(e=>e.source===I||"google:subscriber"===e.source),t=[];for(let i of e)if(i.subscriptionToken)try{let{productId:e}=JSON.parse(i.subscriptionToken);(e===N||e===A)&&t.push(e)}catch(e){y.Y.error("Unable to parse Google subscription token",a.log.EventType("SubscribeWithGoogle","getCurrentRrmeOfferId"),a.log.Error(e))}return t.find(e=>e===A)??t[0]??""},G=async e=>{if(!e)return;let t=await M(),i=t&&t!==A&&t===N?A:null;if(!i)return void y.Y.error("Unable to resolve upgrade offer for the current Google entitlement",a.log.EventType("SubscribeWithGoogle","upgradeWithGoogle"));D(e=>{e.setOnPaymentResponse(O),e.showUpdateOffers({oldSku:t,skus:[i]})})},j=async e=>{if(T.globalSubscriptions&&"function"==typeof T.globalSubscriptions.getEntitlements&&e)try{return await T.globalSubscriptions.getEntitlements()}catch(e){y.Y.error("Unable to get SWG entitlements",a.log.EventType("SubscribeWithGoogle","getGoogleEntitlements"),a.log.Error(e))}return{ack:()=>null,enablesThis:()=>!1,entitlements:[],isReadyToPay:!1}},H=async(e=3e4)=>{if(V())return P;try{return await (0,b.V)(new Promise((e,t)=>{D(i=>{i.getEntitlements().then(e).catch(t)})}),e,["SubscribeWithGoogle","getEntitlements"])}catch(e){return y.Y.error("Unable to get SWG entitlements",a.log.EventType("SubscribeWithGoogle","getGoogleEntitlementsTimeout"),a.log.Error(e)),P}},V=()=>"object"==typeof navigator&&!!navigator.userAgent&&/(googlebot|bingbot|yandexbot)/i.test(navigator.userAgent),U=(e,t,i,r,s,d)=>{let c;try{c=JSON.parse(s)}catch(e){y.Y.error("Unable to parse subscription token",a.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"),a.log.Error(e));return}let{packageName:u,productId:m,purchaseToken:p}=c,{query:g}=e;g({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:n,variables:{packageName:u,productID:m,token:p}}).then(({data:n})=>{if(!n?.verifyGoogleEntitlement)return void y.Y.error("Empty verify google entitlement response",a.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"));let{verifyGoogleEntitlement:s}=n;if(s.error)return void y.Y.error("Failed verifying google entitlement",a.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"),a.log.String("query_error_msg",s.error));if(s.status===x.h0.EmailConflict){r(s.status),T.globalSubscriptions.waitForSubscriptionLookup(new Promise(e=>setTimeout(e,2e3))).then(()=>{T.globalSubscriptions.showLoginPrompt().then(()=>{T.globalSubscriptions.showLoginNotification().then(async()=>{d()}).catch(e=>{y.Y.error("Unable to complete user Google login",a.log.EventType("SubscribeWithGoogle","showGoogleLoginPrompt"),a.log.Error(e))})}).catch(e=>{y.Y.error("Unable to show Google user login prompt",a.log.EventType("SubscribeWithGoogle","showGoogleLoginPrompt"),a.log.Error(e))})}).catch(e=>{y.Y.error("Unable to perform Google subscription lookup",a.log.EventType("SubscribeWithGoogle","showGoogleLoginPrompt"),a.log.Error(e))});return}s.status===x.h0.Linked&&i||s.status===x.h0.NotLinked&&((e,t,i,n,r)=>{let{mutate:s}=e;T.globalSubscriptions.waitForSubscriptionLookup(new Promise(e=>setTimeout(e,2e3))).then(()=>{T.globalSubscriptions.completeDeferredAccountCreation({consent:!0,entitlements:t}).then(e=>{let{userData:{email:t,idToken:d}}=e,{location:{href:c}}=window;s({context:{clientName:"api-front"},mutation:E,variables:{publishEntitlementInput:{email:t,packageName:i,productId:n,token:r}}}).then(async({data:t})=>{let s=t?.publishEntitlement?.status;if(s!==x.mG.StatusSuccess&&s!==x.mG.StatusInProgress)return void y.Y.error("Failed publishing entitlement",a.log.EventType("SubscribeWithGoogle","triggerDeferredAccountCreation"));try{let{requestId:t}=await h(d,{packageName:i,productId:n,token:r,type:x.Oz.Deferred},c),{tokenURL:a}=await (0,l.al)(t);await e.complete(),(0,S.jo)(S.XK.loading),(0,o.ED)(I,a)}catch(e){(0,S.jo)(S.XK.error),y.Y.error("Error during deferred account creation",a.log.EventType("SubscribeWithGoogle","triggerDeferredAccountCreation"),a.log.Error(e))}}).catch(e=>{y.Y.error("Error publishing entitlement",a.log.EventType("SubscribeWithGoogle","triggerDeferredAccountCreation"),a.log.Error(e))})})})})(e,t,u,m,p)}).catch(e=>{y.Y.error("Error verifying google entitlement",a.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"),a.log.Error(e))})},$=async(e,t)=>{try{let{data:i}=await t({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:r,variables:{entitlementTokenByBrandInput:{brand:e}}});if(!i?.entitlementTokenByBrand)return y.Y.error("No data returned in getting Google PPID",a.log.EventType("SubscribeWithGoogle","getGooglePPID")),null;let{error:n,googlePpid:o,linked:l}=i.entitlementTokenByBrand;if(n)return y.Y.error("Error occurred in retrieving Google PPID",a.log.EventType("SubscribeWithGoogle","getGooglePPID"),a.log.String("query_error_msg",n)),null;return{googlePpid:o,linked:l}}catch(e){return y.Y.error("Unexpected service error in retrieving Google PPID",a.log.EventType("SubscribeWithGoogle","getGooglePPID"),a.log.Error(e)),null}},q=async(e,t,i,n)=>{try{let{data:r}=await t({context:{clientName:"api-front"},mutation:w,variables:{linkSubscriptionInput:{brand:e,ppid:i,subscriptionNumber:n}}});if(!r||!r.linkSubscription)return void y.Y.error("No data in the response from linking subscription",a.log.EventType("SubscribeWithGoogle","linkSubscriptionMutation"),a.log.String("mutation_error_msg","No data returned"));let{error:o}=r.linkSubscription;if(o)return void y.Y.error("Error occurred in linking subscription",a.log.EventType("SubscribeWithGoogle","linkSubscriptionMutation"),a.log.String("mutation_error_msg",o))}catch(e){y.Y.error("Error requesting linking subscription",a.log.EventType("SubscribeWithGoogle","linkSubscriptionMutation"),a.log.Error(e))}},z=async(e,t,i,n)=>{let r=await $(e,i);if(!r)return void y.Y.error("Failed to retrieve Google PPID",a.log.EventType("SubscribeWithGoogle","linkSubscription"));let{googlePpid:o,linked:l}=r;if(!o)return void y.Y.error("No Google PPID returned",a.log.EventType("SubscribeWithGoogle","linkSubscription"));if(!l){(0,f.DO)(k.me);try{let i=await T.globalSubscriptions.linkSubscription({publisherProvidedId:o});if(!i)return void y.Y.error("No result returned when linking subscription",a.log.EventType("SubscribeWithGoogle","linkSubscription"));i.success&&(await q(e,t,o,n),(0,f.DO)(k.d9))}catch(e){y.Y.error("Error occurred in google link subscription",a.log.EventType("SubscribeWithGoogle","linkSubscription"),a.log.Error(e))}}}},12641:function(e,t,i){i.d(t,{A$:()=>s,CN:()=>a,k:()=>o,no:()=>l});let n={brisbanetimes:"10180",smh:"10078",theage:"10179",watoday:"10181"},r={deals:{heading:"Sign up for the Traveller Deals newsletter",description:"Get exclusive travel deals delivered straight to your inbox."},editorial:{heading:"Sign up for the Traveller newsletter",description:"The latest travel news, tips and inspiration delivered to your inbox."}},a=e=>r[e]?.heading,o=e=>r[e]?.description,l=(e,t,i)=>{let r="undefined"==typeof window?"":encodeURIComponent(window.location.href),a=`channel_key=${t}&callback_uri=${r}`,o="deals"===i?"10165":n[e];return`https://login.myfairfax.com.au/signup_newsletter/${o}?${a}`},s=e=>e?.name==="Inspiration"||e?.parent?.name==="Inspiration"?"deals":"editorial"},81063:function(e,t,i){i.d(t,{CR:()=>r,Pp:()=>a,oO:()=>o});var n=i(31106);let r=n.Z.DGAM.ID||"133009657",a=n.Z.DGAM.VIDEO_CONTENT_SOURCE_ID||"2667286",o="1"},16830:function(e,t,i){i.d(t,{$E:()=>s,NP:()=>l,Tt:()=>o,ag:()=>d});var n=i(17845),r=i(69414),a=i(81063);let o=e=>{try{window.adkit?.fetch(e)}catch(e){r.Y.error("Exception calling fetch in Adkit",n.log.EventType("app","error"),n.log.Error(e))}},l=()=>{try{window.adkit?.init(window.dataLayerHybrid,{gamId:a.CR})}catch(e){r.Y.error("Exception calling init in Adkit",n.log.EventType("app","error"),n.log.Error(e))}},s=e=>{try{window.adkit?.refresh(e)}catch(e){r.Y.error("Exception calling refresh in Adkit",n.log.EventType("app","error"),n.log.Error(e))}},d=()=>{try{window.adkit?.updateAds(window.dataLayerHybrid)}catch(e){r.Y.error("Exception calling updateAds in Adkit",n.log.EventType("app","error"),n.log.Error(e))}}},56038:function(e,t,i){i.d(t,{$2:()=>er,$e:()=>W,$t:()=>e_,$w:()=>eg,$z:()=>S,B$:()=>ef,BL:()=>q,BZ:()=>ek,CR:()=>U,CY:()=>O,DR:()=>y,Ds:()=>eI,EJ:()=>eM,EZ:()=>P,F7:()=>eo,Fk:()=>E,Fz:()=>ex,G0:()=>g,Gr:()=>ec,Gx:()=>eB,Gz:()=>eT,HF:()=>eA,Hw:()=>h,JW:()=>eN,Jj:()=>eq,Jq:()=>_,Jw:()=>es,Ks:()=>x,LK:()=>eO,Lc:()=>Z,MG:()=>$,Mh:()=>eu,NP:()=>A,OZ:()=>c,Ob:()=>G,Ox:()=>eL,P2:()=>p,PN:()=>I,PP:()=>eP,PW:()=>f,QZ:()=>H,Qq:()=>J,R1:()=>a,RX:()=>u,S4:()=>F,SK:()=>w,SN:()=>eV,Sw:()=>o,To:()=>L,U$:()=>Y,V2:()=>M,VR:()=>el,Vg:()=>eW,W0:()=>eR,Wi:()=>R,XE:()=>K,Z$:()=>e$,ZC:()=>j,Zj:()=>ev,Zq:()=>V,_g:()=>d,bQ:()=>Q,d3:()=>r,d6:()=>eC,d7:()=>ei,d9:()=>ej,eM:()=>m,ev:()=>C,f5:()=>eh,g4:()=>n,jB:()=>eZ,jU:()=>eD,ji:()=>l,jt:()=>s,kl:()=>eS,ld:()=>eF,m4:()=>D,mL:()=>eU,mc:()=>b,me:()=>eG,mo:()=>eE,ng:()=>N,o4:()=>ez,oE:()=>ep,oF:()=>ey,oj:()=>et,pJ:()=>T,q7:()=>en,q9:()=>v,qf:()=>em,sF:()=>z,tm:()=>eb,vM:()=>eH,vk:()=>X,w4:()=>ea,wJ:()=>k,xP:()=>B,xx:()=>ed,zQ:()=>ew,zX:()=>ee});let n="menu item click",r="account menu",a="my account menu",o="for subscribers",l="user_logout",s="my account",d="newsletters",c="recently viewed",u="saved for later",m="site settings",p="apple login start",g="google login start",v="view",h="comment",k="CoralTalk",f="0",b="End of article hit",x="event",y="authentication",S="blocked",E="close",w="copy link",N="generate link",A="impression",C="initiate",F="learn more",I="login",P="subscribe",T="gift article",_="gift modal",L="expiry",R="read cap",D="unknown",B="Gift this article",Z="Gift this article New",O="gift article option",M="gift article option bottom",G="gift blocked",j="gift modal",H="gift share modal",V="google preferred source click",U="google preferred source",$="close",q="open",z="header",W="cta click",Y="log in",Q="subscribe",K="live article",J="cta click",X="show more",ee="outbrain called",et="outbrain",ei="outbrain displayed",en="create account",er="forget password",ea="home",eo="impression",el="login",es="resend email",ed="subscribe link click",ec="registration wall",eu="step 3 - check email",em="step 3 - login fallback",ep="step 3 - login",eg="step 3 - registration",ev="step 3 - verification required",eh="related content widget",ek="internal link",ef="0",eb="impression",ex="retention prompt",ey="remind me later",eS="update now",eE="search",ew="hide",eN="show",eA="site",eC="no results",eF="execute",eI="menu",eP="authentication",eT="cta click",e_="siwg",eL="cta click",eR="event_unstruct_sectionclick",eD="subscriptionComplete",eB="transaction",eZ="meter",eO="subscription",eM="confirmation panel",eG="SWG store prompt",ej="SWG store success",eH="Paywall",eV="SWG subscribe success",eU="text to audio",e$="load",eq="suppressed",ez="video",eW="virtualPageReady"},81924:function(e,t,i){i.d(t,{CN:()=>S,CS:()=>O,DO:()=>_,GK:()=>R,Gi:()=>B,H8:()=>f,I5:()=>w,J9:()=>Z,Kd:()=>q,L9:()=>u,LO:()=>j,N3:()=>W,N9:()=>Y,NN:()=>N,OU:()=>h,QZ:()=>b,Qb:()=>A,S2:()=>k,T7:()=>E,TM:()=>G,U:()=>H,V2:()=>m,WQ:()=>z,Z1:()=>C,cc:()=>P,f9:()=>F,fH:()=>T,fo:()=>U,gc:()=>L,i0:()=>K,ko:()=>y,lQ:()=>p,lg:()=>v,m4:()=>D,oN:()=>Q,oe:()=>$,ow:()=>x,vU:()=>I,wg:()=>V,yM:()=>d});var n=i(31106),r=i(65677),a=i(56038),o=i(80282);let{brand:{longSiteName:l,shortSiteName:s}}=n.Z,d=(e,t,i="",n=0,r="")=>({action:t,category:e,label:i,value:n,property:r}),c=(e,t="",i="",n="",r="",a="")=>({event:e,eventAction:i,eventAttribute:a,eventCategory:t,eventLabel:n,eventValue:r}),u=(e,t=0)=>{t>3||(window?.alib?.trackEvent?window?.alib?.trackEvent(e):setTimeout(()=>u(e,t+1),1e3))},m=(e,t,i=0)=>{i>3||(window?.alibSnowplow?window.alibSnowplow(e,t):setTimeout(()=>m(e,t,i+1),1e3))},p=e=>{(0,r.U)()&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))},g=e=>{(0,r.U)()&&(window.dataLayerGA4=window.dataLayerGA4||[],window.dataLayerGA4.push(e))},v=e=>{p(c(a.Ks,a.d3,a.g4,e))},h=e=>{p(c(a.Ks,a.Hw,a.q9,e,a.PW,a.wJ))},k=e=>{u(d(a.mc,a.mc,e))},f=(e,t,i)=>{let n=e.regularPrice/100;e.discountedPrice&&e.promotionCode&&(n=e.discountedPrice/100),p({...c(a.jU),brand:l,productCoupon:e.promotionCode,productID:e.packageID,productName:e.displayName,productPrice:n,transactionId:t,userID:i})},b=e=>{u(d(a.CR,a.Zq,e))},x=(e,t)=>{p(c(a.Ks,a.sF,e,t))},y=()=>{p(c(a.Ks,a.XE,a.Qq,a.vk,a.PW))},S=(e,t="")=>{p(c(a.Ks,a.oj,e,"",a.PW,t))},E=(e,t,i="")=>{p(c(a.Ks,a.Gr,e,t,void 0,i))},w=e=>{p(c(a.Ks,a.BZ,a.f5,e,a.PW))},N=()=>{p(c(a.Ks,a.Fz,a.tm,"",a.B$))},A=()=>{p(c(a.Ks,a.Fz,a.oF,"",a.B$))},C=()=>{p(c(a.Ks,a.Fz,a.kl,"",a.B$))},F=(e,t,i)=>{p(c(a.Ks,a.mo,e,i,a.PW,t))},I=()=>{p(c(a.Ks,a.PP,a.Gz,a.$t,a.PW))},P=e=>{p(c(a.Ks,a.DR,e,"",a.PW))},T=(e,t,i,n)=>{p({...c(a.W0,e,a.Ox),articlePosition:n,contentUnitName:t,contentUnitPosition:i})},_=e=>{u(d(a.LK,e,a.EJ))},L=(e,t,i)=>{p({...c(a.Gx),ecommerce:{products:[{brand:s,category:"",coupon:"",id:i,name:t,price:"",quantity:1,variant:""}],purchase:{actionField:{affiliation:"",coupon:"",id:e,revenue:"",shipping:0,tax:0}}}})},R=()=>{u(d(a.jB,a.SN,a.vM))},D=(e,t)=>{u(d(a.mL,e,t))},B=(e,t="")=>{u(d(a.o4,e,t))},Z=()=>{p(c(a.Vg)),g(c(a.Vg))},O=(e,t,i)=>{p(c(a.Ks,a.mo,e,t,a.PW,i))},M=(e,t=a.PW,i="",n="",r="")=>{let o={...c(a.Ks,a.pJ,e,n,t,r),eventProperty:i};p(o),g(o)},G=(e=a.PW,t=!1,i=!1)=>{M(a.ev,e,i?a.V2:a.CY,t?a.Lc:a.xP)},j=(e=a.PW)=>{M(a.NP,e,a.ZC)},H=(e=a.PW)=>{M(a.ng,e,a.ZC)},V=(e=a.PW)=>{M(a.S4,e,a.ZC)},U=(e=a.PW)=>{M(a.Fk,e,a.ZC)},$=(e=a.PW)=>{M(a.SK,e,a.QZ)},q=(e=a.PW)=>{M(a.Fk,e,a.QZ)},z=e=>{let t=c(a.Ks,a.pJ,e,"",a.PW,a.Jq);p(t),g(t)},W=e=>void 0===e?a.m4:0===e?a.Wi:a.To,Y=(e,t)=>{let i={...c(a.Ks,a.pJ,a.$z,"",a.PW,e),eventProperty:a.Ob};p(i),g({...i,...t})},Q=e=>({event:o.GIFT_ARTICLE_GIFTED_EVENT,...e}),K=e=>({event:o.GIFTED_ARTICLE_VIEW_EVENT,...e})},27297:function(e,t,i){i.d(t,{DZ:()=>j,Gf:()=>M,Hz:()=>V,I7:()=>D,Ok:()=>G,ZP:()=>J,kG:()=>$,kl:()=>U,ko:()=>H,kr:()=>O,oP:()=>q,x4:()=>B,zA:()=>Z});var n=i(79810),r=i(8607),a=i(13461),o=i(85874),l=i(43349),s=i(4182),d=i(24524),c=i(14760),u=i(26836),m=i(27692),p=i(71437),g=i(62162),v=i(63295),h=i(73769),k=i(16026),f=i(83418),b=i(657),x=i(14019),y=i(6826),S=i(9654),E=i(40029),w=i(28687),N=i(4385),A=i(65933),C=i(54783),F=i(47748),I=i(71704),P=i(39021),T=i(81232),_=i(40648),L=i(50109),R=i(37917);let D="aaa",B="d",Z="EEEE",O="h",M="HH",G="yyyy-MM-dd'T'HH:mm:ssxxx",j="m",H="mm",V="MMM",U="yyyyMMdd-HHmm",$="ss",q="yyyy",z={days:n.j,hours:r.A,minutes:a.X,months:o.d,seconds:l.c,years:s.o},W={day:d.i,hour:c.T,minute:u.t,month:m.V,second:p.E,year:g.w},Y={day:v.K,hour:h.f,minute:k.x,month:f.x,second:b.q,year:x.F},Q={day:y.b,hour:S.o,minute:E.F,month:w.N,second:N.m,year:A.e};class K{datetime;timeZone;constructor(e,t){let i;i=e instanceof K?e.datetime.getTime():e instanceof Date?e.getTime():void 0===e?Date.now():e,this.datetime=new Date(i),t&&this.tz(t)}static getDateTime(e){return e instanceof K?e.datetime:e}add(e,t){return this.datetime=(0,C.I)(this.datetime,{[t]:e}),this}diff(e,t){if(!z[t])throw Error(`Unknown diff type value "${t}"`);return z[t](this.datetime,K.getDateTime(e))}endOf(e){if(!W[e])throw Error(`Unknown end type value "${e}"`);return this.datetime=W[e](this.datetime),this}format(e){return this.timeZone?(0,R.WU)(this.datetime,e,{timeZone:this.timeZone}):(0,F.WU)(this.datetime,e)}fromNow(){return(0,I.Q)(this.datetime,{addSuffix:!0})}fromNowStrict(){return(0,P.D)(this.datetime,{addSuffix:!0})}isAfter(e){return(0,T.A)(this.datetime,K.getDateTime(e))}isBefore(e){return(0,_.R)(this.datetime,K.getDateTime(e))}isSame(e,t){if(!Y[t])throw Error(`Unknown same type value "${t}"`);return Y[t](this.datetime,K.getDateTime(e))}startOf(e){if(!Q[e])throw Error(`Unknown start type value "${e}"`);return this.datetime=Q[e](this.datetime),this}subtract(e,t){return this.datetime=(0,L.l)(this.datetime,{[t]:e}),this}toDate(){return this.datetime}tz(e){let t=(0,R.zW)(this.datetime,e);return t instanceof Date&&!Number.isNaN(t)&&(this.datetime=t,this.timeZone=e),this}}let J=K},80282:function(e,t,i){i.r(t),i.d(t,{END_OF_ARTICLE_HIT_EVENT:()=>n,GIFTED_ARTICLE_VIEW_EVENT:()=>a,GIFT_ARTICLE_GIFTED_EVENT:()=>r,HEADER_INTERACTION_EVENT:()=>o,INTERACTION_LABEL_LOG_IN:()=>s,INTERACTION_LABEL_SEARCH:()=>d,INTERACTION_TYPE_CLICK:()=>l,LOGIN_FAILED_EVENT:()=>u,LOGIN_SUCCESS_EVENT:()=>m,MENU_NAVIGATION_EVENT:()=>c,METER_IMPRESSION:()=>S,PAYWALL_IMPRESSION_REGULAR:()=>x,PAYWALL_IMPRESSION_SUBSCRIBER_ONLY:()=>y,REGISTRATION_WALL_IMPRESSION:()=>E,SAVE_EVENT:()=>p,SHARE_ARTICLE:()=>g,SITE_SEARCH_EVENT:()=>v,SOCIAL_EVENT:()=>h,TTA_LISTENED_EVENT:()=>k,VIDEO_EVENT:()=>f,VIEW_COMMENTS_EVENT:()=>b});let n="end_of_article_hit",r="article_gifted",a="gifted_article_view",o="header_interaction",l="click",s="log in",d="search",c="menu_navigation",u="login_failed",m="login_success",p="save_article",g="share_article",v="site_search_tracking",h="social_media_link_click",k="listened_to_article",f="video_tracking",b="comment_interaction",x="paywall_impression",y="subscriber_exclusive_paywall_impression",S="meter_impression",E="registration_wall_impression"},71447:function(e,t,i){i.d(t,{Z:()=>o});var n=i(2784),r=i(53896),a=i(25223);let o=()=>{let{pathname:e}=(0,r.TH)(),t=(0,n.useRef)(!0);return(0,n.useEffect)(()=>{if(t.current){t.current=!1;return}(0,a.uF)()},[e]),null}},25223:function(e,t,i){i.d(t,{$A:()=>c,bG:()=>d,hY:()=>u,uF:()=>m});var n=i(17845),r=i(5990),a=i.n(r),o=i(31106),l=i(69414);let s=!1,d=async()=>{if("undefined"==typeof window)return Promise.resolve(!1);if(s)return Promise.resolve(!0);let{DEPLOY_ENV:e,MOENGAGE:{PROJECT_ID:t,MOENGAGE_PUB_WORKSPACE_ID:i}}=o.Z;if(!t||!i)return l.Y.error("MoEngage initialization failed: PROJECT_ID or MOENGAGE_PUB_WORKSPACE_ID is missing",n.log.EventType("tracking","moengage")),!1;try{if(a().initialize({app_id:i,cluster:"DC_2",env:r.env.TEST,logLevel:"production"===e?r.logLevel.NONE:r.logLevel.LIMITED,project_id:t}),!await (()=>{if("undefined"==typeof window)return Promise.resolve(!1);let e=Date.now();return new Promise(t=>{let i=()=>a().isMoeLoaded?.()?void t(!0):Date.now()-e>=5e3?void t(!1):void window.setTimeout(i,50);i()})})())return l.Y.error("MoEngage SDK did not load before timeout",n.log.EventType("tracking","moengage")),!1;return s=!0,!0}catch(e){return l.Y.error("MoEngage initialization failed",n.log.EventType("tracking","moengage"),n.log.Error(e)),!1}},c=async e=>{if("undefined"!=typeof window&&e){if(!(s&&a().isMoeLoaded?.()||await d()))return void l.Y.warn("MoEngage not initialized, skipping user identification",n.log.EventType("tracking","moengage"));try{await a().identifyUser(e)}catch(e){l.Y.error("MoEngage identify failed",n.log.EventType("tracking","moengage"),n.log.Error(e))}}},u=async()=>{if("undefined"!=typeof window){if(!(s&&a().isMoeLoaded?.()||await d()))return void l.Y.warn("MoEngage not initialized, skipping user logout",n.log.EventType("tracking","moengage"));try{await a().logoutUser()}catch(e){l.Y.error("MoEngage logout failed",n.log.EventType("tracking","moengage"),n.log.Error(e))}}},m=()=>{if("undefined"!=typeof window&&s&&a().isMoeLoaded?.())try{a().handlePageChange()}catch(e){l.Y.error("MoEngage page change tracking failed",n.log.EventType("tracking","moengage"),n.log.Error(e))}}},28191:function(e,t,i){i.d(t,{D9:()=>s,Lj:()=>l,Md:()=>o,Yb:()=>a,mB:()=>r});var n=i(80743);let r=new n.CookieStorage,a=new n.LocalStorage,o=new n.CookieStorage(n.STORAGE_PREFIX.blank),l=new n.LocalStorage(n.STORAGE_PREFIX.blank),s=(e,t)=>{if("undefined"!=typeof window)try{if(!window.sessionStorage||!t)return;window.sessionStorage.setItem(e,JSON.stringify(t))}catch{}}},9259:function(e,t,i){i.d(t,{V:()=>r,W:()=>n});class n extends Error{code;constructor(e,t=""){super(e),this.code=t}}let r=(e,t,i)=>{let r;return new Promise((a,o)=>{r=setTimeout(()=>{r=null,o(new n(`${i.join(" ")} timed out`,"Request timed out"))},t),e.then(a,o)}).finally(()=>{r&&clearTimeout(r)})}},13457:function(e,t,i){i.d(t,{v:()=>n});let n=(e,t,i,n,r)=>{let a=document.createElement("script");a.src=e,((e,t=!1,i=!1,n,r)=>{e.async=t,e.defer=i,(n||document.body).appendChild(e),r&&e.addEventListener("load",()=>{r()})})(a,t,i,n,r)}},76597:function(e,t,i){i.d(t,{b:()=>l,Z:()=>s});var n=i(52322);let r=i(78943).ZP.a.withConfig({componentId:"sc-cba76dee-0"})(["text-decoration:none;"]),a=/^(https?:)?\/\//,o=/(brisbanetimes|smh|theage|watoday)\.com\.au\//,l=e=>a.test(e),s=({children:e,className:t,url:i,...a})=>o.test(i)||i.includes("mailto:")?(0,n.jsx)(r,{className:t,href:i,...a,children:e}):l(i)?(0,n.jsx)(r,{className:t,href:i,rel:"noopener noreferrer",target:"_blank",...a,children:e}):(0,n.jsx)(r,{className:t,href:i,...a,children:e})},79644:function(e,t,i){i.d(t,{Z:()=>d});var n=i(10170),r=i(94063),a=i(43743),o=i(47929),l=i(21065),s=i(81840);let d={...n,...r,...a,...o,...l,...s}},58704:function(e,t,i){let n,r,a;i.d(t,{Z:()=>T});var o=i(51945),l=i(48793),s=i(84345),d=i(53866),c=i(34921),u=i(45567),m=i(82054),p=i(17845);i(66783);var g=i(31106),v=i(69414),h=i(50012),k=i(96279),f=i.n(k),b=i(77898),x=i(35024),y=i(77984);AbortSignal.timeout??=function(e){let t=new AbortController;return setTimeout(()=>t.abort(Error("Aborted due to timeout")),e),t.signal};let S={Asset:{fields:{galleryImagesConnection:(0,x.ZB)(),latestPostsAtPostConnection:{keyArgs:["input","postPublicId","usePostsAtPostConnection"]},latestPostsConnection:{keyArgs:["input","postPublicId","usePostsAtPostConnection"]}}},AssetAds:{merge:(e,t,{mergeObjects:i})=>i(e,t)},AssetTags:{merge:(e,t,{mergeObjects:i})=>i(e,t)},Author:{fields:{latestStoriesConnection:(0,x.ZB)()}},Commenting:{fields:{latestCommentsConnection:{keyArgs:!1}}},ImageData:{keyFields:["id","aspect"]},Page:{fields:{latestStoriesConnection:(0,x.ZB)()}},Query:{fields:{memberSavedAssets:{keyArgs:!1,merge:(e,t)=>e?{...t,assets:[...e?.assets??[],...t?.assets??[]]}:t},search:(0,x.ZB)()}},SearchResponse:{fields:{storiesConnection:(0,x.ZB)()}},Tag:{fields:{latestStoriesConnection:(0,x.ZB)()}}},E=function(e,t){let i={...e},n=t?Object.keys(t):[];for(let e=0;e(t.headers={...t.headers,...(e=>{if(!e)return{};let t={};return(0,h.globalTracer)().inject(e,h.FORMAT_HTTP_HEADERS,t),t})(r)},n(e,t))),useGETForQueries:!0},I=new o.u({...F,print:(e,t)=>(0,b.A)(t(e)),uri:A}),P=new o.u({...F,print:(e,t)=>(0,b.A)(t(e)),uri:w}),T="undefined"!=typeof window&&new l.f({cache:new s.h({dataIdFromObject:e=>C.ENABLED&&E.Asset.includes(e.__typename)?`Asset:${e.id}`:(0,d.uG)(e),possibleTypes:E,typePolicies:S}).restore(window.APOLLO_STATE),link:c.i.from([new m.s(({error:e,operation:t})=>{let i=t.operationName,n=JSON.stringify(t.variables);if(u.L.is(e))for(let t of e.errors)v.Y.error("GraphQL request failed",p.log.EventType("front","error"),p.log.Error(t),p.log.String("query",`${i}`),p.log.String("variables",`${n}`));else v.Y.error("Network request failed",p.log.EventType("front","error"),p.log.Error(e),p.log.String("query",`${i}`),p.log.String("variables",`${n}`))}),new c.i((e,t)=>(e.setContext(e=>({...e,fetchOptions:{signal:AbortSignal.timeout(N)}})),t(e))),new c.i((e,t)=>"undefined"==typeof window&&a?t(e).pipe((0,y.U)(t=>{let{response:{headers:i}}=e.getContext();if(i?.has("surrogate-key")||i?.has("xkey")){let e=i?.has("surrogate-key")?i?.get("surrogate-key"):i?.get("xkey"),t=e?.split(" ").filter(Boolean)||[];if(t.length>0){let e=a.locals.cacheInvalidationKeys.size>0?a.locals.cacheInvalidationKeys.size:0,i=new Set(t);a.locals.cacheInvalidationKeys.set(e,i)}}return t})):t(e)),c.i.split(e=>"api-front"===e.getContext().clientName,P,I)])})},31106:function(e,t,i){i.d(t,{Z:()=>r});let n="undefined"!=typeof window?window.ENVIRONMENT_VARIABLES:{};"undefined"!=typeof window&&(window.ENVIRONMENT_VARIABLES=void 0);let r=n},2596:function(e,t,i){i.r(t),i.d(t,{PERM_FEATURE_FLAG_ADFIXUS_ENABLED:()=>n,PERM_FEATURE_FLAG_ADS_AUTO_REFRESH:()=>r,PERM_FEATURE_FLAG_ADS_ENABLE_ADBLOCK:()=>a,PERM_FEATURE_FLAG_ADS_ENABLE_LAZYLOAD:()=>o,PERM_FEATURE_FLAG_ADS_ENABLE_MAGNITE:()=>l,PERM_FEATURE_FLAG_ADS_ENABLE_MANTIS:()=>s,PERM_FEATURE_FLAG_ADS_ENABLE_PUBMATIC:()=>d,PERM_FEATURE_FLAG_ADS_ENABLE_SNOWPLOW:()=>c,PERM_FEATURE_FLAG_ALIB_ENABLE_CHARTBEAT:()=>u,PERM_FEATURE_FLAG_ALIB_ENABLE_GA:()=>m,PERM_FEATURE_FLAG_ALIB_ENABLE_SNOWPLOW:()=>p,PERM_FEATURE_FLAG_ARTICLE_DISABLE_FACEBOOK:()=>g,PERM_FEATURE_FLAG_ARTICLE_DISABLE_INFOGRAM:()=>v,PERM_FEATURE_FLAG_ARTICLE_DISABLE_INSTAGRAM:()=>h,PERM_FEATURE_FLAG_ARTICLE_DISABLE_OMNY:()=>k,PERM_FEATURE_FLAG_ARTICLE_DISABLE_RIDDLE:()=>f,PERM_FEATURE_FLAG_ARTICLE_DISABLE_SCRIBD:()=>b,PERM_FEATURE_FLAG_ARTICLE_DISABLE_SPOTIFY:()=>x,PERM_FEATURE_FLAG_ARTICLE_DISABLE_TIKTOK:()=>y,PERM_FEATURE_FLAG_ARTICLE_DISABLE_TWITTER:()=>S,PERM_FEATURE_FLAG_ARTICLE_DISABLE_YOUTUBE:()=>E,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_AFL_WIDGET:()=>w,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_CRICKET_WIDGET:()=>N,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_NRL_WIDGET:()=>A,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_RUGBY_UNION_WIDGET:()=>C,PERM_FEATURE_FLAG_ARTICLE_TOP_MESSAGE_9NOW_CTA:()=>F,PERM_FEATURE_FLAG_ARTICLE_TRUNCATION_ENABLED:()=>I,PERM_FEATURE_FLAG_AUSTRALIAN_OPEN_LIVE_SCORES_CTA:()=>P,PERM_FEATURE_FLAG_BEYONDWORDS_DISABLED:()=>T,PERM_FEATURE_FLAG_BEYONDWORDS_VAST_URL_ENABLED:()=>_,PERM_FEATURE_FLAG_COLLECTIONS_DRIVER_ARTICLE:()=>L,PERM_FEATURE_FLAG_COMMENTS_DISABLED:()=>R,PERM_FEATURE_FLAG_DOMAIN_MAGAZINE_UNAVAILABLE:()=>D,PERM_FEATURE_FLAG_DOMAIN_MEMBERSHIP_WIDGET:()=>B,PERM_FEATURE_FLAG_DOMAIN_RECOMMENDED_LISTINGS:()=>Z,PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_STAN_SPORT_DRIVER:()=>O,PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_WIDGETS:()=>M,PERM_FEATURE_FLAG_EXTREME_WEATHER_LIVE_MESSAGE:()=>G,PERM_FEATURE_FLAG_GA4_PAGEVIEW_ENABLED:()=>j,PERM_FEATURE_FLAG_GOODFOOD_GUIDE_UNAVAILABLE:()=>H,PERM_FEATURE_FLAG_GOODFOOD_IOS_BANNER_ENABLED:()=>V,PERM_FEATURE_FLAG_GOODFOOD_SMART_BANNER_ENABLED:()=>U,PERM_FEATURE_FLAG_LOGIN_APPLE_OPTION:()=>$,PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION:()=>q,PERM_FEATURE_FLAG_MEMBER_SERVICES_FORCE_DISABLED:()=>z,PERM_FEATURE_FLAG_MOENGAGE_ENABLED:()=>W,PERM_FEATURE_FLAG_OTHER_APPS_REDIRECT_ENABLED:()=>Y,PERM_FEATURE_FLAG_OUTBRAIN:()=>Q,PERM_FEATURE_FLAG_OUTBRAIN_TRACKING:()=>K,PERM_FEATURE_FLAG_PAGE_BUILDER_BETA_TESTING:()=>J,PERM_FEATURE_FLAG_PAGE_BUILDER_DISABLE_INK_ACCESS:()=>X,PERM_FEATURE_FLAG_PAGE_BUILDER_ENABLE_OKTA_BYPASS:()=>ee,PERM_FEATURE_FLAG_PIANO_ENABLED:()=>et,PERM_FEATURE_FLAG_PIANO_HARD_REG_WALL_UNAVAILABLE:()=>ei,PERM_FEATURE_FLAG_PIANO_PAYWALL_UNAVAILABLE:()=>en,PERM_FEATURE_FLAG_SAVE_FOR_LATER_ENABLED:()=>er,PERM_FEATURE_FLAG_SNOWPLOW_MEDIA_TRACKING:()=>ea,PERM_FEATURE_FLAG_STATSIG_ENABLED:()=>eo,PERM_FEATURE_FLAG_STORIFYME_HOME_CAROUSEL_ENABLED:()=>el,PERM_FEATURE_FLAG_SWG_ENTITLEMENT:()=>es,PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED:()=>ed,PERM_FEATURE_FLAG_TENNIS_LIVE_SCORECARD_STANDARD_ARTICLES:()=>ec,PERM_FEATURE_FLAG_TENNIS_STAN_SPORT_DRIVER:()=>eu,PERM_FEATURE_FLAG_TODAYS_PAPER_UNAVAILABLE:()=>em,TEMP_FEATURE_FLAG_ADS_ENABLE_BLOCKTHROUGH:()=>eg,TEMP_FEATURE_FLAG_AD_STICKY_HIDE_NARROW:()=>ep,TEMP_FEATURE_FLAG_ARTICLE_GIFTING:()=>ev,TEMP_FEATURE_FLAG_ARTICLE_GIFTING_ONBOARDING_TOOLTIP:()=>eh,TEMP_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE:()=>ek,TEMP_FEATURE_FLAG_FONT_RESIZER_ENABLED:()=>ef,TEMP_FEATURE_FLAG_GF_APP_CONTENT_TRUNCATION:()=>eb,TEMP_FEATURE_FLAG_GF_COLLECTION_PROMO_ENABLED:()=>ex,TEMP_FEATURE_FLAG_GOOGLE_PREFERRED_SOURCE_BUTTON_ENABLED:()=>ey,TEMP_FEATURE_FLAG_LIVE_COVERAGE_HERO_PINNED_POST_ENABLED:()=>eS,TEMP_FEATURE_FLAG_PAGE_BUILDER_NEXTGEN:()=>e_,TEMP_FEATURE_FLAG_PIANO_AUTH_SYNC_LOGOUT_ENABLED:()=>eE,TEMP_FEATURE_FLAG_PIANO_COMMENTS_REG_ENABLED:()=>ew,TEMP_FEATURE_FLAG_PIANO_NEW_GTM_EVENT_ENABLED:()=>eN,TEMP_FEATURE_FLAG_PREMIUM_QUIZZES_ENABLED:()=>eA,TEMP_FEATURE_FLAG_RRME_ENABLED:()=>eC,TEMP_FEATURE_FLAG_RRME_UPGRADE_ENABLED:()=>eF,TEMP_FEATURE_FLAG_SSR_SINGLE_PASS:()=>eI,TEMP_FEATURE_FLAG_VERTEX_SEARCH_BANNER_ENABLED:()=>eT,TEMP_FEATURE_FLAG_VERTEX_SEARCH_ENABLED:()=>eP});let n="perm.render-web.adfixus.enabled",r="perm.render-web-metro.ads.auto-refresh",a="perm.render-web.ads.enable-adblock",o="perm.render-web.ads.enable-lazyload",l="perm.render-web.ads.enable-magnite",s="perm.render-web.ads.enable-mantis",d="perm.render-web.ads.enable-pubmatic",c="perm.render-web.ads.enable-snowplow",u="perm.render-web-metro.alib.enable-chartbeat",m="perm.render-web-metro.alib.enable-ga",p="perm.render-web-metro.alib.enable-snowplow",g="perm.render-web-metro.article.disable-facebook",v="perm.render-web-metro.article.disable-infogram",h="perm.render-web-metro.article.disable-instagram",k="perm.render-web-metro.article.disable-omny",f="perm.render-web-metro.article.disable-riddle",b="perm.render-web-metro.article.disable-scribd",x="perm.render-web-metro.article.disable-spotify",y="perm.render-web-metro.article.disable-tiktok",S="perm.render-web-metro.article.disable-twitter",E="perm.render-web-metro.article.disable-youtube",w="perm.render-web.article.scoreboard-afl",N="perm.render-web.article.scoreboard-cricket",A="perm.render-web.article.scoreboard-nrl",C="perm.render-web.article.scoreboard-rugby-union",F="perm.render-web.article.top-message.9now-cta",I="perm.render-web-metro.article.truncation.enabled",P="perm.render-web.australian-open.live-scores-cta",T="perm.render-web.beyondwords-disabled",_="perm.render-web-metro.beyondwords-audio-player-vast-url.enabled",L="perm.render-web.collections-driver.article",R="perm.render-web-metro.comments-disabled",D="perm.render-web.domain-magazine.unavailable",B="perm.render-web.domain-membership-widget",Z="perm.render-web.domain.recommended-listings",O="perm.render-web.english-premier-league-stan-sport-driver",M="perm.render-web.english-premier-league.widgets",G="perm.render-web.extreme-weather-live-message",j="perm.render-web.ga4.pageview-enabled",H="perm.render-web.goodfood-guide.unavailable",V="perm.render-web-metro.goodfood-ios-banner.enabled",U="perm.render-web-metro.goodfood-smart-banner.enabled",$="perm.render-web-metro.login.apple-option",q="perm.render-web-metro.login.google-option",z="perm.render-web-metro.member-services.force-disabled",W="perm.render-web-metro.moengage.enabled",Y="perm.render-web-metro.other-apps-redirect.enabled",Q="perm.render-web-metro.outbrain",K="perm.render-web-metro.outbrain-tracking",J="perm.editorial-application.render-pagebuilder.beta-testing",X="perm.editorial-application.global.disable-ink-access",ee="perm.editorial-application.global.api-auth-login-bypass",et="perm.render-web-metro.piano.enabled",ei="perm.render-web-metro.piano.hard-reg-wall.unavailable",en="perm.render-web-metro.piano-paywall.unavailable",er="perm.render-web-metro.save-for-later.enabled",ea="perm.render-web-metro.snowplow.media-tracking",eo="perm.render-web.statsig.enabled",el="perm.render-web.storifyme-homepage-carousel.enabled",es="perm.render-web-metro.swg-entitlement",ed="perm.render-web-metro.swg-purchase.enabled",ec="perm.render-web.tennis-live-scorecard-standard-articles",eu="perm.render-web.tennis-stan-sport-driver",em="perm.render-web.todays-paper.unavailable",ep="temp.render-web-metro.ad-sticky.hide-narrow.enabled",eg="temp.render-web.ads.enable-blockthrough",ev="temp.render-web-metro.gifting.enabled",eh="temp.render-web-metro.gifting.onboarding-tooltip.enabled",ek="temp.render-web.english-premier-league",ef="temp.render-web-metro.font-resizer.enabled",eb="temp.render-web-metro.goodfood-app-content-truncation",ex="temp.render-web-metro.goodfood.collection-promo.enabled",ey="temp.render-web-metro.google-preferred-source-button.enabled",eS="temp.render-web-metro.live-coverage-hero-pinned-post.enabled",eE="temp.render-web-metro.piano.auth-sync-logout.enabled",ew="temp.render-web-metro.piano.comments-registration.enabled",eN="temp.render-web-metro.piano-new-gtm-event.enabled",eA="temp.render-web-metro.premium-quizzes.enabled",eC="temp.render-web-metro.rrme.enabled",eF="temp.render-web-metro.rrme-upgrade.enabled",eI="temp.render-web-metro.ssr.single-pass",eP="temp.render-web.vertex-search.enabled",eT="temp.render-web.vertex-search-banner.enabled",e_="temp.editorial-application.render-pagebuilder.nextgen"},28067:function(e,t,i){i.d(t,{H2:()=>S,Jw:()=>P,Nx:()=>B,Oz:()=>_,c4:()=>E,dm:()=>I,h0:()=>N,h3:()=>x,hl:()=>y,hp:()=>C,i3:()=>w,ku:()=>A,mG:()=>T,mN:()=>F,nw:()=>L,yA:()=>R,yh:()=>D});var n,r,a,o,l,s,d,c,u,m,p,g,v,h,k,f,b,x=((n={}).Article="ARTICLE",n.Bespoke="BESPOKE",n.Collection="COLLECTION",n.FeatureArticle="FEATURE_ARTICLE",n.Gallery="GALLERY",n.LiveArticle="LIVE_ARTICLE",n.Recipe="RECIPE",n.Url="URL",n.Video="VIDEO",n),y=((r={}).Allhomes="ALLHOMES",r.Domain="DOMAIN",r.Stan="STAN",r),S=((a={}).Afr="AFR",a.AfrLockup="AFR_LOCKUP",a.BrisbaneTimes="BRISBANE_TIMES",a.BrisbaneTimesLockup="BRISBANE_TIMES_LOCKUP",a.CanberraTimes="CANBERRA_TIMES",a.Goodfood="GOODFOOD",a.Nine="NINE",a.Smh="SMH",a.SmhLockup="SMH_LOCKUP",a.TheAge="THE_AGE",a.TheAgeLockup="THE_AGE_LOCKUP",a.WaToday="WA_TODAY",a.WaTodayLockup="WA_TODAY_LOCKUP",a),E=((o={}).AlreadyExists="ALREADY_EXISTS",o.Forbidden="FORBIDDEN",o.InvalidAuth="INVALID_AUTH",o.InvalidRequest="INVALID_REQUEST",o.NotFound="NOT_FOUND",o.Unavailable="UNAVAILABLE",o.Unimplemented="UNIMPLEMENTED",o),w=((l={}).KeyEvent="KEY_EVENT",l.PinnedToTop="PINNED_TO_TOP",l),N=((s={}).EmailConflict="EMAIL_CONFLICT",s.Linked="LINKED",s.NotLinked="NOT_LINKED",s),A=((d={}).Article="ARTICLE",d.Collection="COLLECTION",d.FeatureArticle="FEATURE_ARTICLE",d.LiveArticle="LIVE_ARTICLE",d.Recipe="RECIPE",d),C=((c={}).Afr="AFR",c.Afrlockup="AFRLOCKUP",c.Metro="METRO",c.Metrolockup="METROLOCKUP",c.Nine="NINE",c),F=((u={}).Payment="PAYMENT",u.Promotion="PROMOTION",u),I=((m={}).App="APP",m.Web="WEB",m),P=((p={}).Facebook="FACEBOOK",p.Google="GOOGLE",p.Ip="IP",p),T=((g={}).StatusInProgress="STATUS_IN_PROGRESS",g.StatusSuccess="STATUS_SUCCESS",g),_=((v={}).Deferred="DEFERRED",v.New="NEW",v.Upgrade="UPGRADE",v),L=((h={}).Article="ARTICLE",h.Bespoke="BESPOKE",h.FeatureArticle="FEATURE_ARTICLE",h.Gallery="GALLERY",h.LiveArticle="LIVE_ARTICLE",h.Video="VIDEO",h),R=((k={}).Failure="FAILURE",k.Processing="PROCESSING",k.Success="SUCCESS",k),D=((f={}).Active="ACTIVE",f.Pending="PENDING",f),B=((b={}).Comments="COMMENTS",b.CommentsLegacy="COMMENTS_LEGACY",b)},84641:function(e,t,i){i.d(t,{C7:()=>x,D8:()=>E,EL:()=>h,FY:()=>S,MD:()=>b,XG:()=>f,c4:()=>y,h3:()=>k,k8:()=>w,qI:()=>N,r0:()=>A,tF:()=>v});var n,r,a,o,l,s,d,c,u,m,p,g,v=((n={}).Author="AUTHOR",n.Name="NAME",n),h=((r={}).Deleted="DELETED",r.Published="PUBLISHED",r.Retracted="RETRACTED",r.Scheduled="SCHEDULED",r.Unpublished="UNPUBLISHED",r),k=((a={}).Article="ARTICLE",a.Bespoke="BESPOKE",a.Collection="COLLECTION",a.FeatureArticle="FEATURE_ARTICLE",a.Gallery="GALLERY",a.LiveArticle="LIVE_ARTICLE",a.Newsletter="NEWSLETTER",a.Recipe="RECIPE",a.Url="URL",a.Video="VIDEO",a),f=((o={}).Active="ACTIVE",o.Inactive="INACTIVE",o),b=((l={}).Custom="CUSTOM",l.Iframe="IFRAME",l.Recirculation="RECIRCULATION",l.Resolved="RESOLVED",l.ThirdParty="THIRD_PARTY",l),x=((s={}).Deleted="DELETED",s.Draft="DRAFT",s.Hidden="HIDDEN",s.Ready="READY",s),y=((d={}).Forbidden="FORBIDDEN",d.InvalidAuth="INVALID_AUTH",d.InvalidRequest="INVALID_REQUEST",d.NotFound="NOT_FOUND",d.PartialFound="PARTIAL_FOUND",d.Unavailable="UNAVAILABLE",d),S=((c={}).Landscape_3_2="LANDSCAPE_3_2",c.Landscape_16_9="LANDSCAPE_16_9",c.Portrait_2_3="PORTRAIT_2_3",c.Square_1_1="SQUARE_1_1",c.Uncropped="UNCROPPED",c),E=((u={}).Author="AUTHOR",u.Name="NAME",u),w=((m={}).Default="DEFAULT",m.Semantic="SEMANTIC",m),N=((p={}).ClosestDistance="CLOSEST_DISTANCE",p.Headline="HEADLINE",p.LeastExpensive="LEAST_EXPENSIVE",p.LeastRated="LEAST_RATED",p.LeastRecent="LEAST_RECENT",p.MediumHeadline="MEDIUM_HEADLINE",p.MostExpensive="MOST_EXPENSIVE",p.MostRated="MOST_RATED",p.MostRecent="MOST_RECENT",p.Relevance="RELEVANCE",p.ReverseHeadline="REVERSE_HEADLINE",p.ReverseMediumHeadline="REVERSE_MEDIUM_HEADLINE",p),A=((g={}).ClosedPermanently="CLOSED_PERMANENTLY",g.ClosedTemporarily="CLOSED_TEMPORARILY",g.Operational="OPERATIONAL",g)},69414:function(e,t,i){i.d(t,{Y:()=>c});var n=i(11882),r=i(17845);let{APP_NAME:a,APP_VERSION:o,DEPLOY_ENV:l,LOGGING:{MINIMUM_LOG_LEVEL:s,URL:d}}=i(31106).Z,c=(0,n.createLogger)({env:l,host:window.location.host,minLogLevel:(0,r.logLevelFromName)(s),postUrl:d,source:a,userAgent:window.navigator.userAgent,version:o})},79388:function(e,t,i){i.d(t,{a:()=>n}),i(17845);let n=e=>({message:`${e.status} ${e.statusText}`})},29835:function(e,t,i){i.d(t,{J:()=>r,R:()=>n});let n="/account-verification",r="h214j0"},90918:function(e,t,i){i.d(t,{Z:()=>G});var n=i(52322),r=i(19565),a=i(53896),o=i(92798),l=i(50690),s=i(85793),d=i(72649),c=i(5995),u=i(73106),m=i(41251),p=i(67005);let g=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Metro-Home-Home",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("678").then(i.bind(i,42084)),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 i(this.resolve(e))},resolve:()=>42084}),v=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Metro-Tag-Tag",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("6116")]).then(i.bind(i,540)),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 i(this.resolve(e))},resolve:()=>540}),h=(0,r.ZP)({resolved:{},chunkName:()=>"components-BullsNBearsPrelead-BullsNBearsPrelead",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("6294").then(i.bind(i,65174)),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 i(this.resolve(e))},resolve:()=>65174}),k=(0,r.ZP)({resolved:{},chunkName:()=>"components-DalarinjiProjectPrelead-DalarinjiProjectPrelead",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("6862").then(i.bind(i,62124)),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 i(this.resolve(e))},resolve:()=>62124}),f=(0,r.ZP)({resolved:{},chunkName:()=>"components-EPLPostlead-EPLPostlead",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("2186").then(i.bind(i,82817)),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 i(this.resolve(e))},resolve:()=>82817}),b=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Metro-Author-Author",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2431"),i.e("9100")]).then(i.bind(i,81085)),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 i(this.resolve(e))},resolve:()=>81085}),x=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-SubBrandAuthor-SubBrandAuthor",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2431"),i.e("9842")]).then(i.bind(i,70311)),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 i(this.resolve(e))},resolve:()=>70311}),y=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Shared-Assets-AssetOrCategory",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2436"),i.e("5545"),i.e("2556")]).then(i.bind(i,19808)),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 i(this.resolve(e))},resolve:()=>19808}),S=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-AppDownload-AppDownload",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("4416").then(i.bind(i,18099)),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 i(this.resolve(e))},resolve:()=>18099}),E=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Home-Home",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("369"),i.e("3779"),i.e("5786")]).then(i.bind(i,34172)),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 i(this.resolve(e))},resolve:()=>34172}),w=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-LatestRecipes-LatestRecipes",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2436"),i.e("9289")]).then(i.bind(i,34686)),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 i(this.resolve(e))},resolve:()=>34686}),N=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-RecipeCollections-RecipeCollections",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2436"),i.e("8913")]).then(i.bind(i,20599)),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 i(this.resolve(e))},resolve:()=>20599}),A=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Recipes-Recipes",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("369"),i.e("3779"),i.e("2421")]).then(i.bind(i,20418)),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 i(this.resolve(e))},resolve:()=>20418}),C=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Saved-Saved",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("3468")]).then(i.bind(i,72033)),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 i(this.resolve(e))},resolve:()=>72033}),F=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Search-Search",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2436"),i.e("7506")]).then(i.bind(i,87215)),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 i(this.resolve(e))},resolve:()=>87215}),I=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-SEOTag-SEOTag",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2625"),i.e("5816")]).then(i.bind(i,40393)),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 i(this.resolve(e))},resolve:()=>40393}),P=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Tag-Tag",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2625")]).then(i.bind(i,71503)),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 i(this.resolve(e))},resolve:()=>71503}),T=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-TagLocalised-TagLocalised",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2436"),i.e("3921")]).then(i.bind(i,36806)),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 i(this.resolve(e))},resolve:()=>36806}),_=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-TipsAndAdvice-TipsAndAdvice",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("369"),i.e("3981")]).then(i.bind(i,38098)),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 i(this.resolve(e))},resolve:()=>38098}),L=(0,r.ZP)({resolved:{},chunkName:()=>"components-RootBoundary-RootBoundary",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("5476").then(i.bind(i,73812)),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 i(this.resolve(e))},resolve:()=>73812}),R=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-App-GoodFood",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("7778"),i.e("2484")]).then(i.bind(i,83817)),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 i(this.resolve(e))},resolve:()=>83817}),D=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-Drinks-Drinks",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("369"),i.e("6090")]).then(i.bind(i,41643)),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 i(this.resolve(e))},resolve:()=>41643}),B=(0,r.ZP)({resolved:{},chunkName:()=>"templates-GoodFood-EatingOut-EatingOut",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("369"),i.e("2665")]).then(i.bind(i,53507)),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 i(this.resolve(e))},resolve:()=>53507}),Z=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Traveller-App-Traveller",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("7778"),i.e("4819")]).then(i.bind(i,16960)),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 i(this.resolve(e))},resolve:()=>16960}),O=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Traveller-Home-Home",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("4253").then(i.bind(i,28576)),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 i(this.resolve(e))},resolve:()=>28576}),M=(0,r.ZP)({resolved:{},chunkName:()=>"templates-Traveller-Tag-Tag",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("8971"),i.e("7981"),i.e("9041"),i.e("1200"),i.e("2436"),i.e("2709")]).then(i.bind(i,87110)),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 i(this.resolve(e))},resolve:()=>87110}),G=(e,t,i)=>(0,a.i7)((0,n.jsxs)(a.AW,{element:(0,n.jsx)(o.Z,{}),errorElement:(0,n.jsx)(L,{}),path:"/",children:[(0,n.jsx)(a.AW,{element:(0,n.jsx)(g,{}),index:!0}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(b,{}),loader:(0,m.Z)(e),path:d.o8}),(0,n.jsxs)(a.AW,{element:(0,n.jsx)(R,{}),path:"goodfood",children:[(0,n.jsx)(a.AW,{element:(0,n.jsx)(E,{}),index:!0}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(S,{}),path:"app-download"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(D,{}),path:"drinks"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(B,{}),path:"eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(B,{}),path:"brisbane-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(B,{}),path:"melbourne-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(B,{}),path:"perth-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(B,{}),path:"sydney-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(A,{}),path:"recipes"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(N,{}),path:"recipes/collections"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(w,{}),path:"recipes/latest"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(C,{}),path:"saved"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(F,{}),path:"search"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(_,{}),path:"tips-and-advice"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(T,{tagId:s.Z.bestOf.id}),path:s.Z.bestOf.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(T,{tagId:s.Z.justOpen.id}),path:s.Z.justOpen.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(T,{tagId:s.Z.restaurantNews.id}),path:s.Z.restaurantNews.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(T,{tagId:s.Z.reviews.id}),path:s.Z.reviews.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(T,{tagId:s.Z.suburbGuides.id}),path:s.Z.suburbGuides.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(I,{tagId:l.Z.howTo}),path:"how-to"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(x,{}),loader:(0,m.Z)(e),path:d.o8}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(P,{}),loader:(0,p.Z)(e),path:d.Jd}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(y,{}),loader:(0,u.Z)(e,t,{singlePass:i}),path:"*"})]}),(0,n.jsxs)(a.AW,{element:(0,n.jsx)(Z,{}),path:"traveller",children:[(0,n.jsx)(a.AW,{element:(0,n.jsx)(x,{}),loader:(0,m.Z)(e),path:d.o8}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(O,{}),index:!0}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(M,{}),loader:(0,p.Z)(e),path:d.Jd}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(y,{}),loader:(0,u.Z)(e,t,{singlePass:i}),path:"*"})]}),(0,n.jsxs)(a.AW,{element:(0,n.jsx)("main",{id:"content",children:(0,n.jsx)(a.j3,{})}),path:"*",children:[(0,n.jsx)(a.AW,{element:(0,n.jsx)(v,{tagId:c.ZP.cbd.id}),path:c.ZP.cbd.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(v,{tagId:c.ZP.videoGames.id}),path:c.ZP.videoGames.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(v,{preleadComponent:(0,n.jsx)(h,{}),tagId:c.ZP.bullsNBears.id}),path:c.ZP.bullsNBears.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(v,{hideAdPos1:!0,preleadComponent:(0,n.jsx)(k,{}),tagId:"1ne1"}),path:"topic/dalarinji-project-1ne1"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(v,{postleadComponent:(0,n.jsx)(f,{}),tagId:"5wr"}),path:"topic/english-premier-league-5wr"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(v,{}),loader:(0,p.Z)(e),path:d.Jd}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(y,{}),loader:(0,u.Z)(e,t,{singlePass:i}),path:"*"})]})]}))},73106:function(e,t,i){i.d(t,{Z:()=>E});var n=i(17845),r=i(41982),a=i(46459),o=i(31106),l=i(84641),s=i(69414),d=i(53896),c=i(29835),u=i(28063),m=i(79916),p=i(52392),g=i(95145),v=i(32228),h=i(33021),k=i(85308),f=i(72649);let b=async(e,t,i)=>{try{await e.query(t)}catch(e){s.Y.error("Single-pass prefetch failed",n.log.EventType("asset","prefetch"),n.log.Error(e),n.log.String("description",i))}},x=(e,t)=>{if(!t||"ASSET"!==t.type)return null;let i=e.relatedEntitiesConnection?.edges?.find(({node:e})=>e?.asset?.publicId===t.asset.id)?.node?.asset;return i?.type===l.h3.Gallery?i:null},y=(e,t)=>t.some(t=>"COVER"===t.type?y(e,t.content):null!==x(e,t)),S=async(e,t,i)=>{let n=[],r=t.relatedEntitiesParents?.assets?.[0],a=t.type===l.h3.Collection&&t.subBrand?.id!==f.F3&&!r;if(((0,m._P)(i)||(0,m.jn)(i))&&!a){let i=(e=>{let t=e.body?.blocks||[],i=x(e,t[0]);return i?{numberOfImages:i.extensions?.numberOfImages,publicId:i.publicId}:null})(t);if(i){let t=i.numberOfImages,r="number"==typeof t&&t>h.r?h.r:t;n.push(b(e,{query:k.w,variables:{after:"",first:r,input:{publicId:i.publicId}}},`gallery ${i.publicId}`))}}r&&!a&&(r.type===l.h3.Collection&&"recipe"===r.subType?n.push(b(e,{query:p.Ll,variables:{input:{publicId:t.publicId},parentLimit:p.t$}},`parents ${t.publicId}`)):r.subBrand?.id!==f.Hn?n.push(b(e,{query:v.d,variables:{input:{publicId:t.publicId},parentPublicId:r.publicId}},`narrative siblings ${t.publicId}`)):0===(t.relatedEntitiesSiblings?.nextRelatedEntities?.length||0)&&n.push(b(e,{query:g.d,variables:{input:{publicId:t.publicId},parentPublicId:r.publicId}},`list siblings ${t.publicId}`))),await Promise.all(n)},E=(e,t,i)=>async({request:p})=>{let{PAGEBUILDER:{ENABLED:g},brand:{shortSiteName:v}}=o.Z,h=new URL(p.url),k=(0,u.TN)(h.pathname);if(k){let a;if(k===c.J)return(0,d.uX)("https://goodfood.gift",301);let o=h.searchParams.get("collection")||"",p=(0,r.KH)(k,o,r.y3,g);try{a=await e.query({query:r.xH,variables:p})}catch(e){return s.Y.error("Failed query assetByPublicId",n.log.EventType("asset","assetByPublicId"),n.log.Error(e),n.log.String("description",`Variables: ${JSON.stringify(p)}`)),new Response(e.message||"Internal Server Error",{status:500})}let{data:f}=a;t&&t.setTag("asset.type",f.assetByPublicId?.asset?.type);let b=f.assetByPublicId?.asset?.urls.published,{correctPath:x,urlCorrect:E}=(0,m.ar)(h.pathname,b,v,"asset");if(!x)return new Response("Not Found",{status:404});if(!E)return(0,d.uX)(x,301);if(f.assetByPublicId?.error?.type.class===l.c4.NotFound)return new Response("Not Found",{status:404});let w=f.assetByPublicId?.asset;return i?.singlePass&&w&&(i.singlePass.supported=((e,t)=>{if(e.type!==l.h3.Article||(0,u.Dd)(e))return!1;if(!(0,m._P)(t)&&!(0,m.jn)(t))return!0;let[i,...n]=e.body?.blocks||[];return!(i?.type==="COVER"&&y(e,i.content))&&!y(e,n)})(w,h.pathname),i.singlePass.supported&&await S(e,w,h.pathname)),null}let f=(0,a.N4)(v,h.pathname);try{let{data:t}=await e.query({query:a.iF,variables:f});if(t?.pageByNavigationPath?.redirect)return(0,d.uX)(t.pageByNavigationPath.redirect,301);if(t?.pageByNavigationPath?.error?.type.class===l.c4.NotFound)return new Response("Not Found",{status:404})}catch(e){s.Y.error("Failed query pageByNavigationPath",n.log.EventType("asset","assetByNavigationPath"),n.log.Error(e),n.log.String("description",`Variables: ${JSON.stringify(f)}`))}return null}},41251:function(e,t,i){i.d(t,{Z:()=>m});var n=i(17845),r=i(45027),a=i(17255),o=i(31106),l=i(84641),s=i(69414),d=i(53896),c=i(79916);let u=(e,t,i="authorByPublicId")=>{s.Y.error("Failed to fetch author",n.log.EventType("author",i),n.log.Error(e),n.log.String("description",`Variables: ${JSON.stringify(t)}`))},m=e=>async({params:t,request:i})=>{let n,{brand:{shortSiteName:s}}=o.Z,{author:m}=t,p=(0,r.kx)(m);if(!p)return new Response("Not Found",{status:404});let g=null,v=null,h=null;try{g=new URL(i.url),h=(0,c.Un)(g?.pathname),v=(0,a.MV)(p,s,h);let{data:t,error:o}=await e.query({query:a.Bi,variables:v});if(o)return u(o,v),new Response("Error getting author",{status:500});let d=t?.authorByPublicId?.error;if(d?.type.class===l.c4.NotFound)return new Response("Not Found",{status:404});if(d)return u(d,v),new Response("Error getting author",{status:500});let m=t?.authorByPublicId?.author?.latestStoriesConnection?.error;if(m)return u(m,v,"latestStories"),new Response("Error getting author",{status:500});if(!t?.authorByPublicId?.author)return new Response("Not Found",{status:404});n={brand:{key:s},path:(0,r.yT)(t.authorByPublicId?.author,h)}}catch(e){return u(e,v),new Response(e.message||"Internal Server Error",{status:500})}let{correctPath:k,urlCorrect:f}=(0,c.Uk)(g.pathname,[n],s,"author",h);return f?null:(0,d.uX)(k,301)}},67005:function(e,t,i){i.d(t,{Z:()=>m});var n=i(17845),r=i(41289),a=i(31106),o=i(84641),l=i(69414),s=i(53896),d=i(85793),c=i(79916),u=i(5995);let m=e=>async({params:t,request:i})=>{let{brand:{shortSiteName:m}}=a.Z,{tag:p}=t,g=(0,u.YU)(p);if(!g)return new Response("Not Found",{status:404});let v=null,h=[],k=null,f=null;try{v=new URL(i.url),f=(0,c.Un)(v?.pathname),k=(0,r.dc)(g,m,f);let{data:t}=await e.query({query:r.av,variables:k});if(t.tagByPublicId?.error?.type.class===o.c4.NotFound)return new Response("Not Found",{status:404});h=t.tagByPublicId.tag?.urls?.published}catch(e){return l.Y.error("Failed query tagByPublicId",n.log.EventType("tag","tagByPublicId"),n.log.Error(e),n.log.String("description",`Variables: ${JSON.stringify(k)}`)),new Response(e.message,{status:e.statusCode||500})}let{correctPath:b,urlCorrect:x}=(0,c.Uk)(v?.pathname||"",h,m,"tag",f);return x?null:b.startsWith("/goodfood/topic")||b.startsWith("/traveller/topic")||b.startsWith("/topic")||d.b.includes(b)||(0,c.fZ)(v?.pathname||"")&&!b.startsWith("/topic")?(0,s.uX)(b,301):null}},49731:function(e,t,i){i.d(t,{Z:()=>n});let n=(0,i(2784).createContext)({isTruncatedView:!1})},49036:function(e,t,i){i.d(t,{Z:()=>r});var n=i(31106);let r=(0,i(2784).createContext)(n.Z)},5763:function(e,t,i){i.d(t,{Z:()=>$});var n=i(2596);let{PERM_FEATURE_FLAG_ADFIXUS_ENABLED:r,PERM_FEATURE_FLAG_ADS_AUTO_REFRESH:a,PERM_FEATURE_FLAG_ADS_ENABLE_ADBLOCK:o,PERM_FEATURE_FLAG_ADS_ENABLE_LAZYLOAD:l,PERM_FEATURE_FLAG_ADS_ENABLE_MAGNITE:s,PERM_FEATURE_FLAG_ADS_ENABLE_MANTIS:d,PERM_FEATURE_FLAG_ADS_ENABLE_PUBMATIC:c,PERM_FEATURE_FLAG_ALIB_ENABLE_SNOWPLOW:u,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_AFL_WIDGET:m,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_CRICKET_WIDGET:p,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_NRL_WIDGET:g,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_RUGBY_UNION_WIDGET:v,PERM_FEATURE_FLAG_BEYONDWORDS_VAST_URL_ENABLED:h,PERM_FEATURE_FLAG_DOMAIN_MEMBERSHIP_WIDGET:k,PERM_FEATURE_FLAG_DOMAIN_RECOMMENDED_LISTINGS:f,PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_STAN_SPORT_DRIVER:b,PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_WIDGETS:x,PERM_FEATURE_FLAG_GA4_PAGEVIEW_ENABLED:y,PERM_FEATURE_FLAG_GOODFOOD_IOS_BANNER_ENABLED:S,PERM_FEATURE_FLAG_GOODFOOD_SMART_BANNER_ENABLED:E,PERM_FEATURE_FLAG_LOGIN_APPLE_OPTION:w,PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION:N,PERM_FEATURE_FLAG_OTHER_APPS_REDIRECT_ENABLED:A,PERM_FEATURE_FLAG_OUTBRAIN:C,PERM_FEATURE_FLAG_PIANO_ENABLED:F,PERM_FEATURE_FLAG_SAVE_FOR_LATER_ENABLED:I,PERM_FEATURE_FLAG_STATSIG_ENABLED:P,PERM_FEATURE_FLAG_STORIFYME_HOME_CAROUSEL_ENABLED:T,PERM_FEATURE_FLAG_SWG_ENTITLEMENT:_,PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED:L,TEMP_FEATURE_FLAG_AD_STICKY_HIDE_NARROW:R,TEMP_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE:D,TEMP_FEATURE_FLAG_FONT_RESIZER_ENABLED:B,TEMP_FEATURE_FLAG_GOOGLE_PREFERRED_SOURCE_BUTTON_ENABLED:Z,TEMP_FEATURE_FLAG_LIVE_COVERAGE_HERO_PINNED_POST_ENABLED:O,TEMP_FEATURE_FLAG_PIANO_AUTH_SYNC_LOGOUT_ENABLED:M,TEMP_FEATURE_FLAG_SSR_APOLLO_CACHE_NO_WATCH_ENABLED:G,TEMP_FEATURE_FLAG_VERTEX_SEARCH_BANNER_ENABLED:j,TEMP_FEATURE_FLAG_VERTEX_SEARCH_ENABLED:H}=n,V=[r,a,o,l,s,d,c,u,m,p,g,v,h,k,f,b,x,y,S,E,w,N,A,C,F,I,P,T,_,L,R,D,B,Z,O,M,G,j,H],U=Object.keys(n).reduce((e,t)=>(e[n[t]]=V.includes(n[t]),e),{}),$=(0,i(2784).createContext)(U)},52115:function(e,t,i){i.d(t,{AN:()=>m,Fb:()=>u,Os:()=>l,RP:()=>a,TY:()=>r,WV:()=>d,Y2:()=>o,Y4:()=>p,eX:()=>g,i4:()=>s});let n=e=>{let t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;let i=e.name.value;return!t[i]&&(t[i]=!0,!0)})},r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetBylineFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetByline"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetBylineAuthor"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"avatar"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}}]}}]}},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetBylineName"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:144,source:{body:"fragment AssetBylineFragment on AssetByline{type...on AssetBylineAuthor{author{name publicId profile{avatar title}}}...on AssetBylineName{name}}"}}},a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetCategoryFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Category"}},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:"parent"},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:"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:"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:[]}]}}]}}]}}],loc:{start:0,end:180,source:{body:"fragment AssetCategoryFragment on Category{id name parent{id name urls{canonical{brand{key}path}published{brand{key}path}}}urls{canonical{brand{key}path}published{brand{key}path}}}"}}},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageRendition"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"altText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"animated"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"caption"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"credit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"crop"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"offsetX"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offsetY"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zoom"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mediaId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mimeType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}],loc:{start:0,end:136,source:{body:"fragment ImageRenditionFragment on ImageRendition{altText animated caption credit crop{offsetX offsetY width zoom}mediaId mimeType type}"}}},l={kind:"Document",definitions:n([{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetImagesFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageRenditions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"landscape16x9"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"landscape3x2"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"portrait2x3"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"square1x1"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageRenditionFragment"},directives:[]}]}}]}}].concat(o.definitions)),loc:{start:0,end:202,source:{body:"fragment AssetImagesFragment on ImageRenditions{landscape16x9{...ImageRenditionFragment}landscape3x2{...ImageRenditionFragment}portrait2x3{...ImageRenditionFragment}square1x1{...ImageRenditionFragment}}"}}},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TagFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tag"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"context"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalEntities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"google"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"placeId"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"longitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicId"},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:[]}]}}]}}]}}],loc:{start:0,end:221,source:{body:"fragment TagFragment on Tag{business{status}context{name}displayName externalEntities{google{placeId}}id location{latitude longitude postalCode state}name publicId urls{canonical{brand{key}path}published{brand{key}path}}}"}}},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetUrlsFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetURLs"}},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:"external"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},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:[]}]}}]}}],loc:{start:0,end:104,source:{body:"fragment AssetUrlsFragment on AssetURLs{canonical{brand{key}path}external{url}published{brand{key}path}}"}}},c=[{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetDatesFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetDates"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firstPublished"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"published"},arguments:[],directives:[]}]}}],u={kind:"Document",definitions:n([{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetPreviewTagsFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AssetTags"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primary"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TagFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"secondary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TagFragment"},directives:[]}]}}]}}].concat(s.definitions)),loc:{start:0,end:105,source:{body:"fragment AssetPreviewTagsFragment on AssetTags{primary{...TagFragment}secondary(limit:1){...TagFragment}}"}}},m={kind:"Document",definitions:n([{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetPreviewFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ads"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sponsor"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetBylineFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},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:"dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetDatesFragment"},directives:[]}]}},{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:"id"},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:"intro"},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:"state"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewTagsFragment"},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(r.definitions,c,l.definitions,u.definitions,d.definitions)),loc:{start:0,end:328,source:{body:"fragment AssetPreviewFragment on Asset{__typename ads{sponsor{name}}byline{...AssetBylineFragment}category{id name}dates{...AssetDatesFragment}extensions headlines{headline}id images{...AssetImagesFragment}overview{about intro label}publicId state{public}subType tags{...AssetPreviewTagsFragment}type urls{...AssetUrlsFragment}}"}}},p={kind:"Document",definitions:n([{kind:"FragmentDefinition",name:{kind:"Name",value:"LatestStoriesAssetPreviewFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UncuratedPageLatestStoriesEdge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},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:"sponsor"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetBylineFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},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:"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:"dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetDatesFragment"},directives:[]}]}},{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:"id"},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:"intro"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewTagsFragment"},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(r.definitions,c,l.definitions,u.definitions,d.definitions)),loc:{start:0,end:409,source:{body:"fragment LatestStoriesAssetPreviewFragment on UncuratedPageLatestStoriesEdge{node{ads{sponsor{name}}byline{...AssetBylineFragment}category{id name urls{canonical{brand{key}path}published{brand{key}path}}}dates{...AssetDatesFragment}extensions headlines{headline}id images{...AssetImagesFragment}overview{about intro label}state{public}subType tags{...AssetPreviewTagsFragment}type urls{...AssetUrlsFragment}}}"}}},g={kind:"Document",definitions:n([{kind:"FragmentDefinition",name:{kind:"Name",value:"LiveArticlePostFragment"},directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ads"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sponsor"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetImagesFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"body"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"blocks"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"byline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostBylineAuthor"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"author"},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:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},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:"title"},arguments:[],directives:[]}]}}]}}]}},{kind:"InlineFragment",directives:[],typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostBylineName"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"dates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firstPublished"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"published"},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:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"relatedEntitiesConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"20"}}],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:"asset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetPreviewFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"entity"},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:"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:[]}]}}]}}]}}].concat(l.definitions,m.definitions)),loc:{start:0,end:437,source:{body:"fragment LiveArticlePostFragment on Post{ads{sponsor{logos{...AssetImagesFragment}name type url}}body{blocks}byline{type...on PostBylineAuthor{author{id name publicId profile{canonical{brand{key}}title}}}...on PostBylineName{name}}dates{firstPublished published}headlines{headline}id publicId relatedEntitiesConnection(first:20){edges{node{asset{...AssetPreviewFragment}entity}}error{message type{class}}pageInfo{endCursor hasNextPage}}}"}}}},68680:function(e,t,i){i.d(t,{Q:()=>o,q:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)([]),o=()=>(0,r.l)(a)},356:function(e,t,i){i.d(t,{R:()=>a,s:()=>o});var n=i(50938),r=i(40809);let a=(0,n.QS)(!1),o=()=>(0,r.l)(a)},44773:function(e,t,i){i.d(t,{P:()=>o,Y:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)({appAccess:!1,appPremiumSubAccess:!1,appSubAccess:!1}),o=()=>(0,r.l)(a)},1797:function(e,t,i){i.d(t,{CV:()=>o,ip:()=>d,lF:()=>s});var n,r=i(50938),a=i(40809),o=((n={}).CREATE="create",n.LOGIN="login",n.NONE="none",n.REG_WALL_LOGIN="reg_wall_login",n);let l=(0,r.QS)({options:{},value:"none"}),s=(e,t={})=>{l({options:t,value:e})},d=()=>(0,a.l)(l)},40966:function(e,t,i){i.d(t,{G:()=>o,c:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)(null),o=()=>(0,r.l)(a)},65677:function(e,t,i){i.d(t,{U:()=>a});var n=i(50938);let r=["Europe/","/Los_Angeles"],a=(0,n.QS)((()=>{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;return!r.some(t=>e.includes(t))})())},52001:function(e,t,i){i.d(t,{g:()=>a,q:()=>o});var n=i(50938),r=i(40809);let a=(0,n.QS)(!1),o=()=>(0,r.l)(a)},36130:function(e,t,i){i.d(t,{Y:()=>o,v:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)(""),o=()=>(0,r.l)(a)},96648:function(e,t,i){i.d(t,{A:()=>o,_:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)(null),o=()=>(0,r.l)(a)},19076:function(e,t,i){i.d(t,{F:()=>a,m:()=>o});var n=i(50938),r=i(40809);let a=(0,n.QS)(!1),o=()=>(0,r.l)(a)},59944:function(e,t,i){i.d(t,{Q:()=>o,l:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)(!1),o=()=>(0,r.l)(a)},11110:function(e,t,i){i.d(t,{_:()=>o,o:()=>a});var n=i(50938),r=i(40809);let a=(0,n.QS)(!1),o=()=>(0,r.l)(a)},91309:function(e,t,i){i.d(t,{Jc:()=>l,P2:()=>s,XK:()=>o,dI:()=>p,eV:()=>u,jo:()=>m,nQ:()=>c,vD:()=>d});var n,r=i(50938),a=i(40809),o=((n={})[n.closed=0]="closed",n[n.error=1]="error",n[n.loading=2]="loading",n);let l=(0,r.QS)(!1),s=()=>(0,a.l)(l),d=(0,r.QS)(!1),c=()=>(0,a.l)(d),u=(0,r.QS)(""),m=(0,r.QS)(0),p=()=>(0,a.l)(m)},83949:function(e,t,i){i.d(t,{L0:()=>l,aF:()=>o,av:()=>a,cN:()=>s});var n=i(50938),r=i(40809);let a=(0,n.QS)(void 0),o=()=>(0,r.l)(a),l=(0,n.QS)(!1),s=()=>(0,r.l)(l)},92798:function(e,t,i){i.d(t,{Z:()=>Z});var n=i(52322),r=i(19565),a=i(5950),o=i(29001),l=i(35239),s=i(64115),d=i(30330),c=i(71399),u=i(38936),m=i(56111),p=i(41865),g=i(90903),v=i(96314),h=i(57304),k=i(64066),f=i(66873),b=i(35981),x=i(70827),y=i(92610),S=i(8900),E=i(95187),w=i(43309),N=i(36156),A=i(79644),C=i(71447),F=i(2596),I=i(2784),P=i(37149),T=i.n(P),_=i(53896),L=i(356),R=i(78943),D=i(633);let B=(0,r.ZP)({resolved:{},chunkName:()=>"components-Pagebuilder-Pagebuilder",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>i.e("4483").then(i.bind(i,71805)),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 i(this.resolve(e))},resolve:()=>71805}),Z=()=>{T().setAppElement("#app");let{ADKIT_URL:e,PAGEBUILDER:t,brand:i}=(0,m.Z)(),r=(0,p.Z)(),P=(0,D.Gq)(e);(0,I.useEffect)(()=>{"ready"===P&&window.Adkit&&((0,L.R)(!0),window.adkit=new window.Adkit({enableAdBlock:r[F.PERM_FEATURE_FLAG_ADS_ENABLE_ADBLOCK],enableBlockthrough:r[F.TEMP_FEATURE_FLAG_ADS_ENABLE_BLOCKTHROUGH],enableLazyLoad:r[F.PERM_FEATURE_FLAG_ADS_ENABLE_LAZYLOAD],enableMagnite:r[F.PERM_FEATURE_FLAG_ADS_ENABLE_MAGNITE],enableMantis:r[F.PERM_FEATURE_FLAG_ADS_ENABLE_MANTIS],enablePubMatic:r[F.PERM_FEATURE_FLAG_ADS_ENABLE_PUBMATIC],enableSnowplow:r[F.PERM_FEATURE_FLAG_ADS_ENABLE_SNOWPLOW]}))},[P,r]);let Z="brisbanetimes"===i.shortSiteName?A.Z.themes[i.shortSiteName]:A.Z.themes.default,O=!t.ENABLED&&r[F.PERM_FEATURE_FLAG_PIANO_ENABLED];return(0,n.jsx)(R.f6,{theme:Z,children:(0,n.jsxs)(a.Ns,{children:[(0,n.jsx)(l.Z,{}),t.ENABLED&&(0,n.jsx)(B,{}),(0,n.jsx)(w.Z,{}),(0,n.jsx)(d.Z,{}),(0,n.jsx)(E.Z,{}),(0,n.jsx)(h.Z,{}),(0,n.jsx)(k.Z,{}),(0,n.jsx)(o.Z,{}),(0,n.jsx)(I.Suspense,{fallback:(0,n.jsx)(v.Z,{}),children:(0,n.jsx)(u.ZP,{type:"page",children:(0,n.jsx)(_.j3,{})})}),(0,n.jsx)(f.Z,{}),(0,n.jsx)(c.Z,{}),(0,n.jsx)(g.Z,{}),(0,n.jsx)(C.Z,{}),(0,n.jsx)(b.Z,{}),(0,n.jsx)(N.Z,{}),(0,n.jsx)(S.Z,{}),O&&(0,n.jsx)(y.g,{}),(0,n.jsx)(x.Z,{}),(0,n.jsx)(s.Z,{})]})})}},79909:function(e,t,i){i.d(t,{Z:()=>H});var n={};i.r(n),i.d(n,{Button:()=>x,ButtonHollow:()=>y,Buttons:()=>b,CharacterImage:()=>E,Content:()=>v,Content500:()=>h,Figure:()=>S,Heading:()=>k,Message:()=>f,NavigationLink:()=>A,NavigationLinks:()=>N,SearchError:()=>w});var r={};i.r(r),i.d(r,{Button:()=>_,ButtonHollow:()=>L,Buttons:()=>T,CharacterImage:()=>D,Content:()=>C,Content500:()=>F,Figure:()=>R,Heading:()=>I,Message:()=>P,NavigationLink:()=>O,NavigationLinks:()=>Z,SearchError:()=>B});var a=i(52322),o=i(32369),l=i(89190),s=i(56111),d=i(77056),c=i(76597),u=i(53896),m=i(62555),p=i(79644),g=i(78943);let v=(0,g.ZP)(p.Z.Content).withConfig({componentId:"sc-8ad228-0"})(["padding-bottom:40px;@media ","{padding-bottom:48px;padding-top:24px;}@media ","{padding-bottom:72px;}"],p.Z.query.medium,p.Z.query.large),h=(0,g.ZP)(p.Z.Content).withConfig({componentId:"sc-8ad228-1"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center;"]),k=g.ZP.h1.withConfig({componentId:"sc-8ad228-2"})(["color:",";font-family:",";font-size:18px;line-height:18px;margin-bottom:16px;margin-top:32px;@media ","{font-size:28px;line-height:56px;margin-top:8px;}"],e=>e.theme.colorHighlight,e=>e.theme.fontTertiary,p.Z.query.medium),f=g.ZP.div.withConfig({componentId:"sc-8ad228-3"})(["color:",";font-size:17px;line-height:24px;margin-bottom:24px;margin-top:100px;@media ","{font-size:22px;line-height:32px;margin-bottom:42px;}p{font-family:",";margin-bottom:8px;&:first-child{color:",";font-family:",";font-size:22px;font-weight:600;line-height:24px;@media ","{font-size:40px;line-height:45px;}}}"],e=>e.theme.colorMid,p.Z.query.medium,e=>e.theme.fontSecondary,e=>e.theme.colorBrand,e=>e.theme.fontTertiary,p.Z.query.medium),b=g.ZP.div.withConfig({componentId:"sc-8ad228-4"})(["display:flex;gap:16px;justify-content:center;margin:24px 0;"]),x=(0,g.ZP)(p.Z.ButtonStandardGF).withConfig({componentId:"sc-8ad228-5"})(["cursor:pointer;font-family:",";font-size:16px;font-weight:600;line-height:1.5;padding:12px 24px;text-decoration:none;transition:all 0.2s ease-in-out;"],e=>e.theme.fontPrimary),y=(0,g.ZP)(p.Z.ButtonHollow).withConfig({componentId:"sc-8ad228-6"})(["cursor:pointer;font-family:",";font-size:16px;font-weight:600;line-height:1.5;padding:12px 24px;text-decoration:none;transition:all 0.2s ease-in-out;"],e=>e.theme.fontPrimary),S=g.ZP.figure.withConfig({componentId:"sc-8ad228-7"})(["display:flex;justify-content:center;margin:0 auto 24px;padding-top:24px;width:100%;"]),E=g.ZP.img.withConfig({componentId:"sc-8ad228-8"})(["height:304px;width:302px;"]),w=g.ZP.div.withConfig({componentId:"sc-8ad228-9"})(["","{margin:0;}","{font-family:Arial;font-size:16px;padding:10px 40px 10px 15px;@media ","{font-size:24px;line-height:32px;padding:24px 64px 24px 32px;}}"],m.UI,m.Mj,p.Z.query.medium),N=g.ZP.ul.withConfig({componentId:"sc-8ad228-10"})(["display:flex;flex-flow:row wrap;justify-content:flex-start;margin:24px 0 56px;width:100%;@media ","{margin-bottom:48px;}@media ","{margin-bottom:24px;}"],p.Z.query.medium,p.Z.query.large),A=g.ZP.li.withConfig({componentId:"sc-8ad228-11"})(["flex:0 1 50%;font-size:15px;line-height:40px;@media ","{flex:0 1 25%;}a{color:",";&:hover{color:",";}}"],p.Z.query.medium,e=>e.theme.colorMid,e=>e.theme.colorAction),C=(0,g.ZP)(p.Z.Content).withConfig({componentId:"sc-9517a578-0"})(["padding-bottom:40px;@media ","{padding-bottom:48px;padding-top:24px;}@media ","{padding-bottom:72px;}"],p.Z.query.medium,p.Z.query.large),F=(0,g.ZP)(p.Z.Content).withConfig({componentId:"sc-9517a578-1"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center;"]),I=g.ZP.h1.withConfig({componentId:"sc-9517a578-2"})(["color:",";font-family:",";font-size:18px;line-height:18px;margin-bottom:16px;margin-top:32px;@media ","{font-size:28px;line-height:56px;margin-top:8px;}"],e=>e.theme.colorHighlight,e=>e.theme.fontTertiary,p.Z.query.medium),P=g.ZP.div.withConfig({componentId:"sc-9517a578-3"})(["color:",";font-size:17px;line-height:24px;margin-bottom:24px;margin-top:100px;@media ","{font-size:22px;line-height:32px;margin-bottom:42px;}p{font-family:",";margin-bottom:8px;&:first-child{color:",";font-family:",";font-size:22px;font-weight:600;line-height:24px;@media ","{font-size:40px;line-height:45px;}}}"],e=>e.theme.colorMid,p.Z.query.medium,e=>e.theme.fontSecondary,e=>e.theme.colorBrand,e=>e.theme.fontTertiary,p.Z.query.medium),T=g.ZP.div.withConfig({componentId:"sc-9517a578-4"})(["display:flex;gap:16px;justify-content:center;margin:24px 0;"]),_=(0,g.ZP)(p.Z.ButtonStandard).withConfig({componentId:"sc-9517a578-5"})(["cursor:pointer;font-family:",";font-size:16px;font-weight:600;line-height:1.5;padding:12px 24px;text-decoration:none;transition:all 0.2s ease-in-out;"],e=>e.theme.fontPrimary),L=(0,g.ZP)(p.Z.ButtonHollowMetro).withConfig({componentId:"sc-9517a578-6"})(["cursor:pointer;font-family:",";font-size:16px;font-weight:600;line-height:1.5;padding:12px 24px;text-decoration:none;transition:all 0.2s ease-in-out;"],e=>e.theme.fontPrimary),R=g.ZP.figure.withConfig({componentId:"sc-9517a578-7"})(["display:flex;justify-content:center;margin:0 auto 24px;padding-top:24px;width:100%;"]),D=g.ZP.img.withConfig({componentId:"sc-9517a578-8"})(["height:304px;width:302px;"]),B=g.ZP.div.withConfig({componentId:"sc-9517a578-9"})(["","{margin:0;}","{font-family:Arial;font-size:16px;padding:10px 40px 10px 15px;@media ","{font-size:24px;line-height:32px;padding:24px 64px 24px 32px;}}","{@media ","{bottom:auto;top:50%;transform:translateY(-50%);}}"],m.UI,m.Mj,p.Z.query.medium,m.QZ,p.Z.query.medium),Z=g.ZP.ul.withConfig({componentId:"sc-9517a578-10"})(["display:flex;flex-flow:row wrap;justify-content:flex-start;margin:24px 0 56px;width:100%;@media ","{margin-bottom:48px;}@media ","{margin-bottom:24px;}"],p.Z.query.medium,p.Z.query.large),O=g.ZP.li.withConfig({componentId:"sc-9517a578-11"})(["flex:0 1 50%;font-size:15px;line-height:40px;@media ","{flex:0 1 25%;}a{color:",";&:hover{color:",";}}"],p.Z.query.medium,e=>e.theme.colorMid,e=>e.theme.colorAction);var M=i(10399),G=i(79916);let j=(e,t)=>{let i=t?n:r;return 400===e?(0,a.jsx)(i.Message,{children:(0,a.jsx)("p",{children:M.Z.error["400"].title})}):404===e?(0,a.jsxs)(i.Message,{children:[(0,a.jsx)("p",{children:M.Z.error["404"].title}),(0,a.jsx)("p",{children:M.Z.error["404"].message})]}):e>=500&&e<600?(0,a.jsxs)(i.Message,{children:[(0,a.jsx)("p",{children:M.Z.error["500"].title}),(0,a.jsx)("p",{children:M.Z.error["500"].messageA}),(0,a.jsx)("p",{children:M.Z.error["500"].messageB})]}):null},H=({categories:e,status:t})=>{var i;let{brand:m}=(0,s.Z)(),{pathname:p}=(0,u.TH)(),g=(0,l.Z)(),v=(0,G._P)(p),h=v?n:r;return(0,d.Z)({canonical:`https://www.${m.shortSiteName}.com.au${p}`,categories:v?["goodfood"]:e||[],cmsType:"",description:`Error - ${t} status - ${400===(i=t)?M.Z.error["400"].title:404===i?M.Z.error["404"].title:i>=500&&i<600?M.Z.error["500"].title:null}`,sources:[],tags:[],title:v?"Error | Good Food":`Error | ${m.longSiteName}`,type:"Error"}),t<500?(0,a.jsxs)(h.Content,{children:[(0,a.jsxs)(h.Heading,{children:[t," error"]}),j(t,v),(0,a.jsx)(h.SearchError,{children:(0,a.jsx)(o.Z,{searchLayer:"masthead"})}),(0,a.jsx)(h.NavigationLinks,{children:g.map(e=>(0,a.jsx)(h.NavigationLink,{children:(0,a.jsx)(c.Z,{url:e.url,children:e.text})},e.text))})]}):(0,a.jsxs)(h.Content500,{children:[(0,a.jsx)(h.Figure,{children:(0,a.jsx)(h.CharacterImage,{alt:"Cartoon by Cathy Wilcox",src:"https://s3-ap-southeast-2.amazonaws.com/infrastructure-static-error-pages.apse2.ffx.io/50x/assets/error500.png?ffx-failover"})}),(0,a.jsxs)(h.Heading,{children:[t," error"]}),j(t,v),(0,a.jsxs)(h.Buttons,{children:[(0,a.jsx)(h.Button,{onClick:()=>window.location.reload(),children:"Try again"}),(0,a.jsx)(h.ButtonHollow,{as:"a",href:"/",children:"Return Home"})]})]})}},50690:function(e,t,i){i.d(t,{Z:()=>n});let n={howTo:"ldl"}},85793:function(e,t,i){i.d(t,{Z:()=>a,b:()=>r});let n={bestOf:{displayName:"Best of",id:"ldo",path:"best-of"},justOpen:{displayName:"Just open",id:"ldn",path:"just-open"},restaurantNews:{displayName:"News",id:"ldr",path:"restaurant-news"},reviews:{displayName:"Reviews",id:"lnj",path:"reviews"},suburbGuides:{displayName:"Suburb guides",id:"ldp",path:"suburb-guides"}},r=Object.values(n).map(e=>`/goodfood/${e.path}`),a=n},83628:function(e,t,i){i.d(t,{An:()=>y,CP:()=>b,Ek:()=>p,J8:()=>k,P6:()=>h,PJ:()=>m,Xs:()=>v,YE:()=>g,gg:()=>S,pu:()=>x});var n=i(52322),r=i(19565),a=i(14658),o=i(84641),l=i(31673),s=i(72649),d=i(28024),c=i(79916);let u=(0,r.ZP)({resolved:{},chunkName:()=>"components-ArticleBody-ArticleBody",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!i.m[t]},importAsync:()=>Promise.all([i.e("5545"),i.e("8797")]).then(i.bind(i,71723)),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 i(this.resolve(e))},resolve:()=>71723}),m="ReferrerComponentDetails",p="ReferrerDetails",g=e=>{if("undefined"==typeof sessionStorage)return{};try{let t=sessionStorage.getItem(e);return t?JSON.parse(t):{}}catch{return{}}},v=(e,t,i,r)=>e.body?(0,n.jsx)(u,{asset:e,blocksEndIndex:i,blocksStartIndex:t,contentWallVisible:r},`${t}-${i}`):null,h=e=>e.map(e=>e.type===o.tF.Author?e.author.name:e.name),k=(e,t="")=>e.replace(/(\s|-)+/g,t),f=({id:e,name:t,parent:i})=>{let n=i?f(i):[];return e===s.cw?[...n]:[...n,t]},b=(e,t)=>{let i=(0,c._P)(t);return i?[t.split("/").filter(Boolean)[0],...f(e)]:f(e)},x=(e,t,i,n={})=>{let{ads:r,byline:s,category:u,commenting:m,dates:p,headlines:g,images:v,overview:k,publicId:f,seo:x,social:y,sourceCMS:S,sources:E,tags:w,type:N}=e,A=(0,a.Z2)((0,c._P)(t),e,i);return{assetId:f,author:h(s),canonical:A.url,categories:b(u,t),cmsType:S.type||"",collection:(e=>{let{extensions:t,relatedEntitiesParents:i}=e;if(e.type===o.h3.Collection)return{id:e.publicId,name:e.headlines.headline,of:t?.numberOfStories?t.numberOfStories+1:0,position:0,type:e.subType};if(i?.assets)for(let e=0;ee.name),description:(0,l.Nw)(k?.about||"",d.Z),firstPublished:p?.firstPublished,images:v,invisibleTags:(e=>{let{secondary:t}=e||{secondary:[]};return t.filter(({urls:e})=>!e).map(({name:e})=>e)})(w),label:k?.label||"",published:p?.published,seo:x,social:{description:y?.description,images:y?.images,title:y?.title},sources:E.length?E.map(e=>e.displayName):[],referrer:n.referrer,referrerComponent:n.referrerComponent,referrerContentUnitGroup:n.referrerContentUnitGroup,referrerContentUnitName:n.referrerContentUnitName,referrerContentUnitPosition:n.referrerContentUnitPosition,referrerPageType:n.referrerPageType,referrerPosition:n.referrerPosition,sponsor:r?.sponsor,tags:(e=>{let{primary:t,secondary:i}=e||{secondary:[]};return[...t?[t]:[],...i].filter(({urls:e})=>!!e).map(({name:e})=>e)})(w),title:(0,l.Nw)(g.headline,d.Z),type:N}},y=(e,t)=>e===o.EL.Published&&!!t&&Date.parse(t)<=Date.now(),S=e=>{let{category:t}=e;return f(t).includes("Property")}},72300:function(e,t,i){i.d(t,{fF:()=>a,lk:()=>o,tP:()=>n});let n={article:"ARTICLE",bespoke:"BESPOKE",collection:"COLLECTION",featureArticle:"FEATURE_ARTICLE",gallery:"GALLERY",liveArticle:"LIVE_ARTICLE",recipe:"RECIPE",video:"VIDEO"};var r,a=((r={}).review="review",r);let o={displayName:"Good Food Guide",name:"good-food-guide"}},28063:function(e,t,i){i.d(t,{Dd:()=>o,TN:()=>a});var n=i(72300);let r=/^(.+\/)?.+-(19|20)\d{6}-([a-z0-9]+)(\.html)?$/,a=e=>{let t=r.exec(e);return t?.[3]||null},o=e=>e?.type===n.tP.article&&e?.subType===n.fF.review&&!!e?.sources?.some(e=>e?.displayName===n.lk.displayName&&e?.name===n.lk.name)},17741:function(e,t,i){i.d(t,{J:()=>o,w:()=>a});var n=i(28067),r=i(84641);let a=e=>{switch(e){case"brisbanetimes":return n.H2.BrisbaneTimes;case"theage":return n.H2.TheAge;case"watoday":return n.H2.WaToday;default:return n.H2.Smh}},o=e=>{switch(e){case r.h3.Bespoke:return n.nw.Bespoke;case r.h3.FeatureArticle:return n.nw.FeatureArticle;case r.h3.Gallery:return n.nw.Gallery;case r.h3.LiveArticle:return n.nw.LiveArticle;case r.h3.Video:return n.nw.Video;default:return n.nw.Article}}},10399:function(e,t,i){i.d(t,{Z:()=>n});let n={error:{400:{title:"Sorry, we can't display the page at this time"},404:{message:"Either the URL was mistyped or the page may no longer be available",title:"We can't find the page you asked for"},500:{messageA:"We do too.",messageB:"We should have things back to normal soon.",title:"Wonder what happens back here?"}},form:{validation:{password:"Please enter your password",passwordShort:"Please choose a password at least 12 characters long."}}}},72649:function(e,t,i){i.d(t,{$4:()=>B,AX:()=>k,Ac:()=>w,B6:()=>o,BC:()=>m,DF:()=>A,F3:()=>f,HJ:()=>a,Hn:()=>L,Jd:()=>N,MW:()=>l,NU:()=>M,PR:()=>D,Pp:()=>C,V$:()=>g,W1:()=>G,aZ:()=>T,ap:()=>P,cw:()=>p,gG:()=>c,gZ:()=>x,hO:()=>j,i1:()=>v,k9:()=>F,le:()=>d,nL:()=>O,n_:()=>y,nu:()=>S,o8:()=>E,ps:()=>s,q0:()=>u,qj:()=>Z,sB:()=>n,sW:()=>I,w5:()=>r,wb:()=>b,xB:()=>R,xI:()=>h,zE:()=>_});let n="afl",r="VGFnOiI1dXAi",a="cricket",o="VGFnOiI2Z3hjIg==",l="2024-01-25",s="story-set-rgcjd",d="VGFnOiI1d3Ii",c="eating+out",u="Q2F0ZWdvcnk6IjUxIg==",m="Q2F0ZWdvcnk6IjUzIg==",p="Q2F0ZWdvcnk6IjRzIg==",g="food",v="VGFnOiI2aWJyIg==",h=10,k="1",f="U3ViQnJhbmQ6IjEi",b="story-set-wpkmw",x="story-set-vimas",y="immersive",S="rugby-league",E="by/:author",w="goodfood/search",N="topic/:tag",A=/.*-\d{8}-(\w+)/i,C=/.*\/by\/.*/i,F=/^https:\/\/www\.(brisbanetimes|smh|theage|watoday)\.com\.au\/?$/,I=/.*\/search(\?.*)?/i,P=/.*\/topic\/.*/i,T="VGFnOiI2aWJzIg==",_="2",L="U3ViQnJhbmQ6IjIi",R="traveller-most-popular",D="recipes",B="rugby-union",Z={[c]:["4t","50","51","52","53"],[g]:[],[D]:["4u"]},O="Geolocation",M="Travel",G="Cuisine",j="Venue"},28024:function(e,t,i){i.d(t,{Z:()=>n});let n={ALLOWED_TAGS:["#text","br"],KEEP_CONTENT:!0}},79916:function(e,t,i){i.d(t,{D1:()=>f,EF:()=>d,H6:()=>c,Jj:()=>u,Uk:()=>y,Un:()=>k,_P:()=>p,aG:()=>l,ar:()=>x,fZ:()=>g,jn:()=>h,kZ:()=>v,pP:()=>b,t$:()=>m,xf:()=>s});var n=i(72649);let r={NSW:"New South Wales",QLD:"Queensland",VIC:"Victoria",WA:"Western Australia"},a=["/goodfood/best-of","/goodfood/just-open","/goodfood/restaurant-news","/goodfood/reviews","/goodfood/suburb-guides"],o=(e,t,i)=>e.replace("",t.longSiteName).replace("",t.city).replace("",i?t.state:r[t.state]),l=(e,t,i,n,r)=>{if(1===t)return d(n,e,i,r);let{longSiteName:a}=i,o=e.indexOf("| "),l=e.indexOf(`| ${a}`),s=-1!==o?o:l,c=`${e.slice(0,s)}| Page ${t} ${e.slice(s)}`;return -1!==s?d(n,c,i,r):d(n,c=`${e} | Page ${t}`,i,r)},s=(e,t)=>t===n.AX?`${e} | Good Food`:t===n.zE?`${e} | Traveller`:`Topic | ${e} | `,d=(e,t,i,r)=>{if(e===n.AX)return t?o(t,i,r):`Recipes, Restaurant Reviews, Food Guides and News | Good Food${i?` | ${i.longSiteName}`:""}`;return o(t,i,r)},c=(e,t,i,r)=>e===n.nL?[`The latest on travel in ${t} with Australia's most experienced travel writers from Traveller.`,`${t} | Travel News, Guides, Ideas & Tips | Traveller`]:e===n.NU?[`The latest on ${t} with Australia's most experienced travel writers from Traveller.`,`${t} | Holiday Travel Guides & Tips | Traveller`]:[i,r],u=(e,t,i)=>a.includes(i)||!t?`https://www.${e.shortSiteName}.com.au${i}`:`https://www.${t.brand.key}.com.au${i}`,m=(e,t,i,n,r)=>({canonical:u(r,i.seo?.canonical,t),categories:t.split("/").filter(Boolean),cmsType:"",description:d(e,i.seo?.description||i.description,r,!0),sources:[],tags:[],title:d(e,i.seo?.title||i.name,r,!0),type:n}),p=e=>e?.startsWith("/goodfood")||!1,g=e=>!!e&&!e.startsWith("/goodfood")&&!e.startsWith("/traveller"),v=e=>null===e,h=e=>e?.startsWith("/traveller")||!1,k=e=>p(e)?n.AX:h(e)?n.zE:null,f=e=>e&&!e.startsWith("/goodfood")?`/goodfood${e}`:e,b=e=>e&&!e.startsWith("/traveller")?`/traveller${e}`:e,x=(e,t,i,n)=>{if(!t||0===t.length||t.find(t=>t.brand.key===i&&("asset"===n?e===t.path:e===`${t.path.includes("/goodfood")?"":"/goodfood"}${t.path}`)))return{correctPath:e,urlCorrect:!0};let r=t.find(e=>e.brand.key===i)?.path;return"asset"!==n&&(r=f(r)),{correctPath:r,urlCorrect:!1}},y=(e,t,i,r,a)=>{if(!t||0===t.length||t.find(t=>t.brand.key===i&&("asset"===r?e===t.path:a===n.AX?e===f(t.path):a===n.zE?e===b(t.path):e===t.path)))return{correctPath:e,urlCorrect:!0};let o=t.find(e=>e.brand.key===i)?.path;if("asset"!==r&&(a===n.AX&&(o=f(o)),a===n.zE)){if(!b(o).startsWith("/traveller/topic")&&(!(o=t.find(e=>e.path.startsWith("/topic"))?.path)||b(o)===b(e)))return{correctPath:e,urlCorrect:!0};o=b(o)}return{correctPath:o,urlCorrect:!1}}},5995:function(e,t,i){i.d(t,{VQ:()=>a,YU:()=>r,ZP:()=>o,hH:()=>n});let n=(e,t)=>({excludeTag:e,imageSizes:{large:{aspectRatio:"3x2",width:264},medium:{aspectRatio:"3x2",width:240},small:{aspectRatio:"1x1",width:96}},restrictAbout:!0,showAbout:!t,showCategory:!0,showSecondaryTag:!0,showTimestamp:!1}),r=e=>{let t=/.*-(\w+)/.exec(e);return t?.[1]||""};function a(e){return e.replace(/ \((Bris|Mel|Per|Syd|NSW|Vic)\)/,"")}let o={bullsNBears:{id:"san",path:"business/bullsnbears"},cbd:{id:"1pm",path:"cbd"},videoGames:{id:"5xo",path:"technology/video-games"}}},79549:function(){},84713:function(){}},function(e){e.O(0,["1966","8971"],function(){return e(e.s=23536)}),e.O()}]);