"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;tT});var n,r,a,o,l,s,d,c,u,m,p,g,h,v,k,f,x,b,y,S,E,w,A,N,C,F=i(2784);function _(){return(_=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;tx});var n,r,a,o,l,s,d,c,u,m,p,g,h,v,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{let{client:l}=(0,o.useClientAsyncInit)(i,{privateAttributes:{userEmail:r},userID:a},{environment:{tier:t||"production"}}),s=(0,m.useRef)(r);return(0,m.useEffect)(()=>{s.current!==r&&(s.current=r,l.updateUserAsync({privateAttributes:{userEmail:r},userID:a}))},[l,r,a]),(0,n.jsx)(o.StatsigProvider,{client:l,children:e})};var h=i(58704),v=i(31106),k=i(17029),f=i(72175),x=i(53896),b=i(90918),y=i(49731),S=i(49036),E=i(5763);i(94063),i(73354);let w=document.getElementById("app"),A=window.INITIAL_STATE?.featureFlags,N=window.INITIAL_STATE?.articleRendering,C=(0,x.aj)((0,b.Z)(h.Z)),F=(0,n.jsx)(m.StrictMode,{children:(0,n.jsx)(r.e,{client:h.Z,children:(0,n.jsx)(f.B6,{children:(0,n.jsx)(S.Z.Provider,{value:v.Z,children:(0,n.jsx)(E.Z.Provider,{value:A,children:(0,n.jsx)(y.Z.Provider,{value:N,children:(0,n.jsx)(({children:e})=>{let{DEPLOY_ENV:t,STATSIG:{CLIENT_API_KEY:i}}=(0,s.Z)(),r=(0,d.Z)(),{value:a}=(0,l._N)(),o=(0,p.aF)(),m=o?.email??(0,c.wf)()?.email??"";return r?.[u.PERM_FEATURE_FLAG_STATSIG_ENABLED]&&i&&a?(0,n.jsx)(g,{deployEnv:t,statsigClientApiKey:i,userEmail:m,userID:a,children:e}):e},{children:(0,n.jsx)(x.pG,{router:C})})})})})})})});w&&(0,a.TA)(()=>{(0,k.hydrateRoot)(w,F)})},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:()=>X});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),h=i(93673);let v=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),x=i(41865),b=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"),A=(0,u.ZP)(c.Z.LinkInverse).withConfig({componentId:"sc-b7108d53-4"})(["display:block;font-size:14px;line-height:24px;"]),N=({isSmall:e,section:{links:t,text:i}})=>{let[n,r]=(0,b.useState)(!e);(0,b.useEffect)(()=>{r(!e)},[e]);let a=(0,x.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)(A,{href:i,onClick:(0,f._3)(a,i),title:t,children:e},e))]})},C=({sections:e})=>{let t=(0,h.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)(v,{children:e.map(e=>(0,o.jsx)(N,{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(88025),T=i(84193),I=i(40577);let P=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),B=u.ZP.img.withConfig({componentId:"sc-f11fc56c-3"})(["height:36px;"]),D=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)(P,{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)(B,{as:_.Z})}),n&&(0,o.jsx)("a",{"aria-label":"Get it on Google Play",href:n,rel:"noopener noreferrer",target:"_blank",children:(0,o.jsx)(B,{as:T.Z})}),(0,o.jsx)(D,{as:I.Z,promotionPrefix:"HI_FL",tracking:Z})]})]})};var j=i(70793),G=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)(j.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)(G.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://advertisers.com.au"}]},{"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://advertisers.com.au"}]},{"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"}]}]')},X=()=>{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:()=>N,Qj:()=>F,Rk:()=>A,Th:()=>T,V8:()=>R,W2:()=>g,cP:()=>I,h3:()=>f,h4:()=>v,hA:()=>C,j2:()=>w,l8:()=>P,nS:()=>d,oF:()=>_,vw:()=>x,vx:()=>L,xZ:()=>h,xw:()=>b});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),h=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;"])),v=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),x=a.ZP.a.withConfig({componentId:"sc-d491993f-6"})(["display:flex;justify-content:center;width:100%;@media ","{width:50%;}"],r.Z.query.medium),b=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),A=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),N=(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;"]),_=(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),T=a.ZP.button.withConfig({componentId:"sc-d491993f-17"})(["margin-right:8px;"]),I=a.ZP.button.withConfig({componentId:"sc-d491993f-18"})([""]),P=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),h=i(11402),v=i(27302),k=i(49263),f=i(5014),x=i(56613),b=i(9521),y=i(64257),S=i(19510),E=i(92549),w=i(56627),A=i(40577),N=i(56038),C=i(81924),F=i(2596),_=i(84641),T=i(2784),I=i(70992),P=i(53896),L=i(44773),R=i(1797),B=i(36130),D=i(11110),Z=i(83949),O=i(72649),M=i(79916),j=i(97348),G=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,h.ZP)(),t=(0,M._P)((0,P.TH)().pathname),i=(0,M.jn)((0,P.TH)().pathname),r=t||i,W=(0,v.Z)(),Y=(0,R.ip)(),[Q,K]=(0,T.useState)(!1),[X,J]=(0,T.useState)(!1),[ee,et]=(0,T.useState)(!1),[ei,en]=(0,T.useState)(!1),er=(0,T.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,D._)(),em=ec&&eu,{inView:ep,ref:eg}=(0,I.YD)({initialInView:!0}),[eh,ev]=(0,T.useState)(0),ek=!eo&&em;(0,k.Z)(()=>{ev(window.scrollY),window.scrollY>ed&&!em?(0,D.o)(!0):window.scrollY<411&&em&&(0,D.o)(!1)});let{appAccess:ef,appPremiumSubAccess:ex,appSubAccess:eb}=(0,L.P)(),ey={"data-ffx-event-attribute":"header","data-ffx-event-category":"component"},eS=()=>{(0,R.lF)(R.CV.LOGIN),(0,C.ow)(N.$e,N.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,T.useEffect)(()=>{document.body.classList.toggle("lockSmallMax",Q||X)},[Q,X]);let eE=ea&&(0,n.jsxs)(j.l8,{"aria-label":(0,V.vW)(ea),"data-testid":"my-account-menu",onClick:()=>{J(!0),(0,C.ow)(N.BL,N.R1)},children:[(0,n.jsx)(j.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?N.zQ:N.JW,N.HF,N.PW)},eA=(0,f.Z)(),eN=(0,g.Z)(),eC=es?.type===_.h3.FeatureArticle&&es?.subType===O.n_,eF=(0,$.gP)(es);return ef||ex||eb?null:(0,n.jsxs)(j.nS,{$headerMode:eF,$shouldStick:ec,className:"noPrint",children:[(0,n.jsxs)(j.W2,{$headerMode:eF,$isSticky:em,$outOfView:!W&&!ep&&eh>=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)(j.xZ,{$headerMode:eF,$isHidden:em,children:[eN[F.PERM_FEATURE_FLAG_PIANO_ENABLED]?null:!ea&&(0,n.jsx)(j.oF,{as:A.Z,promotionPrefix:"HI_HL",tracking:ey}),!ea&&!ef&&!ex&&!eb&&(0,n.jsx)(j.Qj,{onClick:eS,children:"Log in"}),eE]}),t||em?(0,n.jsxs)(j.h4,{$alignStartSmallBreakpoint:ek,$headerMode:eF,"data-testid":"header",children:[(0,n.jsxs)(j.xw,{$hasBorderRight:ek,children:[(0,n.jsx)(H.Z,{setShowPrimaryNavigation:K,showPrimaryNavigation:Q}),(0,n.jsxs)(j.QZ,{$isActive:ee,"aria-label":"Toggle search",onClick:()=>ew(),ref:er,children:[(0,n.jsx)("span",{children:"Search"}),eA?(0,n.jsx)(a.Z,{}):(0,n.jsx)(s.Z,{})]},"search")]}),(0,n.jsx)(c.ZP,{type:"component",children:(0,n.jsx)(b.Z,{isLightTheme:(0,$.WX)(eF,em),isLogoSmall:ek})}),(0,n.jsx)(G.Z,{appAccess:ef,appPremiumSubAccess:ex,appSubAccess:eb,flags:eN,openLogin:eS,showButtons:em,showLogInOnly:!1,showPianoButtonOnly:!1,subscribeTracking:ey,user:ea,userButton:eE,userReady:el})]}):(0,n.jsxs)(j.Hw,{children:[(0,n.jsxs)(j.Pb,{children:[(0,n.jsx)(j.Rk,{onClick:()=>{K(!0),en(!0)},children:(0,n.jsx)("span",{children:"Our network"})},"openNav"),(0,n.jsx)(G.Z,{appAccess:ef,appPremiumSubAccess:ex,appSubAccess:eb,flags:eN,openLogin:eS,showButtons:em,showLogInOnly:!0,showPianoButtonOnly:!1,subscribeTracking:ey,user:ea,userButton:eE,userReady:el})]}),(0,n.jsx)(j.M2,{$headerMode:eF}),(0,n.jsxs)(j.h3,{$headerMode:eF,children:[(0,n.jsxs)(j.xw,{children:[(0,n.jsx)(H.Z,{setShowPrimaryNavigation:K,showPrimaryNavigation:Q}),(0,n.jsxs)(j.QZ,{$isActive:ee,"aria-label":"Toggle search",onClick:()=>ew(),ref:er,children:[(0,n.jsx)("span",{children:"Search"}),eA?(0,n.jsx)(a.Z,{}):(0,n.jsx)(s.Z,{})]},"search")]}),(0,n.jsx)(c.ZP,{type:"component",children:(0,n.jsx)(j.vw,{as:b.Z,isLightTheme:(0,$.WX)(eF,em)})}),(0,n.jsx)(G.Z,{appAccess:ef,appPremiumSubAccess:ex,appSubAccess:eb,flags:eN,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)(x.Z,{isOpen:Y.value===R.CV.LOGIN,onClose:()=>{(0,B.v)(""),(0,R.lF)(R.CV.NONE)},showLoginValue:R.CV.LOGIN}),(0,n.jsx)("nav",{id:"myAccount"}),ea&&(0,n.jsx)(z,{isOpen:X,onClose:()=>{J(!1),(0,C.ow)(N.MG,N.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)(j.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(91709),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:h,userButton:v,userReady:k})=>m?(0,n.jsxs)(s.hA,{$isLoggedIn:!!h,$shouldShowButtons:u,children:[!h&&!e&&!t&&!i&&(0,n.jsx)(s.Qj,{onClick:c,children:"Log in"}),v]}):p?(0,n.jsx)(s.hA,{$isLoggedIn:!!h,$shouldShowButtons:u,children:d[l.PERM_FEATURE_FLAG_PIANO_ENABLED]?!h&&(0,n.jsx)(a.x,{assetType:"",pianoId:r.yj}):k&&!h&&(0,n.jsx)(s.cP,{as:o.Z,promotionPrefix:"HI_HL",tracking:g})}):(0,n.jsxs)(s.hA,{$isLoggedIn:!!h,$shouldShowButtons:u,children:[d[l.PERM_FEATURE_FLAG_PIANO_ENABLED]?!h&&(0,n.jsx)(a.x,{assetType:"",pianoId:r.yj}):k&&!h&&(0,n.jsx)(s.Th,{as:o.Z,promotionPrefix:"HI_HL",tracking:g}),!h&&!e&&!t&&!i&&(0,n.jsx)(s.Qj,{onClick:c,children:"Log in"}),v]})},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:()=>h,I_:()=>b,PZ:()=>d,R9:()=>u,Ru:()=>p,Sf:()=>w,Th:()=>E,VY:()=>c,aV:()=>l,fN:()=>v,h4:()=>x,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),h=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),v=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),x=a.ZP.div.withConfig({componentId:"sc-894d9a40-12"})(["align-items:center;display:flex;justify-content:space-between;padding-bottom:12px;padding-right:16px;"]),b=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:()=>X});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),h=i(57872),v=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"}]],x=()=>{let e=(0,k.TH)();return(0,a.jsxs)("div",{children:[(0,a.jsx)(h.sJ,{children:f[0].map(t=>(0,a.jsx)(h.Ru,{children:(0,a.jsx)(h.Ic,{$isActive:t.url===e.pathname,$isSubLink:!1,as:v.Z,url:t.url,children:t.text})},t.url))}),(0,a.jsx)(h.iz,{}),(0,a.jsx)(h.sJ,{children:f[1].map(t=>(0,a.jsx)(h.Ru,{children:(0,a.jsx)(h.Ic,{$isActive:t.url===e.pathname,$isSubLink:!1,as:v.Z,url:t.url,children:t.text})},t.url))})]})};var b=i(32157);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.replace(/\s+/g,"-").toLowerCase(),G=(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)(h.Vh,{$isExpanded:s,"aria-expanded":s,onClick:()=>{n(e.url===i?"":e.url)},type:"button",children:[(0,a.jsx)(h.W5,{children:s?"Hide subsections":"Show subsections"}),(0,a.jsx)(h.e0,{$isExpanded:s,height:"1em",width:"1em"})]},`expand${e.url}`),(0,a.jsx)(h.eb,{$isExpanded:s,"aria-hidden":!s,"aria-labelledby":`section-${j(e.text)}`,children:G(e.children,t,i,n,r,o,l+1)},`children${e.url}`)]:null;return(0,a.jsxs)(h.Ru,{"aria-expanded":0===l?s:null,id:`${l>0?"sub":""}section-${j(e.text)}`,role:"treeitem",children:[(0,a.jsx)(h.Ic,{$isActive:e.url===r.pathname,$isSubLink:1===l,as:v.Z,"data-testid":`section-link-${V(e.text)}`,onClick:(0,N._3)(t,e.url,null,e.text,o),url:e.url,children:e.text}),d]},e.url)}),H=(e,t)=>e.filter(e=>e.text!==t&&(e.children&&(e.children=H(e.children,t)),!0)),V=e=>e.replace(/\s+/g,"-").toLowerCase(),U={"data-ffx-event-attribute":"menu","data-ffx-event-category":"component"},$=()=>{var e;let{brand:{shortSiteName:t}}=(0,F.Z)(),i=(0,_.Z)(),{isAndroid:n,isIOS:r,isMobile:o}=(0,I.Z)(),{onClose:l}=(0,u.useContext)(m),s=(0,O.Z)(),d=i[L.TEMP_FEATURE_FLAG_FIFA_WORLD_CUP_INDEX_ENABLED]?s:H(s,"FIFA World Cup"),c=(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,N.CJ)(e):t.url}))}))),[p,g]=(0,u.useState)(""),f=(0,k.TH)(),x=(0,T.ZP)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.sJ,{children:G(d,i,p,g,f,x)}),((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)(h.Yb,{children:[t&&(0,a.jsxs)(h.OT,{children:[(0,a.jsx)(h.M$,{children:t}),"Premium"===t&&(0,a.jsx)(h.Y3,{as:P.Z,promotionPrefix:"HI_IL",tracking:U})]}),(0,a.jsx)(h.sJ,{children:s.map(({text:s,title:d,url:c})=>s===(l()?"Quizzes":"Daily Quizzes")&&"watoday"!==e?null:(0,a.jsx)(h.Ru,{children:(0,a.jsxs)(h.Ic,{$isActive:c===n.pathname,$isSubLink:!1,as:v.Z,onClick:(0,N._3)(i,c,r,d,o),title:d,url:c,children:["/todays-newspaper"===c&&(0,a.jsx)(h.AK,{as:w.Z}),("/goodfood-guide"===c||"Good Food App"===s)&&(0,a.jsx)(h.AK,{as:b.Z}),"/puzzles"===c&&(0,a.jsx)(h.AK,{as:"brisbanetimes"===e?S:E.Z}),l()&&"/topic/quizzes-1qx"===c&&"Premium"===t&&(0,a.jsx)(h.AK,{$isLightVersion:!0,as:A.Z}),s]})},c))})]},(0,C.un)(JSON.stringify(s))))})(t,c,i,f,l,x)]})};var q=i(78943);let z=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),W=q.ZP.li.withConfig({componentId:"sc-b0e87ced-1"})(["display:inline-block;&:first-child{margin-right:30px;}"]),Y=q.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,q.iv)(["border-bottom:2px solid #fff;color:#fff;"])),Q=q.ZP.div.withConfig({componentId:"sc-b0e87ced-3"})(["padding:20px 0;"]),K=({selectedTab:e})=>{let[t,i]=(0,u.useState)(e||g.Sections);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(z,{role:"tablist",children:[(0,a.jsx)(W,{role:"presentation",children:(0,a.jsx)(Y,{"aria-controls":"sections","aria-selected":t===g.Sections,onClick:()=>i(g.Sections),role:"tab",selected:t===g.Sections,children:"Sections"})}),(0,a.jsx)(W,{role:"presentation",children:(0,a.jsx)(Y,{"aria-controls":"sections","aria-selected":t===g.Network,onClick:()=>i(g.Network),role:"tab",selected:t===g.Network,children:"Network"})})]}),(0,a.jsxs)(Q,{children:[t===g.Sections&&(0,a.jsx)($,{}),t===g.Network&&(0,a.jsx)(x,{})]})]})},X=({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)(K,{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:()=>x,Ic:()=>s,M$:()=>f,OT:()=>k,Ru:()=>l,Vh:()=>d,W5:()=>c,Y3:()=>b,Yb:()=>h,e0:()=>u,eb:()=>g,iz:()=>v,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),h=a.ZP.div.withConfig({componentId:"sc-50878b35-7"})(["margin-top:16px;"]),v=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;"]),x=a.ZP.svg.withConfig({componentId:"sc-50878b35-11"})(["margin-right:12px;position:relative;top:-2px;",""],e=>e.$isLightVersion&&"color: #fff;"),b=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":"FIFA World Cup","url":"/sport/fifa-world-cup-2026","children":[{"text":"Fixtures","url":"/sport/soccer/fixtures"},{"text":"Standings","url":"/sport/soccer/standings"}]},{"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":"FIFA World Cup","url":"/sport/fifa-world-cup-2026","children":[{"text":"Fixtures","url":"/sport/soccer/fixtures"},{"text":"Standings","url":"/sport/soccer/standings"}]},{"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":"FIFA World Cup","url":"/sport/fifa-world-cup-2026","children":[{"text":"Fixtures","url":"/sport/soccer/fixtures"},{"text":"Standings","url":"/sport/soccer/standings"}]},{"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":"FIFA World Cup","url":"/sport/fifa-world-cup-2026","children":[{"text":"Fixtures","url":"/sport/soccer/fixtures"},{"text":"Standings","url":"/sport/soccer/standings"}]},{"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,h=0,v=-1;for(let e=0;ed)return null;let k=v-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}`},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),h=i(83949),v=i(72649),k=i(79916),f=i(90283),x=i(16453),b=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):"",A=()=>"undefined"==typeof window?null:window.innerWidth>=o.breakpoints.large?"desktop":window.innerWidth>=o.breakpoints.medium?"tablet":"mobile",N=(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,h.aF)(),l=(0,g.A)(),C=(0,c.Q)(),[F]=(0,s.useState)((0,f.Z)().toUpperCase()),_=(0,u.s)(),{ads:T}=(0,m.G)()||{},I=(0,k._P)((0,d.TH)().pathname),P=T?.suppress;return(0,s.useEffect)(()=>{var r;if(!l)return;let{assetId:s,adExclusion:d=[],author:c,categories:u,cmsType:m,collection:g,firstPublished:h,label:k,published:f,referrer:T,referrerComponent:L,referrerContentUnitGroup:R,referrerContentUnitName:B,referrerContentUnitPosition:D,referrerPageType:Z,referrerPosition:O,sources:M,sponsor:j,tags:G,title:H,type:V}=l,U=I?"-":"";n?(n.adSuppression=!!P,n.ads=C,n.breakpoint=window.innerWidth,n.keywords.hierarchy.pagelevel02=N(u[0],U),n.keywords.hierarchy.pagelevel03=N(u[1],U),n.keywords.hierarchy.pagelevel04=N(G[0],U),n.keywords.pageType=E(V).toLowerCase(),n.keywords.tags=G.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:!!P,ads:C,brand:i.shortSiteName,breakpoint:window.innerWidth,keywords:{collectionId:g?.id||"",hierarchy:{pagelevel01:i.shortSiteName,pagelevel02:N(u[0],U),pagelevel03:N(u[1],U),pagelevel04:N(G[0],U)},nuid:(0,x._N)().value||"",pageType:E(V).toLowerCase(),tags:G.map(e=>N(e,U).toLowerCase())},pageViewId:F};let $=j?{sponsor:j.name,type:j.type}:void 0;window.dataLayerHybrid={adserving:n,brand:{name:i.shortSiteName},client:{NUID:(0,x._N)().value||"",deviceType:A()},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:G?.[0]||"",publishDate:w(h),referrer:T||document.referrer,referrerComponent:L||"",referrerContentUnitGroup:R||"",referrerContentUnitName:B||"",referrerContentUnitPosition:D||"",referrerPageType:Z||(r=document.referrer,v.DF.test(r)?"Article":v.Pp.test(r)?"Index":v.k9.test(r)?"Homepage":v.sW.test(r)?"Search":v.ap.test(r)?"Topic":"Index"),referrerPosition:O||"",renderedPlatform:"WEB",sponsored:$?.sponsor?"true":"false",sponsoredName:$?.sponsor||"",sysEnv:A(),tags:I?G.slice(1):G,type:E(V),updateDate:w(f),viewID:F},section:{primaryCategory:g?.name||u?.[0]||"",subCategory:u?.[1]||""},session:(0,x.Gg)(u.map(e=>N(e,U))),user:{memberID:o?.sub||"",memberType:(0,a.d6)(o)},vendor:{renderwebmetro:{version:e}}},(0,p.g)(!0),_&&window?.ADKIT?.gptInstallPromise.then(()=>(e=>{let{ads:t}=e||{};if(!t||0===t.length)return null;if(0===y.length)return(0,b.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,b.Tt)(n.map(({id:e})=>e)),i.length>0&&(0,b.ag)(),y=S(t)})(n))},[e,t,C,i.shortSiteName,l,o,F,_,P,I]),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]:228,[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]:306,[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}}},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},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),h=i(53120);let v=(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:x}}}}=(0,a.Z)(),b=[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||!b||!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 A=`https://itunes.apple.com/${window.navigator.language?.slice(-2)||"us"}/app/id${x}`;return(0,n.jsxs)(h.jL,{children:[(0,n.jsx)(h.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)(v,{}),(0,n.jsxs)(h.zC,{children:[(0,n.jsx)(h.Dx,{children:"Good Food Guide"}),(0,n.jsx)(h.dk,{children:"Open in the Good Food app"})]}),(0,n.jsx)(h.OL,{href:y?"https://play.google.com/store/apps/details?id=au.com.nine.goodfood":A,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:h}=((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:v,error:k}=l?.assetByPublicId||{},{pageInfo:f}=v?.relatedEntitiesConnection||{},x=(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||!v?{asset:null,assetError:k||null,error:s?Error(s.message):null,fetchMoreStories:null,loading:g,networkStatus:h}:{asset:v,assetError:null,error:null,fetchMoreStories:x,loading:g,networkStatus:h}})(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:"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:[]}]}}]}}]}}]}}]}}].concat(a.TY.definitions,a.RP.definitions,a.Os.definitions,a.Fb.definitions,a.WV.definitions)),loc:{start:0,end:452,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{...AssetPreviewTagsFragment}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:()=>k,KX:()=>y,NL:()=>S,Q1:()=>x,Ue:()=>s,aR:()=>a,dA:()=>l,hK:()=>v,iu:()=>b,ri:()=>o});var n=i(27297),r=i(84641);let a={LEGACY:"legacy",METRO:"metro"},o={landscape:1.5,portrait:.666667,square:1,uncropped:0,wide:1.777778},l={"0x0":o.uncropped,"16x9":o.wide,"1x1":o.square,"2x3":o.portrait,"3x2":o.landscape},s={"0x0":"uncropped","16x9":"landscape16x9","1x1":"square1x1","2x3":"portrait2x3","3x2":"landscape3x2"},d={brisbanetimes:{fromX:428,monthX:515,yearX:414},goodfood:{fromX:384,monthX:471,yearX:370},smh:{fromX:288,monthX:375,yearX:274},theage:{fromX:384,monthX:471,yearX:370},watoday:{fromX:647,monthX:734,yearX:633},traveller:{fromX:384,monthX:471,yearX:370}},c=["analysis","explainer","opinion","live"],u={goodfood:"/t_metro_goodfood_no_label_no_age_social_wm",traveller:"/t_metro_traveller_no_label_no_age_social_wm"},m=["brisbanetimes","brisbanetimes_rebranded"],p={fromX:30,fromY:7,yearX:20,yearY:32},g={fromX:280,fromY:7,yearX:270,yearY:32},h="co_rgb:0a1633",v=(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}},k=(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}},f=(e,t)=>Math.round(t/e*1e4)/1e4,x=e=>{switch(e){case"16x9":return o.wide;case"3x2":return o.landscape;case"1x1":return o.square;case"2x3":return o.portrait;default:return o.uncropped}},b=({age:e,aspectRatio:t,dpr:i=1,format:n="auto",image:l,imageRenditionUrlPrefix:s,label:v="",watermarkBrand:k="",watermarkStyle:b=a.LEGACY,width:y})=>{let S,E="string"==typeof t?x(t):t,{crop:w,mediaId:A,mimeType:N,type:C}=l||{},F=(e=>{switch(e){case r.FY.Landscape_16_9:return o.wide;case r.FY.Landscape_3_2:return o.landscape;case r.FY.Square_1_1:return o.square;case r.FY.Portrait_2_3:return o.portrait;default:return o.uncropped}})(C),_=i*y,T=((e,t,i="",n)=>n===a.LEGACY?((e,t,i="")=>{if(!e||!d[e])return"";let n=c.includes(i)?`_${i}`:"_no_label";if(!t)return`/t_${e}${n}_no_age_social_wm`;let r=90;t.month&&(t.month.includes("y")||t.month.includes("g")||t.month.includes("p"))&&(r=84);let a=d[e],o=`l_text:PT%20Sans_41_bold_italic:%20from%20,g_south_west,y_84,x_${a.fromX},co_rgb:0a1633`,l=`l_text:PT%20Sans_41_bold:%20${t.month}%20,g_south_west,y_${r},x_${a.monthX},co_rgb:0a1633`,s=`l_text:AbrilTitling-Bold.ttf_83:%20${t.year}%20,g_south_west,y_15,x_${a.yearX},co_rgb:0a1633`;return`/t_${e}${n}_social_wm/${o}/${l}/${s}`})(e,t,i):((e,t,i="")=>{if(u[e])return u[e];let n=c.includes(i);if(!t&&!n)return"";let r=m.includes(e)?"t_metro_brisbanetimes":"t_metro",a=n?`_${i}`:"_no_label";if(!t)return`/${r}${a}_no_age_social_wm`;let o=n?g:p,l=["l_text:PT%20Sans_25_bold_italic:%20from%20","g_north_west",`y_${o.fromY}`,`x_${o.fromX}`,h].join(","),s=[`l_text:AbrilTitling-Bold.ttf_55:%20${t.year}%20`,"g_north_west",`y_${o.yearY}`,`x_${o.yearX}`,h].join(",");return`/${r}${a}_social_wm/${l}/${s}`})(e,t,i))(k,e,v,b);if(F===o.uncropped)S=`$width_${_}/t_resize_width`;else if(w){let{offsetX:e,offsetY:t,width:i,zoom:n}=w;if(F/E>1.1){let r=Math.round(n*F/E*1e4)/1e4;S=`$zoom_${r},$multiply_${f(i,_)},$ratio_${E},$width_${i},$x_${Math.ceil((e/n+(i/n-i/n/F*E)/2)*r)},$y_${Math.ceil(F/E*t)}/t_crop_custom`}else S=`$zoom_${n},$multiply_${f(i,_)},$ratio_${F},$width_${i},$x_${e},$y_${t}/t_crop_custom`}else S=`w_${_},h_${Math.ceil(_/E)},c_fill,g_auto:faces`;let I=n;return T&&"image/gif"===N&&(I="jpg"),`${s}/${S}/q_${"mp4"===n?"auto:eco":i>1?"62":"86"}${"image/png"===N?",e_sharpen:60":""},f_${I}${T}/${A}`.replace(/,/g,"%2C")},y=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"}},S=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:()=>j});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),h=i.n(g),v=i(53896),k=i(1797),f=i(36130),x=i(79644),b=i(78943);let y=b.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,x.Z.query.medium),S=b.ZP.button.withConfig({componentId:"sc-d2ec05a5-1"})(["position:absolute;right:20px;top:20px;span{","}"],x.Z.visuallyHidden),E=b.ZP.div.withConfig({componentId:"sc-d2ec05a5-2"})(["@media ","{max-width:360px;}"],x.Z.query.medium),w=b.ZP.h2.withConfig({componentId:"sc-d2ec05a5-3"})(["font-family:",";font-size:28px;margin-bottom:24px;text-align:center;"],e=>e.theme.fontTertiary),A=b.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),N=b.ZP.label.withConfig({componentId:"sc-d2ec05a5-5"})(["display:block;font-size:15px;line-height:32px;"]),C=b.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=b.ZP.div.withConfig({componentId:"sc-d2ec05a5-7"})(["display:flex;justify-content:space-between;"]),_=(0,b.iv)(["color:",";text-decoration:",";&:focus,&:hover{color:",";text-decoration:underline;}"],e=>e.theme.colorLink,e=>e.theme.decorationLink,e=>e.theme.colorLinkActive),T=b.ZP.a.withConfig({componentId:"sc-d2ec05a5-8"})(["font-size:13px;line-height:32px;",""],_),I=(0,b.ZP)(x.Z.ButtonStandard).withConfig({componentId:"sc-d2ec05a5-9"})(["padding:12px;width:100%;"]),P=b.ZP.p.withConfig({componentId:"sc-d2ec05a5-10"})(["font-size:13px;line-height:17px;margin-top:16px;text-align:center;a{","}"],_),L=b.ZP.p.withConfig({componentId:"sc-d2ec05a5-11"})(["font-size:16px;line-height:20px;margin:12px 0 32px;"]),R=b.ZP.div.withConfig({componentId:"sc-d2ec05a5-12"})(["text-align:center;"]),B=b.ZP.h4.withConfig({componentId:"sc-d2ec05a5-13"})(["font-size:18px;line-height:22px;"]),D=b.ZP.p.withConfig({componentId:"sc-d2ec05a5-14"})(["font-size:16px;line-height:20px;margin:18px 0 32px;padding:0 12px;"]),Z=b.ZP.span.withConfig({componentId:"sc-d2ec05a5-15"})(["display:block;margin:18px 0;"]),O=b.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 j=({isEmailVerifiedLogin:e,isOpen:t,onClose:i,showLoginValue:g,socialLoginError:x})=>{let b=e?d.oE:d.qf,{IDENTIFICATION:{FORGOTTEN_PASSWORD_URL:_,REGISTRATION_URL:j},MEMBER_AUTH_API:{TIMEOUT:G,URL:H},brand:{shortSiteName:V}}=(0,a.Z)(),U=(0,o.Z)(),$=(0,v.TH)(),q=(0,l.ZP)(),[z,W]=(0,p.useState)(x),Y=(0,f.Y)();z?.email&&x.email!==Y&&(0,f.v)(z.email);let[Q,K]=(0,p.useState)(""),[X,J]=(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,b);break;case"google":(0,c.cc)(d.G0),(0,c.T7)(d.G0,b)}};(0,p.useEffect)(()=>{t&&g!==k.CV.LOGIN&&(0,c.T7)(d.F7,b)},[b,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,b),(0,M.x4)({authUrl:H,brand:V,code:z?.conflictCode,loginID:Y,password:Q,redirectUrl:et,timeoutMs:G}).then(()=>{i()}).catch(e=>{q.pushAnalyticsEvent({event:u.LOGIN_FAILED_EVENT,method:"email"}),J(e.message)})},children:[(0,n.jsx)(N,{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)(N,{htmlFor:"password",children:"Password"}),(0,n.jsx)(T,{href:_.replace("",encodeURIComponent(et)),onClick:()=>{(0,c.T7)(d.$2,b)},children:"Forgotten password?"})]}),(0,n.jsx)(C,{id:"password",onChange:e=>{K(e.target.value)},required:!0,type:"password",value:Q}),(0,n.jsx)(I,{children:"Log in"}),!z&&(0,n.jsxs)(p.Fragment,{children:[(0,n.jsxs)(P,{children:["Not registered?"," ",(0,n.jsx)("a",{href:j.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:G},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)(B,{children:M.O1[M.NA].heading}),(0,n.jsx)(D,{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:G},onClick:ei})]});return(0,n.jsx)(h(),{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:[X&&(0,n.jsxs)(A,{children:["Sorry, ",X]}),z?.errorCode===M.F3&&(0,n.jsxs)(p.Fragment,{children:[(0,n.jsx)(B,{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:()=>N,F3:()=>h,HH:()=>I,Hz:()=>P,NA:()=>v,O1:()=>k,Q9:()=>f,SM:()=>y,VA:()=>x,Yw:()=>b,bi:()=>L,eH:()=>A,kS:()=>_,po:()=>E,qS:()=>T,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",h="account_exists_error",v="social_conflict",k={[h]:{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:""},[v]:{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:""},x="logout",b=()=>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}`},A=(e,t,i,n)=>(0,o.V)(fetch(e,t),i,n),N=(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 A(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 N(n,`${e}/api/member-auth/v0/social/${o}?${l}`),null})(e):C(e),_=({authUrl:e,disabled:t,hagridEndpoint:i,redirectUrl:n})=>{let r=encodeURIComponent(`${n}#${x}`),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)},T=async({authUrl:e,code:t,errorCode:i,timeoutMs:r})=>{try{let n=`${e}/api/member-auth/v0/social/conflict`,a=await A(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)}},I=e=>"string"==typeof e?.type&&e?.type==="AUTHENTICATION_ERROR"||"object"==typeof e?.type&&e?.type?.class==="INVALID_AUTH",P=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 A(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)),_({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}),h=(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}),v={brisbanetimes:s,smh:d,theage:c,watoday:u},k={brisbanetimes:m,smh:p,theage:g,watoday:h},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:v[s.shortSiteName],"data-testid":"logo"})})}},57304:function(e,t,i){i.d(t,{Z:()=>b});var n=i(17845),r=i(12043),a=i(11402),o=i(33460),l=i(23539);let s={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 d=i(80282),c=i(69414),u=i(16162),m=i.n(u),p=i(58491),g=i(2784),h=i(19076),v=i(83949),k=i(19510);let f=["member","memberDetails"],x=e=>"email"===e||"apple"===e||"google"===e,b=()=>{let e,t=(0,h.m)(),i="undefined"!=typeof document&&(0,o.Yw)(),u=("undefined"==typeof window?"":window.location.hash.substr(1))===o.VA,b=(0,r.Z)(),{data:y,refetch:S,loading:E}=(e=!(i&&!u&&!t||(0,k.aN)()),(0,l.a)(s,{context:{clientName:"api-front"},fetchPolicy:"no-cache",skip:e,ssr:!1})),w=(0,a.ZP)();return(0,g.useEffect)(()=>{t&&(b(S),(0,h.F)(!1))},[S,b,t]),(0,g.useEffect)(()=>{if(u){(0,k.uU)(),(0,k.b1)(),(0,v.av)(void 0),(0,v.L0)(!0);let e=p.Z.parseUrl(window.location.href);window.history.replaceState("","",p.Z.stringifyUrl(e));return}if(i)return void(0,v.L0)(!1);let e=(0,k.wf)();e&&((0,k.bQ)(),(0,v.av)(e),(0,v.L0)(!0))},[u,i]),(0,g.useEffect)(()=>{if(!y){E||(0,v.L0)(!0);return}let{memberDetails:e,memberExternalSubscriptionProviders:t,memberSubscriptionDetails:r}=y,{error:a,member:l}=e||{},{error:s,providers:u=[]}=t||{},{error:p,subscription:g}=r||{},h=a||s||p;if(h)return(0,o.HH)(h)?void b(S):((0,o.Hz)(h)&&(0,k.b1)(),i&&x(i)&&w.pushAnalyticsEvent({event:d.LOGIN_FAILED_EVENT,method:i}),(0,o.Hz)(h)||c.Y.error("Member details failure",n.log.EventType(...f),n.log.Error(h)),(0,k.uU)(),(0,v.av)(void 0),(0,k.b1)(),void(0,v.L0)(!0));let{profile:{displayName:A,email:N,membershipId:C,requiredToVerify:F,shortID:_,type:T,verified:I}}=l;if(i){let e=m()("sha256").update(N).digest("hex");x(i)&&w.pushAnalyticsEvent({event:d.LOGIN_SUCCESS_EVENT,hashed_email:e,method:i})}let P={email:N,externalPurchaseSource:u[0]?.purchaseSource,membershipId:C,requiredToVerify:F,screenName:A,sub:_,subscription:g,type:T.toLowerCase(),verified:I};(0,k.VT)(P),(0,k.bQ)(),(0,v.av)(P),(0,v.L0)(!0),(0,o.SM)()},[y,E,i,S,b,w]),null}},19510:function(e,t,i){i.d(t,{AY:()=>f,Hm:()=>E,VT:()=>m,WL:()=>v,_c:()=>o,aN:()=>h,b1:()=>p,bQ:()=>g,d6:()=>b,kk:()=>x,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)},h=()=>!n.Yb.getItem(s,d)&&!c(),v=(e,t,i=!0)=>{let{subscription:{entitlements:n=[]}={}}=e||{};return!i||n.includes(t)},k=e=>v(e,"Metro_goodfood_article"),f=e=>v(e,a),x=e=>v(e,r),b=e=>{let{subscription:t,type:i}=e||{};if(!x(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:h,error_code:v}=g,k=Array.isArray(h)?h[0]:h,f=Array.isArray(v)?v[0]:v;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:()=>h});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")},h=()=>{var e,t,i,h,v;let k,f,x,b,y,S,{GOODFOOD:{image:E,social:{facebook:w,twitter:A,ios:N},LONG_SITE_NAME:C},PAGEBUILDER:{ENABLED:F},SUBSCRIBE_WITH_GOOGLE:{CLIENT_ID:_,PRODUCT_ID:T},TRAVELLER:{LONG_SITE_NAME:I},brand:P,imageRenditionUrlPrefix:L}=(0,r.Z)(),R=(0,a.Z)(),B=(0,u.A)(),D=(0,c.TH)().pathname,Z=(0,p.Un)(D),O=Z===m.AX&&{...P,longSiteName:C},M=Z===m.zE&&{...P,longSiteName:I},j=O||M||P,G=`${j.siteUrl}${D}`;if(!B)return null;let{assetId:H,canonical:V,description:U,images:$,keywords:q="",published:z,seo:W,social:Y,title:Q,type:K}=B,X=R[l.TEMP_FEATURE_FLAG_METRO_IMAGE_WATERMARK_ENABLED]?o.aR.METRO:o.aR.LEGACY,J=B.label||"",ee=((e,t,i,n,r,a,l=!1,s=o.aR.LEGACY,d="")=>{let c,u,p,g,h,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?(u=n.landscape16x9,c=o.ri.wide,p=800):"ImageRenditions"===n.__typename&&n.landscape3x2?(u=n.landscape3x2,c=o.ri.landscape,p=620):"ImageRenditions"===n.__typename&&n.portrait2x3?(u=n.portrait2x3,c=o.ri.portrait,p=414):"ImageRenditions"===n.__typename&&n.square1x1&&(u=n.square1x1,c=o.ri.square,p=620);let k=u?.altText||v.altText;u&&l&&r&&(t===m.AX?(h="goodfood",g=(0,o.hK)(r,90)||null,g=null):t===m.zE?(h="traveller",g=null):(h=e.shortSiteName,g=(0,o.hK)(r,90)||null));let f=d?d.toLowerCase():"";return u?{altText:k,height:Math.ceil(p/c),url:(0,o.iu)({age:g,aspectRatio:c,image:u,imageRenditionUrlPrefix:a,label:f,watermarkBrand:h,width:p,watermarkStyle:s}),width:p}:v})(j,Z,E,Y?.images||$,z,L,!0,X,J),et={smh:"smh",brisbanetimes:"brisbanetimes",theage:"theage",watoday:"watoday"}[j.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,D,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)})(D,B),(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}`))]),(x="/metro-assets/assets/static",[(0,n.jsx)("link",{href:`${x}/favicons/${et}${F?"-alt":""}.ico`,rel:"icon",type:"image/x-icon"},"icon"),(0,n.jsx)("link",{href:`${x}/apple-touch-icons/${et}.png`,rel:"apple-touch-icon"},"apple-icon")]),(b=Y?.title||Q,y=Y?.description||U,S=j.longSiteName,[(0,n.jsx)("meta",{content:y,property:"og:description"},"og:description"),(0,n.jsx)("meta",{content:ee.url,property:"og:image"},"og:image"),(0,n.jsx)("meta",{content:ee.altText,property:"og:image:alt"},"og:image:alt"),(0,n.jsx)("meta",{content:`${ee.width}`,property:"og:image:width"},"og:image:width"),(0,n.jsx)("meta",{content:`${ee.height}`,property:"og:image:height"},"og:image:height"),(0,n.jsx)("meta",{content:ee.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:b,property:"og:title"},"og:title"),(0,n.jsx)("meta",{content:G,property:"og:url"},"og:url")]),(e=A.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:ee.altText,name:"twitter:image:alt"},"twitter:image:alt"),(0,n.jsx)("meta",{content:ee.url,name:"twitter:image:src"},"twitter:image:src"),(0,n.jsx)("meta",{content:Z===m.AX?e:j.social.twitter.user,name:"twitter:site"},"twitter:site"),(0,n.jsx)("meta",{content:t,name:"twitter:title"},"twitter:title")]),(h=N.appID,v=R[l.PERM_FEATURE_FLAG_GOODFOOD_IOS_BANNER_ENABLED],[s.h3.Article,s.h3.FeatureArticle,s.h3.Recipe,s.h3.Collection].includes(K)&&v&&(0,p._P)(D)?(0,n.jsx)("meta",{content:`app-id=${h}, 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")})(j,V,ee.url,T,Y?.title||Q),R[l.PERM_FEATURE_FLAG_SWG_ENTITLEMENT]&&_?(0,n.jsx)("meta",{content:_,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}},70827:function(e,t,i){i.d(t,{Z:()=>eo});var n=i(21509),r=i(17845),a=i(56111),o=i(41865),l=i(28067),s=i(69414),d=i(2784);let c=["piano","BypassQuery"],u={isFacebookBypass:!1,isGoogleBypass:!1,isIPBypass:!1},m=Object.values(l.Jw);var p=i(23539);let g={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 h=i(17741);let v=["piano","BypassQueryMemberDetail"],k={isFacebookBypass:!1,isGoogleBypass:!1,isIPBypass:!1};var f=i(33460),x=i(98051),b=i(28191),y=i(31106),S=i(79388);let{HAGRID_ENDPOINT:E,MEMBER_AUTH_API:{TIMEOUT:w,URL:A}}=y.Z,N=()=>{try{let e={};for(let t of Object.keys(localStorage))e[t]=localStorage[t]?.length;return JSON.stringify(e)}catch(e){s.Y.error("Failed to get localstorage sizes",r.log.EventType("Piano","getLocalStorageSizes"),r.log.Error(e))}return""},C=()=>{b.Yb.removeItem(x.Zq,x.eT)},F=["Piano","fetchExternalJWT"],_=async(e,t,i,n=0)=>{let a=`${A}/api/member-auth/v0/auth-sync/token`;try{let o=await (0,f.eH)(a,{credentials:"include",headers:{Accept:"application/json"},method:"GET"},w,F);if(o.status>=400){if(500===o.status&&n{let e=new Date;return e.setDate(e.getDate()+x.oC),e.toISOString()})();try{b.Yb.setItem(x.Zq,JSON.stringify({expires:d,value:l}),x.eT)}catch(e){e&&e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&s.Y.error("LocalStorage full.",r.log.EventType("Piano","set:pianoExternalJWT"),r.log.Error(e),r.log.String("localStorageSizes",N())),s.Y.error(`Unable to set ${x.Zq} storage value for the sub ID:${t}.`,r.log.EventType("Piano","set:pianoExternalJWT"),r.log.Error(e))}return l}catch(e){return s.Y.error(`error during fetching Piano external JWT for the sub ID:${t}.`,r.log.EventType(...F),r.log.Error(e)),""}},T=async(e,t,i)=>{if(!t)return C(),"";let{jwt:n,shouldRefresh:a}=(e=>{let t,i=b.Yb.getItem(x.Zq,x.eT);if(!i)return{jwt:"",shouldRefresh:!1};try{t=JSON.parse(i)}catch(t){return C(),s.Y.error(`Unable to parse ${x.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?(C(),{jwt:"",shouldRefresh:!1}):(o.setDate(o.getDate()-x.$j),o<=l)?{jwt:a,shouldRefresh:!0}:{jwt:a,shouldRefresh:!1}})(t.sub);if(n&&!a)return n;let o=await _(e,t.sub,i);return o||n||(s.Y.error(`Unable to get a valid Piano auth sync token for the sub ID:${t.sub}.`,r.log.EventType("Piano","getAuthSyncJWT")),"")};var I=i(11402),P=i(98070);let L={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}}"}}},R=async(e,t)=>e?await t({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:L,variables:{email:e}}).then(({data:e})=>{if(!e?.memberCheckExists)return s.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 B=i(19510),D=i(25790),Z=i(81924),O=i(1797),M=i(36130);let{DEPLOY_ENV:j,MEMBER_AUTH_API:{TIMEOUT:G,URL:H},PIANO:V,brand:{shortSiteName:U}}=y.Z,$="production"===j,q=["collection","error","homepage","index","puzzle","search","topic"],z=(e,t)=>{if(e)try{e.push(t)}catch(e){s.Y.error("Error - piano push failed",r.log.EventType("Piano","tpSafePush"),r.log.Error(e))}},W=async({authSyncLogoutEnabled:e,isGoogleOverride:t,memberServicesDisabled:i,metadata:n,paywallBypassInfo:r,swgEnabled:a,user:o})=>{let l=((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})(n,r),s=(0,B.Hm)(o),d=(0,B.qm)(o),c=await T(i,o,e),u=(await (0,D.nz)(a))?.entitlements?.length>0,m=a&&(t||(await (0,D.Y_)(2e3)).isReadyToPay),p=(0,P.tZ)(),g=(0,P.n_)(),h=(0,P.oO)();z(window.tp,["init",()=>{var e;z(window.tp,["setTags",l]),z(window.tp,["setCustomVariable","hasAppAccess",p]),z(window.tp,["setCustomVariable","hasAppPremiumSubAccess",g]),z(window.tp,["setCustomVariable","hasAppSubAccess",h]),z(window.tp,["setCustomVariable","isCurrentGoogleEntitlement",u]),z(window.tp,["setCustomVariable","isExternalPurchaseSource",!!o?.externalPurchaseSource]),z(window.tp,["setCustomVariable","isIPBypass",!!r&&r.isIPBypass]),z(window.tp,["setCustomVariable","isReadyToPayWithGoogle",m]),z(window.tp,["setCustomVariable","subscriptionEntitlements",d]),z(window.tp,["setCustomVariable","subscriptionPlans",s]),z(window.tp,["setUsePianoIdLiteUserProvider",!0]),c&&z(window.tp,["setExternalJWT",c]),$&&V.CXENSE_SITE_ID&&z(window.tp,["setCxenseSiteId",V.CXENSE_SITE_ID]),z(window.tp,["setPageURL",window?.location?`${window.location.origin}${window.location.pathname}`:""]),e=window.tp,"production"!==j&&window.location.search.includes("pianoid=")&&window.location.search.split("pianoid=")[1].match(/^[a-zA-Z0-9]{10}$/)&&z(e,["setAid",window.location.search.split("pianoid=")[1].substring(0,10)]),window.tp.experience.execute()}])},Y=async e=>{e&&z(e,["addHandler","showTemplate",e=>{(0,Z.lQ)({event:"event",eventAction:"activation",eventAttribute:"",eventCategory:"piano",eventLabel:`${e.containerSelector}`,eventValue:"0"})}])},Q=async e=>{e&&z(e,["addHandler","showTemplate",e=>{(0,Z.lQ)({event:"piano event",eventAction:"activation",eventCategory:"piano",eventLabel:`${e.containerSelector}`,eventValue:"0",experienceId:`${e.experienceId}`,templateId:`${e.templateId}`,templateVariantId:`${e.templateVariantId??""}`})}])};var K=i(40966);let X=null,J=null,ee=e=>{let{containerSelector:t}=e;if(!X||!J)return;let{EVENTS:i,mappers:n,pushAnalyticsEvent:r}=X;switch(t){case`#${x.Nt}`:{let e=window.tp,t=e?.tags?.includes("tag[for subscribers]")??!1,a=n.assetInfo(J);r(t?{event:i.PAYWALL_IMPRESSION_SUBSCRIBER_ONLY,...a}:{event:i.PAYWALL_IMPRESSION_REGULAR,...a});break}case`#${x.d4}`:{let e=n.assetInfo(J);r({event:i.REGISTRATION_WALL_IMPRESSION,...e});break}case`#${x.M0}`:case`#${x.dV}`:{let e=n.assetInfo(J),a=t===`#${x.M0}`?"prompt":"toaster";r({event:i.METER_IMPRESSION,impression_type:a,...e})}}};var et=i(2596),ei=i(53896),en=i(96648),er=i(91309),ea=i(83949);let eo=()=>{let e,{PAGEBUILDER:{ENABLED:t}}=(0,a.Z)(),i=(0,o.Z)(),{query:b}=(0,n.x)(),y=!t&&i[et.PERM_FEATURE_FLAG_PIANO_ENABLED],S=i[et.TEMP_FEATURE_FLAG_PIANO_AUTH_SYNC_LOGOUT_ENABLED],E=i[et.PERM_FEATURE_FLAG_MEMBER_SERVICES_FORCE_DISABLED],w=i[et.TEMP_FEATURE_FLAG_PIANO_NEW_GTM_EVENT_ENABLED],A=(0,en.A)(),{pathname:C}=(0,ei.TH)(),F=(0,d.useRef)(""),_=(0,ea.aF)(),T=(0,ea.cN)(),P=(0,I.ZP)(),L=(0,K.G)();(0,d.useEffect)(()=>{X=P,J=L},[P,L]),(0,d.useMemo)(()=>{"undefined"!=typeof window&&z(window.tp,["addHandler","showTemplate",ee])},[]);let B=i[et.TEMP_FEATURE_FLAG_RRME_ENABLED],Z=i[et.PERM_FEATURE_FLAG_SWG_ENTITLEMENT]&&i[et.PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED],j=(0,er.P2)(),V=(0,er.nQ)(),$=j&&Z,eo=!Z||V,el=F.current===C,es="undefined"!=typeof window&&void 0===window.tp,[ed,ec]=(e=>{let t,i="undefined"!=typeof window&&window.location.href||"",n="undefined"!=typeof document&&document.referrer||"",{brand:{shortSiteName:o}}=(0,a.Z)(),{data:f,error:x}=(t=(0,h.w)(o),(0,p.a)(g,{context:{clientName:"api-front"},skip:e,ssr:!1,variables:{input:{brand:t,bypassURL:i,referrer:n}}})),[b,y]=(0,d.useMemo)(()=>x?(s.Y.error("Paywall Bypass GraphQL failure",r.log.EventType(...v),r.log.Error(x)),[k,void 0]):f?.paywallBypass?.error?(s.Y.error("Paywall Bypass error response",r.log.EventType(...v),r.log.Error(Error(f.paywallBypass.error.message))),[k,void 0]):f?[(e=>{if(!e)return u;let t={...u};for(let{type:i}of e){if(!i){s.Y.info("GraphQL response has a null bypass type! Ignored",r.log.EventType(...c));continue}if(!m.includes(i)){s.Y.info("GraphQL response has unknown bypass type! Ignored.",r.log.EventType(...c),r.log.String(i));continue}i===l.Jw.Facebook&&(t.isFacebookBypass=!0),i===l.Jw.Google&&(t.isGoogleBypass=!0),i===l.Jw.Ip&&(t.isIPBypass=!0)}return t})(f?.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}})(f)]:[e?k:void 0,void 0],[f,x,e]);return[b,y]})(!!(e=A?.type)&&q.includes(e.toLowerCase()));return(0,d.useEffect)(()=>{if(es)return void s.Y.error("piano config is not set",r.log.EventType("Piano","PianoComponent"));w?Q(window.tp):Y(window.tp),((e,t,i,n)=>{if(!i)return s.Y.error("Error - piano tp is not loaded",r.log.EventType("Piano","pushPianoEvent"));let a={authUrl:H,brand:U,loginID:"",password:"",redirectUrl:"undefined"==typeof window?"":window.location.href,timeoutMs:G};z(i,["addHandler","customEvent",async i=>{switch(i.eventName){case"swg":(0,D.pb)(i.params.bundle,e);break;case"siwg":n({...a,conflictCode:"",loginMethod:"google"});break;case"siwa":n({...a,conflictCode:"",loginMethod:"apple"});break;case"login":{(0,M.v)(i.params.email);let e=await R(i.params.email,t).then(e=>e);(0,O.lF)(e?O.CV.REG_WALL_LOGIN:O.CV.CREATE,{signupCopy:i.params.signupCopy});break}case"subscriberOnlyLogin":(0,O.lF)(O.CV.LOGIN);break;case"closeMeterToaster":{let e=document.querySelector(`#${x.dV}`);e&&e.classList.remove(x.e3)}}}])})(B,b,window.tp,f.x4)},[B,b,es,w]),(0,d.useEffect)(()=>{if(!y||!window.tp||!T||!eo||el||!A||!ed)return;F.current=C;let e=_;!e&&ec&&(e=ec,s.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",N()))),W({authSyncLogoutEnabled:S,isGoogleOverride:$,memberServicesDisabled:E,metadata:A,paywallBypassInfo:ed,swgEnabled:Z,user:e})},[S,ec,$,eo,el,E,A,C,ed,y,Z,_,T]),null}},91709:function(e,t,i){i.d(t,{x:()=>g});var n=i(52322),r=i(38936),a=i(41865),o=i(43743),l=i(2596),s=i(2784),d=i(98051),c=i(79644);let u=(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,#paywall-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,#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;}}"],c.Z.zIndex.paywall.hardWall,c.Z.query.large,c.Z.columnOffset(-1,7),c.Z.columnWidth(8,7),c.Z.query.mediumOnly,c.Z.columnOffset(-1,10),c.Z.columnWidth(12,10),c.Z.query.medium,c.Z.columnOffset(1,12),c.Z.columnWidth(10,12),c.Z.query.large,c.Z.columnWidth(7,12),c.Z.query.large,c.Z.query.large,c.Z.query.large,c.Z.columnOffset(-1,7),c.Z.query.mediumOnly,c.Z.columnOffset(-1,10),c.Z.query.large,c.Z.query.medium,c.Z.columnOffset(-1,12),c.Z.query.medium,c.Z.query.medium,c.Z.query.large,c.Z.columnOffset(5,12),c.Z.query.smallMax,c.Z.query.large,c.Z.query.large,c.Z.zIndex.paywall.softWall,c.Z.query.medium,c.Z.zIndex.modal,c.Z.query.medium,c.Z.zIndex.paywall.messaging,c.Z.zIndex.paywall.messaging,c.Z.zIndex.paywall.overlay,c.Z.query.medium,c.Z.zIndex.paywall.messaging,c.Z.query.medium,c.Z.query.medium,c.Z.query.medium),m=[d.d4],p=[d.Nt,d.mr,d.dD,d.Qg,d.jI,d.Q5,d.wb,d.vJ,d.xB,d.xy,d.ju,d.UN],g=(0,s.memo)(({assetSubType:e,assetType:t,pianoId:i})=>{let s=t?.toLowerCase(),c=e?.toLowerCase(),g=(0,a.Z)();if(!0===g[l.PERM_FEATURE_FLAG_PIANO_PAYWALL_UNAVAILABLE]&&p.includes(i)||!0===g[l.PERM_FEATURE_FLAG_PIANO_HARD_REG_WALL_UNAVAILABLE]&&m.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.jsxs)(r.ZP,{children:[(0,n.jsx)(u,{}),(0,n.jsx)("div",{className:"noPrint",id:i})]});case d.yj:return(0,n.jsx)(r.ZP,{children:(0,n.jsxs)(o.PianoSubscribeButtonContainer,{children:[(0,n.jsx)(u,{}),(0,n.jsx)("div",{className:"noPrint",id:i})]})});default:return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u,{}),(0,n.jsx)("div",{className:`noPrint ${s||""} ${c||""}`,id:i})]})}})},98051:function(e,t,i){i.d(t,{$j:()=>l,Ht:()=>m,I0:()=>b,Jn:()=>u,M0:()=>S,Nk:()=>n,Nt:()=>A,Q5:()=>I,Qg:()=>_,Ru:()=>r,UN:()=>Z,Zq:()=>o,aP:()=>C,bQ:()=>c,d4:()=>y,dD:()=>F,dV:()=>E,e3:()=>k,eT:()=>v,iV:()=>p,jI:()=>T,ju:()=>D,mr:()=>N,n2:()=>h,oC:()=>a,qF:()=>d,ru:()=>x,sx:()=>s,vJ:()=>L,wb:()=>P,xB:()=>R,xy:()=>B,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",h=1,v={PIANO_EXTERNAL_JWT_STORAGE_NAME:o},k="meter-toaster-piano-active",f="app-prompt-piano-id",x="comments-cta-piano-id",b="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",A="paywall-prompt-piano-id",N="paywall-prompt-wrapper-piano-id",C="soft-reg-wall-piano-id",F="crossword-premium-paywall-piano-id",_="crossword-premium-paywall-roller-piano-id",T="digital-editions-premium-paywall-piano-id",I="goodfood-guide-premium-paywall-piano-id",P="puzzle-premium-paywall-piano-id",L="sudoku-premium-paywall-piano-id",R="sudoku-premium-paywall-roller-piano-id",B="target-time-premium-paywall-piano-id",D="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:()=>v,u_:()=>d,vT:()=>h});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;"]),h=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),v=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 h=(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}),v=(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,x]=(0,s.useState)(!0),{brand:b}=(0,o.Z)(),y=b.shortSiteName;if(d)return null;let S=()=>{x(!1)};return(0,l.u)(b.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:h,theage:v,watoday:null}[b.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:()=>D});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),h=i(11110),v=i(72649),k=i(79916),f=i(25446),x=i(79644),b=i(78943);let y=b.ZP.div.withConfig({componentId:"sc-3dec28f5-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?x.Z.zIndex.header.base:x.Z.zIndex.header.navActive),S=b.ZP.div.withConfig({componentId:"sc-3dec28f5-1"})(["background-color:#fff;border-bottom:1px solid ",";left:0;position:absolute;right:0;top:0;"],e=>e.theme.colorLightAccent),{Content:E}=x.Z,w=b.ZP.form.withConfig({componentId:"sc-3dec28f5-2"})(["display:flex;flex-direction:column;padding:24px 0;@media ","{padding:64px 0 20px;position:relative;}label{",";}"],x.Z.query.large,x.Z.visuallyHidden),A=b.ZP.div.withConfig({componentId:"sc-3dec28f5-3"})(["align-items:center;display:flex;padding-bottom:4px;@media ","{padding-bottom:19px;}"],x.Z.query.medium),N=b.ZP.textarea.withConfig({componentId:"sc-3dec28f5-4"})(["border:0;color:",";display:block;field-sizing:content;font-family:",";font-size:22px;line-height:32px;outline:none;padding:0;resize:none;width:100%;@media ","{font-size:36px;line-height:46px;}@media ","{font-size:48px;line-height:56px;}&::placeholder{color:",";font-style:italic;font-weight:400;}"],e=>e.theme.colorDark,e=>e.$isGoodFood?e.theme.fontTertiary:e.theme.fontSecondary,x.Z.query.medium,x.Z.query.large,e=>e.theme.colorMidAccent),C=b.ZP.div.withConfig({componentId:"sc-3dec28f5-5"})(["align-self:flex-end;white-space:nowrap;"]),F=b.ZP.button.withConfig({componentId:"sc-3dec28f5-6"})(["cursor:pointer;padding:0;position:relative;visibility:",";&:first-child{margin:0 25px 0 12px;&::after{border-right:1px solid ",";content:'';height:100%;position:absolute;right:-13px;top:-3px;width:0;}}@media ","{&:first-child{margin:0 32px 0 8px;&::after{right:-16px;top:0;}}}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,x.Z.query.medium,x.Z.visuallyHidden,x.Z.setSVGStrokeWidth(24),x.Z.query.smallMax,x.Z.query.medium,x.Z.setSVGStrokeWidth(40),x.Z.query.large),_=b.ZP.fieldset.withConfig({componentId:"sc-3dec28f5-7"})(["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=b.ZP.legend.withConfig({componentId:"sc-3dec28f5-8"})(["",";"],x.Z.visuallyHidden),I=b.ZP.span.withConfig({componentId:"sc-3dec28f5-9"})(["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,x.Z.query.small),P=b.ZP.button.withConfig({componentId:"sc-3dec28f5-10"})(["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,x.Z.visuallyHidden,x.Z.query.small);var L=i(22068);let R=e=>{e.focus()},B=(e,t,i)=>t===v.AX?(0,d.Tr)(i):t===v.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}`,D=({isOpen:e,onClose:t,opener:i,forceMetroSearch:d})=>{let[x,b]=(0,p.useState)(""),D=(0,h._)(),Z=(0,p.useRef)(null),O=(0,p.useRef)(null),M=(0,p.useRef)(null),{brand:j}=(0,c.Z)(),G=(0,k.Un)((0,g.TH)().pathname),H=d?void 0:G,V=H===v.AX,U=H===v.zE;(0,u.Z)([i,O],e?t:()=>void 0);let $=(0,m.Z)(),q=()=>{Z.current?.focus()};(0,p.useEffect)(()=>(e&&O.current&&((0,l.Qp)(O.current,{reserveScrollBarGap:!0}),M.current=O.current.querySelectorAll("textarea, button")),b(""),q(),document.body?.classList.toggle("modalBodyOpen",e),()=>{(0,l.tP)()}),[e]);let z=(0,p.useCallback)(e=>{let{key:t,shiftKey:i}=e;if(!M.current?.length||"Tab"!==t)return;let n=M.current[0],r=x?M.current[M.current.length-1]:M.current[2];if(i){document.activeElement===n&&(R(r),e.preventDefault());return}document.activeElement===r&&(R(n),e.preventDefault())},[x]);return e&&(0,n.jsx)(y,{$isGoodFood:V,$isSticky:D,"data-testid":"search-overlay",children:(0,n.jsx)(S,{onKeyDown:e=>{"Escape"===e.code&&t()},ref:O,children:(0,n.jsx)(E,{children:(0,n.jsxs)(w,{$isGoodFood:V,action:H===v.AX?"/goodfood/search":H===v.zE?"/traveller/search":"/search",autoComplete:"off",method:"GET",onKeyDown:z,children:[U&&(0,n.jsx)("input",{"data-testid":"travel-section",name:"section",type:"hidden",value:"travel"}),$&&(0,n.jsx)("input",{name:"isSemanticSearch",type:"hidden",value:"true"}),$&&(0,n.jsx)(s.Z,{onDarkBackground:!0}),(0,n.jsxs)(A,{$isGoodFood:V,children:[(0,n.jsx)("label",{htmlFor:"search-input",children:B(j,H,$)},"searchLabel"),(0,n.jsx)(N,{$isGoodFood:V,id:"search-input",maxLength:$?f.y:f.v,name:"text",onChange:e=>{b(e.target.value)},onKeyDown:L.W,placeholder:B(j,H,$),ref:Z,required:!0,rows:1,value:x},"searchInput"),(0,n.jsxs)(C,{children:[(0,n.jsxs)(F,{$visible:!!x,onClick:()=>{b(""),q()},type:"button",children:[(0,n.jsx)("span",{children:"Clear search"}),(0,n.jsx)(a.Z,{})]},"clearButton"),(0,n.jsxs)(F,{$visible:!0,type:"submit",children:[(0,n.jsx)("span",{children:B(j,H,$)}),$?(0,n.jsx)(r.Z,{}):(0,n.jsx)(o.Z,{})]},"searchButton")]},"searchButtons")]},"searchTerm"),V&&(0,n.jsxs)(_,{$showOptions:!!x,children:[(0,n.jsx)(T,{children:"Take me to"}),(0,n.jsx)(I,{"aria-hidden":"true",children:"Take me to"}),(0,n.jsxs)(P,{name:"section",tabIndex:x?0:-1,type:"submit",value:v.V$,children:[(0,n.jsx)("span",{children:"Search "}),"Everything"]},"food"),(0,n.jsxs)(P,{name:"section",tabIndex:x?0:-1,type:"submit",value:v.PR,children:[(0,n.jsx)("span",{children:"Search "}),"Recipes"]},"recipes"),(0,n.jsxs)(P,{name:"section",tabIndex:x?0:-1,type:"submit",value:v.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:()=>v});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;"]),h=(0,u.ZP)(d.aV).withConfig({componentId:"sc-960ce7f0-3"})(["pointer-events:none;"]),v=()=>{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)(h,{...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=h.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),x=h.ZP.span.withConfig({componentId:"sc-f9fd009-3"})(["display:inline-block;padding-left:8px;position:relative;"]),b=({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)(x,{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)(x,{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)(A,{}),(0,d.jsx)(x,{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 h=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)(v,{children:[!e&&!t&&(0,d.jsx)(k,{isAbove:!1,children:"or"}),(0,d.jsx)(N,{handleLogin:p,showButton:h("google"),showError:o}),(0,d.jsx)(b,{handleLogin:s,showButton:h("apple"),showError:o}),(0,d.jsx)(E,{handleLogin:g,showButton:h("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:()=>h,buff:()=>v,colorAction:()=>eh,colorAction40:()=>ev,colorActionAlt:()=>ek,colorActionDark:()=>ef,colorActionDarkest:()=>ex,colorActionLight:()=>eb,colorActionOnDark:()=>ey,colorAwardTitle:()=>eS,colorBrand:()=>eE,colorBrandOffset:()=>ew,colorBrisbaneTimesActionAlt:()=>tn,colorBrisbaneTimesOpinion:()=>tr,colorButtonInactive:()=>eA,colorButtonSecondary:()=>eN,colorButtonSecondaryHover:()=>eC,colorButtonSecondaryText:()=>eF,colorCommenterRole:()=>e_,colorCommentingBox:()=>eT,colorCommentsAction:()=>eI,colorCommentsActionFill:()=>eP,colorCommentsActionHover:()=>eL,colorCommentsDivider:()=>eR,colorCommentsTimestamp:()=>eB,colorDark:()=>eD,colorDarkAccent:()=>eZ,colorDomain:()=>eO,colorDomainBannerBackground:()=>eM,colorDomainText:()=>ej,colorExplainer:()=>eG,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:()=>eX,colorOpinion:()=>eJ,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:()=>x,crownOfThorns:()=>f,desertStorm:()=>b,doveGray:()=>y,eggWhite:()=>S,emperor:()=>W,endeavour:()=>E,gallery:()=>w,gimblet:()=>A,gold100:()=>Y,goldenBrown:()=>N,goldenMustard:()=>C,grey:()=>F,guardsmanRed:()=>_,japaneseLaurel:()=>T,japaneseLaurelLight:()=>I,malibu:()=>P,metroGrey100:()=>K,metroGrey200:()=>X,metroGrey300:()=>J,metroGrey400:()=>ee,metroGrey500:()=>et,metroGrey600:()=>ei,metroGrey700:()=>en,mineShaft:()=>Q,mischka:()=>L,pattensBlue:()=>R,peppermint:()=>B,persimmon:()=>D,pizazz:()=>Z,red100:()=>O,red600:()=>M,rhino:()=>j,riverBed:()=>G,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",h="#cf9b00",v="#f2d984",k="#004080",f="#751e3a",x="#d9172f",b="#f7f6f5",y="#555",S="#fff1c7",E="#0053a6",w="#F0F0F0",A="#b4a55a",N="#946f00",C="#996500",F="#767676",_="#b80208",T="#008000",I="#0EA800",P="#58b5ff",L="#d7dbe3",R="#d9edff",B="#f3faf2",D="#ff6347",Z="#ff8b00",O="#ffd6d4",M="#a80e21",j="#38366a",G="#454f64",H="#faf5e6",V="#096dd2",U="#677085",$="#4095ec",q="#e5bd39",z="#000",W="#666",Y="#faf5e6",Q="#232323",K="#f0f0f0",X="#d4d4d4",J="#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",eh=V,ev=`${V}66`,ek=V,ef=E,ex=k,eb=$,ey=P,eS=C,eE=p,ew=c,eA=J,eN="none",eC=X,eF=ei,e_=et,eT=ee,eI=ei,eP=ee,eL=en,eR=X,eB=ee,eD=Q,eZ=G,eO=I,eM=B,ej=l,eG=D,eH=r,eV=T,eU=x,e$=_,eq=D,ez=L,eW=o,eY=y,eQ=n,eK=F,eX=g,eJ=o,e1=Z,e0=S,e2=s,e5=j,e4=f,e3=A,e8=H,e6=v,e9=q,e7=h,te=N,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:()=>h,Content:()=>f,FauxLink:()=>w,LinkBrand:()=>P,LinkInverse:()=>C,LinkStandard:()=>_,OverlayModal:()=>L,PianoSubscribeButtonContainer:()=>R,centre:()=>k,collectionMotif:()=>v,columnOffset:()=>b,columnWidth:()=>y,fauxLink:()=>E,featureArticleCentre:()=>A,linkBrand:()=>I,linkInline:()=>T,linkInverse:()=>N,linkOnHoverStyle:()=>c,linkStandard:()=>F,setSVGStrokeWidth:()=>S,visuallyHidden:()=>B});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),h=(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),v=(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)),x=(e,t,i)=>`(100% * ${e/t}) - (${i} * ${(t-e)/t})`,b=(e,t,i="24px")=>`calc(${x(e,t,i)} + ${i})`,y=(e,t,i="24px")=>`calc(${x(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),A=(0,n.iv)(["@media ","{margin-left:auto;margin-right:auto;max-width:576px;}@media ","{max-width:620px;}"],r.query.medium,r.query.large),N=(0,n.iv)(["color:#fff;text-decoration:none;&:focus,&:hover{text-decoration:underline;}"]),C=n.ZP.a.withConfig({componentId:"sc-3f16ee48-11"})(["",""],N),F=(0,n.iv)(["color:",";cursor:pointer;text-decoration:none;&:focus,&:hover{text-decoration:underline;}"],e=>e.theme.colorDark),_=n.ZP.a.withConfig({componentId:"sc-3f16ee48-12"})(["",""],F),T=(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),I=(0,n.iv)(["color:",";cursor:pointer;text-decoration:underline;"],e=>e.theme.colorBrand600),P=n.ZP.a.withConfig({componentId:"sc-3f16ee48-13"})(["",""],I),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),B=` 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,fontWeightKeyPostTimestamp:"normal",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,fontWeightKeyPostTimestamp:"bold",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:()=>v});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 h=(0,i(78943).ZP)(g.Z.ButtonStandard).withConfig({componentId:"sc-1b52376c-0"})(["font-weight:",";text-decoration:none;"],e=>e.theme.fontWeightSubscribeButton),v=({className:e,promotionPrefix:t,tracking:i})=>{let{brand:{shortSiteName:g},SUBSCRIPTION:{CHANNEL_KEY:v}}=(0,r.Z)(),k=(0,a.Z)(),[f,x]=(0,c.useState)(""),b=(0,p.aF)(),y=(0,o.kk)(b),{appAccess:S,appPremiumSubAccess:E,appSubAccess:w}=(0,u.P)();if((0,c.useEffect)(()=>{x(encodeURIComponent(window.location.href))},[]),b?.externalPurchaseSource||S||E||w||(0,o.AY)(b)||y&&!(0,o.u)(g))return null;let A=`https://subscribe.${g}.com.au/?channel_key=${v}&callback_uri=${f}&promote_channel=${t}_GNL&utm_source=PremiumLogin&utm_medium=HouseInventory&utm_campaign=General`,N=`https://${g}.myfairfax.com.au/members/my_account?channel_key=${v}&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)(h,{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?N:A,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:()=>P});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;"]),h=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 v=i(2784),k=i(37149),f=i.n(k),x=i(91309);let b="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...",A=()=>{let e=(0,x.dI)();return(0,n.jsx)(f(),{bodyOpenClassName:"modalBodyOpen",className:"modalContent",isOpen:e!==x.XK.closed,overlayClassName:"modalOverlay",children:(0,n.jsxs)(m,{children:[e===x.XK.error&&(0,n.jsxs)(v.Fragment,{children:[(0,n.jsx)(p,{children:S}),(0,n.jsx)(g,{children:b}),(0,n.jsx)(h,{onClick:()=>window.location.reload(),type:"button",children:y})]},"error"),e===x.XK.loading&&(0,n.jsxs)(v.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 N=i(25790),C=i(13457),F=i(2596),_=i(58491),T=i(53896),I=i(83949);let P=()=>{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,T.TH)(),{search:p}=(0,T.TH)(),g=(0,I.aF)(),[h,k]=(0,v.useState)(!1),f=`${"undefined"==typeof window?"":window.location.origin}${m.pathname}${m.search}`,b=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"===_.Z.parse(p).isGoogle;return(0,v.useEffect)(()=>{y&&(N.S1(b),(0,C.v)("https://news.google.com/swg/js/v1/swg.js",!0,!1,void 0,()=>{k(!0)}))},[b,y]),(0,v.useEffect)(()=>{x.Jc(E),x.vD(!0)},[E]),(0,v.useEffect)(()=>{if(!y||!S||!h)return;let n=()=>(0,l.x4)({authUrl:i,brand:c,loginID:"",loginMethod:"google",password:"",redirectUrl:f,timeoutMs:t});N.nz(y).then(t=>{if(t.enablesThis()){t.ack();let i=t.entitlements.find(e=>e.products.includes(d)&&"google:subscriber"!==e.source);i&&N.Qo(e,t,(0,s.kk)(g),x.eV,i.subscriptionToken,n)}})},[e,t,i,f,y,S,d,c,g,h]),(0,n.jsx)(A,{})}},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:()=>O,pb:()=>M,pI:()=>Y,Y_:()=>G,nz:()=>j,Qo:()=>V,p:()=>W});let n={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:"token"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:178,source:{body:"query entitlementTokenByBrandQuery($entitlementTokenByBrandInput:EntitlementTokenByBrandInput!){entitlementTokenByBrand(input:$entitlementTokenByBrandInput){error{message}token}}"}}},r={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}}"}}},a={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 o=i(17845),l=i(33460),s=i(62186),d=i(58704),c=i(31106),u=i(17741);let{brand:{shortSiteName:m}}=c.Z,p={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}}"}}},g=async(e,t,i,n,r=d.Z.mutate)=>{let a=await r({context:{clientName:"api-front"},mutation:p,variables:{input:{brand:(0,u.w)(m),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:h}}=c.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}}"}}},k=async(e,t,i,n=d.Z.mutate)=>{let r=await n({context:{clientName:"api-front"},mutation:v,variables:{input:{brand:(0,u.w)(h),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 f=i(56038),x=i(81924),b=i(9259),y=i(28067),S=i(69414),E=i(91309);let w={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"CreateEntitlementToken"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"createEntitlementTokenInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateEntitlementTokenInput"}}}}],operation:"mutation",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createEntitlementToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"createEntitlementTokenInput"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:184,source:{body:"mutation CreateEntitlementToken($createEntitlementTokenInput:CreateEntitlementTokenInput!){createEntitlementToken(input:$createEntitlementTokenInput){token error{message type{class}}}}"}}},A={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}}"}}},N={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:C,RRME_OFFER_ID_ALLDIGITAL:F,SKU_WEBBASIC:_,SKU_ALLDIGITAL:T}}=c.Z,I="google",P={ack:()=>null,enablesThis:()=>!1,entitlements:[],isReadyToPay:!1},L=i.g,R=e=>{(0,x.GK)();try{let{orderId:t,packageName:i,productId:n}=JSON.parse(e);(0,x.gc)(t,i,n)}catch(e){S.Y.error("Error parsing purchase data",o.log.EventType("SubscribeWithGoogle","sendPurchaseAnalytics"),o.log.Error(e))}},B=async e=>{try{let t=await e,{purchaseData:{raw:i},userData:{idToken:n}}=t;R(i);let{packageName:r,productId:a,purchaseToken:o}=JSON.parse(i),{requestId:d}=await k(n,{packageName:r,productId:a,token:o,type:y.Oz.New},window.location.href),{tokenURL:c}=await (0,s.al)(d);await t.complete(),(0,E.jo)(E.XK.loading),(0,l.ED)(I,c)}catch(e){(0,E.jo)(E.XK.error),S.Y.error("Error processing on payment response",o.log.EventType("SubscribeWithGoogle","onPaymentResponse"),o.log.Error(e))}},D=async e=>{try{let t=await e,{purchaseData:{raw:i},raw:n,userData:{idToken:r}}=t;R(i);let{signedEntitlements:a}=JSON.parse(n),{requestId:o}=await g(r,y.Oz.New,window.location.href,a),{tokenURL:d}=await (0,s.al)(o);await t.complete(),(0,E.jo)(E.XK.loading),(0,l.ED)(I,d)}catch(e){(0,E.jo)(E.XK.error),S.Y.error("Error processing on RRME payment response",o.log.EventType("SubscribeWithGoogle","onRrmePaymentResponse"),o.log.Error(e))}},Z=e=>{window.SWG=window.SWG||[],window.SWG.push(t=>{L.globalSubscriptions=t,e(t)})},O=e=>{L.globalSubscriptions=L.globalSubscriptions||{},Z(t=>{e?(t.setOnPaymentResponse(D),t.configure({paySwgVersion:"2"})):t.setOnPaymentResponse(B)})},M=(e,t)=>{let i=t?C:_,n={WebBasic:i,AllDigital:t?F:T};Z(t=>{let r=n[e]??i;t.subscribe(r)})},j=async e=>{if(L.globalSubscriptions&&"function"==typeof L.globalSubscriptions.getEntitlements&&e)try{return await L.globalSubscriptions.getEntitlements()}catch(e){S.Y.error("Unable to get SWG entitlements",o.log.EventType("SubscribeWithGoogle","getGoogleEntitlements"),o.log.Error(e))}return{ack:()=>null,enablesThis:()=>!1,entitlements:[],isReadyToPay:!1}},G=async(e=3e4)=>{if(H())return P;try{return await (0,b.V)(new Promise((e,t)=>{Z(i=>{i.getEntitlements().then(e).catch(t)})}),e,["SubscribeWithGoogle","getEntitlements"])}catch(e){return S.Y.error("Unable to get SWG entitlements",o.log.EventType("SubscribeWithGoogle","getGoogleEntitlementsTimeout"),o.log.Error(e)),P}},H=()=>"object"==typeof navigator&&!!navigator.userAgent&&/(googlebot|bingbot|yandexbot)/i.test(navigator.userAgent),V=(e,t,i,n,a,d)=>{let c;try{c=JSON.parse(a)}catch(e){S.Y.error("Unable to parse subscription token",o.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"),o.log.Error(e));return}let{packageName:u,productId:m,purchaseToken:p}=c,{query:g}=e;g({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:r,variables:{packageName:u,productID:m,token:p}}).then(({data:r})=>{if(!r?.verifyGoogleEntitlement)return void S.Y.error("Empty verify google entitlement response",o.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"));let{verifyGoogleEntitlement:a}=r;if(a.error)return void S.Y.error("Failed verifying google entitlement",o.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"),o.log.String("query_error_msg",a.error));if(a.status===y.h0.EmailConflict){n(a.status),L.globalSubscriptions.waitForSubscriptionLookup(new Promise(e=>setTimeout(e,2e3))).then(()=>{L.globalSubscriptions.showLoginPrompt().then(()=>{L.globalSubscriptions.showLoginNotification().then(async()=>{d()}).catch(e=>{S.Y.error("Unable to complete user Google login",o.log.EventType("SubscribeWithGoogle","showGoogleLoginPrompt"),o.log.Error(e))})}).catch(e=>{S.Y.error("Unable to show Google user login prompt",o.log.EventType("SubscribeWithGoogle","showGoogleLoginPrompt"),o.log.Error(e))})}).catch(e=>{S.Y.error("Unable to perform Google subscription lookup",o.log.EventType("SubscribeWithGoogle","showGoogleLoginPrompt"),o.log.Error(e))});return}a.status===y.h0.Linked&&i||a.status===y.h0.NotLinked&&((e,t,i,n,r)=>{let{mutate:a}=e;L.globalSubscriptions.waitForSubscriptionLookup(new Promise(e=>setTimeout(e,2e3))).then(()=>{L.globalSubscriptions.completeDeferredAccountCreation({consent:!0,entitlements:t}).then(e=>{let{userData:{email:t,idToken:d}}=e,{location:{href:c}}=window;a({context:{clientName:"api-front"},mutation:A,variables:{publishEntitlementInput:{email:t,packageName:i,productId:n,token:r}}}).then(async({data:t})=>{let a=t?.publishEntitlement?.status;if(a!==y.mG.StatusSuccess&&a!==y.mG.StatusInProgress)return void S.Y.error("Failed publishing entitlement",o.log.EventType("SubscribeWithGoogle","triggerDeferredAccountCreation"));try{let{requestId:t}=await k(d,{packageName:i,productId:n,token:r,type:y.Oz.Deferred},c),{tokenURL:a}=await (0,s.al)(t);await e.complete(),(0,E.jo)(E.XK.loading),(0,l.ED)(I,a)}catch(e){(0,E.jo)(E.XK.error),S.Y.error("Error during deferred account creation",o.log.EventType("SubscribeWithGoogle","triggerDeferredAccountCreation"),o.log.Error(e))}}).catch(e=>{S.Y.error("Error publishing entitlement",o.log.EventType("SubscribeWithGoogle","triggerDeferredAccountCreation"),o.log.Error(e))})})})})(e,t,u,m,p)}).catch(e=>{S.Y.error("Error verifying google entitlement",o.log.EventType("SubscribeWithGoogle","startSWGDeferredAccountFlow"),o.log.Error(e))})},U=async(e,t)=>{try{let{data:i}=await t({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:n,variables:{entitlementTokenByBrandInput:{brand:e}}});if(!i?.entitlementTokenByBrand)return S.Y.error("No data returned in getting entitlement token",o.log.EventType("SubscribeWithGoogle","getEntitlementToken")),"";let{error:r,token:a}=i.entitlementTokenByBrand;if(r)return S.Y.error("Error occurred in retrieving entitlement token",o.log.EventType("SubscribeWithGoogle","getEntitlementToken"),o.log.String("query_error_msg",r)),"";return a}catch(e){return S.Y.error("Unexpected service error in retrieving entitlement token",o.log.EventType("SubscribeWithGoogle","getEntitlementToken"),o.log.Error(e)),""}},$=async(e,t)=>{try{let{data:i}=await t({context:{clientName:"api-front"},mutation:w,variables:{createEntitlementTokenInput:{brand:e}}});if(!i?.createEntitlementToken)return S.Y.error("No data returned in creating entitlement token",o.log.EventType("SubscribeWithGoogle","generateEntitlementToken")),"";let{error:n,token:r}=i.createEntitlementToken;if(n)return S.Y.error("Error occurred in generating entitlement token",o.log.EventType("SubscribeWithGoogle","generateEntitlementToken"),o.log.String("mutation_error_msg",n)),"";return r}catch(e){S.Y.error("Failed to create entitlement token",o.log.EventType("SubscribeWithGoogle","generateEntitlementToken"),o.log.Error(e))}return""},q=async(e,t)=>{try{let{data:i}=await t({context:{clientName:"api-front"},fetchPolicy:"no-cache",query:a,variables:{entitlementTokenByBrandInput:{brand:e}}});if(!i?.entitlementTokenByBrand)return S.Y.error("No data returned in getting Google PPID",o.log.EventType("SubscribeWithGoogle","getGooglePPID")),null;let{error:n,googlePpid:r,linked:l}=i.entitlementTokenByBrand;if(n)return S.Y.error("Error occurred in retrieving Google PPID",o.log.EventType("SubscribeWithGoogle","getGooglePPID"),o.log.String("query_error_msg",n)),null;return{googlePpid:r,linked:l}}catch(e){return S.Y.error("Unexpected service error in retrieving Google PPID",o.log.EventType("SubscribeWithGoogle","getGooglePPID"),o.log.Error(e)),null}},z=async(e,t,i,n)=>{try{let{data:r}=await t({context:{clientName:"api-front"},mutation:N,variables:{linkSubscriptionInput:{brand:e,ppid:i,subscriptionNumber:n}}});if(!r||!r.linkSubscription)return void S.Y.error("No data in the response from linking subscription",o.log.EventType("SubscribeWithGoogle","linkSubscriptionMutation"),o.log.String("mutation_error_msg","No data returned"));let{error:a}=r.linkSubscription;if(a)return void S.Y.error("Error occurred in linking subscription",o.log.EventType("SubscribeWithGoogle","linkSubscriptionMutation"),o.log.String("mutation_error_msg",a))}catch(e){S.Y.error("Error requesting linking subscription",o.log.EventType("SubscribeWithGoogle","linkSubscriptionMutation"),o.log.Error(e))}},W=async(e,t,i)=>{if(await U(e,i))return;let n=await $(e,t);if(!n)return void S.Y.error("Error occurred in creating new entitlement token",o.log.EventType("SubscribeWithGoogle","saveSWGSubscription"));(0,x.DO)(f.me),await L.globalSubscriptions.saveSubscription(()=>({token:n})).then(e=>{e?(0,x.DO)(f.d9):S.Y.error("No result returned when saving subscription",o.log.EventType("SubscribeWithGoogle","saveSWGSubscription"))}).catch(e=>{S.Y.error("Error occurred in google save subscription",o.log.EventType("SubscribeWithGoogle","saveSWGSubscription"),o.log.Error(e))})},Y=async(e,t,i,n)=>{let r=await q(e,i);if(!r)return void S.Y.error("Failed to retrieve Google PPID",o.log.EventType("SubscribeWithGoogle","linkSubscription"));let{googlePpid:a,linked:l}=r;if(!a)return void S.Y.error("No Google PPID returned",o.log.EventType("SubscribeWithGoogle","linkSubscription"));if(!l){(0,x.DO)(f.me);try{let i=await L.globalSubscriptions.linkSubscription({publisherProvidedId:a});if(!i)return void S.Y.error("No result returned when linking subscription",o.log.EventType("SubscribeWithGoogle","linkSubscription"));i.success&&(await z(e,t,a,n),(0,x.DO)(f.d9))}catch(e){S.Y.error("Error occurred in google link subscription",o.log.EventType("SubscribeWithGoogle","linkSubscription"),o.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:()=>Z,$e:()=>C,$t:()=>eu,$w:()=>z,B$:()=>K,BL:()=>A,BZ:()=>Q,CR:()=>E,DR:()=>y,Ds:()=>es,EJ:()=>ef,F7:()=>M,Fz:()=>J,G0:()=>g,Gr:()=>V,Gx:()=>eh,Gz:()=>ec,HF:()=>ea,Hw:()=>v,JW:()=>er,Jj:()=>eA,Jw:()=>G,Ks:()=>b,LK:()=>ek,MG:()=>w,Mh:()=>U,OZ:()=>c,Ox:()=>em,P2:()=>p,PP:()=>ed,PW:()=>f,Qq:()=>I,R1:()=>a,RX:()=>u,SN:()=>eS,Sw:()=>o,U$:()=>F,VR:()=>j,Vg:()=>eC,W0:()=>ep,XE:()=>T,Z$:()=>ew,Zj:()=>W,Zq:()=>S,_g:()=>d,bQ:()=>_,d3:()=>r,d6:()=>eo,d7:()=>B,d9:()=>eb,eM:()=>m,f5:()=>Y,g4:()=>n,jB:()=>ev,jU:()=>eg,ji:()=>l,jt:()=>s,kl:()=>et,ld:()=>el,mL:()=>eE,mc:()=>x,me:()=>ex,mo:()=>ei,o4:()=>eN,oE:()=>q,oF:()=>ee,oj:()=>R,q7:()=>D,q9:()=>h,qf:()=>$,sF:()=>N,tm:()=>X,vM:()=>ey,vk:()=>P,w4:()=>O,wJ:()=>k,xx:()=>H,zQ:()=>en,zX:()=>L});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",h="view",v="comment",k="CoralTalk",f="0",x="End of article hit",b="event",y="authentication",S="google preferred source click",E="google preferred source",w="close",A="open",N="header",C="cta click",F="log in",_="subscribe",T="live article",I="cta click",P="show more",L="outbrain called",R="outbrain",B="outbrain displayed",D="create account",Z="forget password",O="home",M="impression",j="login",G="resend email",H="subscribe link click",V="registration wall",U="step 3 - check email",$="step 3 - login fallback",q="step 3 - login",z="step 3 - registration",W="step 3 - verification required",Y="related content widget",Q="internal link",K="0",X="impression",J="retention prompt",ee="remind me later",et="update now",ei="search",en="hide",er="show",ea="site",eo="no results",el="execute",es="menu",ed="authentication",ec="cta click",eu="siwg",em="cta click",ep="event_unstruct_sectionclick",eg="subscriptionComplete",eh="transaction",ev="meter",ek="subscription",ef="confirmation panel",ex="SWG store prompt",eb="SWG store success",ey="Paywall",eS="SWG subscribe success",eE="text to audio",ew="load",eA="suppressed",eN="video",eC="virtualPageReady"},81924:function(e,t,i){i.d(t,{CN:()=>b,CS:()=>D,DO:()=>T,GK:()=>P,Gi:()=>R,H8:()=>v,I5:()=>S,J9:()=>B,L9:()=>c,NN:()=>E,OU:()=>g,QZ:()=>k,Qb:()=>w,S2:()=>h,T7:()=>y,V2:()=>u,Z1:()=>A,cc:()=>F,f9:()=>N,fH:()=>_,gc:()=>I,ko:()=>x,lQ:()=>m,lg:()=>p,m4:()=>L,ow:()=>f,vU:()=>C,yM:()=>s});var n=i(31106),r=i(65677),a=i(56038);let{brand:{longSiteName:o,shortSiteName:l}}=n.Z,s=(e,t,i="",n=0,r="")=>({action:t,category:e,label:i,value:n,property:r}),d=(e,t="",i="",n="",r="",a="")=>({event:e,eventAction:i,eventAttribute:a,eventCategory:t,eventLabel:n,eventValue:r}),c=(e,t=0)=>{t>3||(window?.alib?.trackEvent?window?.alib?.trackEvent(e):setTimeout(()=>c(e,t+1),1e3))},u=(e,t,i=0)=>{i>3||(window?.alibSnowplow?window.alibSnowplow(e,t):setTimeout(()=>u(e,t,i+1),1e3))},m=e=>{(0,r.U)()&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))},p=e=>{m(d(a.Ks,a.d3,a.g4,e))},g=e=>{m(d(a.Ks,a.Hw,a.q9,e,a.PW,a.wJ))},h=e=>{c(s(a.mc,a.mc,e))},v=(e,t,i)=>{let n=e.regularPrice/100;e.discountedPrice&&e.promotionCode&&(n=e.discountedPrice/100),m({...d(a.jU),brand:o,productCoupon:e.promotionCode,productID:e.packageID,productName:e.displayName,productPrice:n,transactionId:t,userID:i})},k=e=>{c(s(a.CR,a.Zq,e))},f=(e,t)=>{m(d(a.Ks,a.sF,e,t))},x=()=>{m(d(a.Ks,a.XE,a.Qq,a.vk,a.PW))},b=(e,t="")=>{m(d(a.Ks,a.oj,e,"",a.PW,t))},y=(e,t,i="")=>{m(d(a.Ks,a.Gr,e,t,void 0,i))},S=e=>{m(d(a.Ks,a.BZ,a.f5,e,a.PW))},E=()=>{m(d(a.Ks,a.Fz,a.tm,"",a.B$))},w=()=>{m(d(a.Ks,a.Fz,a.oF,"",a.B$))},A=()=>{m(d(a.Ks,a.Fz,a.kl,"",a.B$))},N=(e,t,i)=>{m(d(a.Ks,a.mo,e,i,a.PW,t))},C=()=>{m(d(a.Ks,a.PP,a.Gz,a.$t,a.PW))},F=e=>{m(d(a.Ks,a.DR,e,"",a.PW))},_=(e,t,i,n)=>{m({...d(a.W0,e,a.Ox),articlePosition:n,contentUnitName:t,contentUnitPosition:i})},T=e=>{c(s(a.LK,e,a.EJ))},I=(e,t,i)=>{m({...d(a.Gx),ecommerce:{products:[{brand:l,category:"",coupon:"",id:i,name:t,price:"",quantity:1,variant:""}],purchase:{actionField:{affiliation:"",coupon:"",id:e,revenue:"",shipping:0,tax:0}}}})},P=()=>{c(s(a.jB,a.SN,a.vM))},L=(e,t)=>{c(s(a.mL,e,t))},R=(e,t="")=>{c(s(a.o4,e,t))},B=()=>{var e;m(d(a.Vg)),e=d(a.Vg),(0,r.U)()&&(window.dataLayerGA4=window.dataLayerGA4||[],window.dataLayerGA4.push(e))},D=(e,t,i)=>{m(d(a.Ks,a.mo,e,t,a.PW,i))}},27297:function(e,t,i){i.d(t,{DZ:()=>G,Gf:()=>M,Hz:()=>V,I7:()=>B,Ok:()=>j,ZP:()=>X,kG:()=>$,kl:()=>U,ko:()=>H,kr:()=>O,oP:()=>q,x4:()=>D,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),h=i(63295),v=i(73769),k=i(16026),f=i(83418),x=i(657),b=i(14019),y=i(6826),S=i(9654),E=i(40029),w=i(28687),A=i(4385),N=i(65933),C=i(54783),F=i(47748),_=i(71704),T=i(39021),I=i(81232),P=i(40648),L=i(50109),R=i(37917);let B="aaa",D="d",Z="EEEE",O="h",M="HH",j="yyyy-MM-dd'T'HH:mm:ssxxx",G="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:h.K,hour:v.f,minute:k.x,month:f.x,second:x.q,year:b.F},Q={day:y.b,hour:S.o,minute:E.F,month:w.N,second:A.m,year:N.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,_.Q)(this.datetime,{addSuffix:!0})}fromNowStrict(){return(0,T.D)(this.datetime,{addSuffix:!0})}isAfter(e){return(0,I.A)(this.datetime,K.getDateTime(e))}isBefore(e){return(0,P.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 X=K},80282:function(e,t,i){i.r(t),i.d(t,{END_OF_ARTICLE_HIT_EVENT:()=>n,HEADER_INTERACTION_EVENT:()=>r,INTERACTION_LABEL_LOG_IN:()=>o,INTERACTION_LABEL_SEARCH:()=>l,INTERACTION_TYPE_CLICK:()=>a,LOGIN_FAILED_EVENT:()=>d,LOGIN_SUCCESS_EVENT:()=>c,MENU_NAVIGATION_EVENT:()=>s,METER_IMPRESSION:()=>b,PAYWALL_IMPRESSION_REGULAR:()=>f,PAYWALL_IMPRESSION_SUBSCRIBER_ONLY:()=>x,REGISTRATION_WALL_IMPRESSION:()=>y,SAVE_EVENT:()=>u,SHARE_ARTICLE:()=>m,SITE_SEARCH_EVENT:()=>p,SOCIAL_EVENT:()=>g,TTA_LISTENED_EVENT:()=>h,VIDEO_EVENT:()=>v,VIEW_COMMENTS_EVENT:()=>k});let n="end_of_article_hit",r="header_interaction",a="click",o="log in",l="search",s="menu_navigation",d="login_failed",c="login_success",u="save_article",m="share_article",p="site_search_tracking",g="social_media_link_click",h="listened_to_article",v="video_tracking",k="comment_interaction",f="paywall_impression",x="subscriber_exclusive_paywall_impression",b="meter_impression",y="registration_wall_impression"},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,o;i.d(t,{Z:()=>L});var l=i(51945),s=i(48793),d=i(84345),c=i(53866),u=i(34921),m=i(45567),p=i(82054),g=i(17845);i(66783);var h=i(31106),v=i(69414),k=i(50012),f=i(96279),x=i.n(f),b=i(77898),y=i(35024),S=i(2596),E=i(77984);AbortSignal.timeout??=function(e){let t=new AbortController;return setTimeout(()=>t.abort(Error("Aborted due to timeout")),e),t.signal};let w={Asset:{fields:{galleryImagesConnection:(0,y.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,y.ZB)()}},Commenting:{fields:{latestCommentsConnection:{keyArgs:!1}}},ImageData:{keyFields:["id","aspect"]},Page:{fields:{latestStoriesConnection:(0,y.ZB)()}},Query:{fields:{memberSavedAssets:{keyArgs:!1,merge:(e,t)=>e?{...t,assets:[...e?.assets??[],...t?.assets??[]]}:t},search:(0,y.ZB)()}},SearchResponse:{fields:{storiesConnection:(0,y.ZB)()}},Tag:{fields:{latestStoriesConnection:(0,y.ZB)()}}},A=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,k.globalTracer)().inject(e,k.FORMAT_HTTP_HEADERS,t),t})(r)},n(e,t))),useGETForQueries:!0},I=new l.u({...T,print:(e,t)=>(0,b.A)(t(e)),uri:F}),P=new l.u({...T,print:(e,t)=>(0,b.A)(t(e)),uri:N}),L="undefined"!=typeof window&&new s.f({cache:new d.h({dataIdFromObject:e=>_.ENABLED&&A.Asset.includes(e.__typename)?`Asset:${e.id}`:(0,c.uG)(e),possibleTypes:A,typePolicies:w}).restore(window.APOLLO_STATE),link:u.i.from([new p.s(({error:e,operation:t})=>{let i=t.operationName,n=JSON.stringify(t.variables);if(m.L.is(e))for(let t of e.errors)v.Y.error("GraphQL request failed",g.log.EventType("front","error"),g.log.Error(t),g.log.String("query",`${i}`),g.log.String("variables",`${n}`));else v.Y.error("Network request failed",g.log.EventType("front","error"),g.log.Error(e),g.log.String("query",`${i}`),g.log.String("variables",`${n}`))}),new u.i((e,t)=>(e.setContext(e=>({...e,fetchOptions:{signal:AbortSignal.timeout(C)}})),t(e))),new u.i((e,t)=>"undefined"==typeof window&&a?.[S.TEMP_FEATURE_FLAG_CACHE_INVALIDATION_HEADERS_ENABLED]?t(e).pipe((0,E.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=o.locals.cacheInvalidationKeys.size>0?o.locals.cacheInvalidationKeys.size:0,i=new Set(t);o.locals.cacheInvalidationKeys.set(e,i)}}return t})):t(e)),u.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:()=>h,PERM_FEATURE_FLAG_ARTICLE_DISABLE_INSTAGRAM:()=>v,PERM_FEATURE_FLAG_ARTICLE_DISABLE_OMNY:()=>k,PERM_FEATURE_FLAG_ARTICLE_DISABLE_RIDDLE:()=>f,PERM_FEATURE_FLAG_ARTICLE_DISABLE_SCRIBD:()=>x,PERM_FEATURE_FLAG_ARTICLE_DISABLE_SPOTIFY:()=>b,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:()=>A,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_FIFA_WORLD_CUP_WIDGET:()=>N,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_NRL_WIDGET:()=>C,PERM_FEATURE_FLAG_ARTICLE_SCOREBOARD_RUGBY_UNION_WIDGET:()=>F,PERM_FEATURE_FLAG_ARTICLE_TOP_MESSAGE_9NOW_CTA:()=>_,PERM_FEATURE_FLAG_ARTICLE_TRUNCATION_ENABLED:()=>T,PERM_FEATURE_FLAG_AUSTRALIAN_OPEN_LIVE_SCORES_CTA:()=>I,PERM_FEATURE_FLAG_BEYONDWORDS_DISABLED:()=>P,PERM_FEATURE_FLAG_BEYONDWORDS_VAST_URL_ENABLED:()=>L,PERM_FEATURE_FLAG_COLLECTIONS_DRIVER_ARTICLE:()=>R,PERM_FEATURE_FLAG_COMMENTS_DISABLED:()=>B,PERM_FEATURE_FLAG_DOMAIN_MAGAZINE_UNAVAILABLE:()=>D,PERM_FEATURE_FLAG_DOMAIN_MEMBERSHIP_WIDGET:()=>Z,PERM_FEATURE_FLAG_DOMAIN_RECOMMENDED_LISTINGS:()=>O,PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_STAN_SPORT_DRIVER:()=>M,PERM_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE_WIDGETS:()=>j,PERM_FEATURE_FLAG_EXTREME_WEATHER_LIVE_MESSAGE:()=>G,PERM_FEATURE_FLAG_GA4_PAGEVIEW_ENABLED:()=>H,PERM_FEATURE_FLAG_GOODFOOD_GUIDE_UNAVAILABLE:()=>V,PERM_FEATURE_FLAG_GOODFOOD_IOS_BANNER_ENABLED:()=>U,PERM_FEATURE_FLAG_GOODFOOD_SMART_BANNER_ENABLED:()=>$,PERM_FEATURE_FLAG_LOGIN_APPLE_OPTION:()=>q,PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION:()=>z,PERM_FEATURE_FLAG_MEMBER_SERVICES_FORCE_DISABLED:()=>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:()=>X,PERM_FEATURE_FLAG_PAGE_BUILDER_DISABLE_INK_ACCESS:()=>J,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_STATSIG_ENABLED:()=>ea,PERM_FEATURE_FLAG_STORIFYME_HOME_CAROUSEL_ENABLED:()=>eo,PERM_FEATURE_FLAG_SWG_ENTITLEMENT:()=>el,PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED:()=>es,PERM_FEATURE_FLAG_TENNIS_LIVE_SCORECARD_STANDARD_ARTICLES:()=>ed,PERM_FEATURE_FLAG_TENNIS_STAN_SPORT_DRIVER:()=>ec,PERM_FEATURE_FLAG_TODAYS_PAPER_UNAVAILABLE:()=>eu,TEMP_FEATURE_FLAG_ADS_ENABLE_BLOCKTHROUGH:()=>ep,TEMP_FEATURE_FLAG_AD_STICKY_HIDE_NARROW:()=>em,TEMP_FEATURE_FLAG_CACHE_INVALIDATION_HEADERS_ENABLED:()=>eg,TEMP_FEATURE_FLAG_ENGLISH_PREMIER_LEAGUE:()=>eh,TEMP_FEATURE_FLAG_FIFA_WORLD_CUP_INDEX_ENABLED:()=>ev,TEMP_FEATURE_FLAG_FONT_RESIZER_ENABLED:()=>ek,TEMP_FEATURE_FLAG_GF_APP_CONTENT_TRUNCATION:()=>ef,TEMP_FEATURE_FLAG_GF_COLLECTION_PROMO_ENABLED:()=>ex,TEMP_FEATURE_FLAG_GOOGLE_PREFERRED_SOURCE_BUTTON_ENABLED:()=>eb,TEMP_FEATURE_FLAG_LIVE_COVERAGE_HERO_PINNED_POST_ENABLED:()=>ey,TEMP_FEATURE_FLAG_LIVE_COVERAGE_KEY_POST_BULLET:()=>eS,TEMP_FEATURE_FLAG_LIVE_COVERAGE_POST_TRUNCATION_ENABLED:()=>eE,TEMP_FEATURE_FLAG_METRO_IMAGE_WATERMARK_ENABLED:()=>eL,TEMP_FEATURE_FLAG_PAGE_BUILDER_NEXTGEN:()=>eR,TEMP_FEATURE_FLAG_PIANO_AUTH_SYNC_LOGOUT_ENABLED:()=>ew,TEMP_FEATURE_FLAG_PIANO_COMMENTS_REG_ENABLED:()=>eA,TEMP_FEATURE_FLAG_PIANO_HEADER_BUTTON:()=>eN,TEMP_FEATURE_FLAG_PIANO_NEW_GTM_EVENT_ENABLED:()=>eC,TEMP_FEATURE_FLAG_PREMIUM_QUIZZES_ENABLED:()=>eF,TEMP_FEATURE_FLAG_RRME_ENABLED:()=>e_,TEMP_FEATURE_FLAG_SUBSCRIPTIONLINKING_ENABLED:()=>eT,TEMP_FEATURE_FLAG_VERTEX_SEARCH_BANNER_ENABLED:()=>eP,TEMP_FEATURE_FLAG_VERTEX_SEARCH_ENABLED:()=>eI});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",h="perm.render-web-metro.article.disable-infogram",v="perm.render-web-metro.article.disable-instagram",k="perm.render-web-metro.article.disable-omny",f="perm.render-web-metro.article.disable-riddle",x="perm.render-web-metro.article.disable-scribd",b="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",A="perm.render-web.article.scoreboard-cricket",N="perm.render-web.article.scoreboard-fifa-world-cup",C="perm.render-web.article.scoreboard-nrl",F="perm.render-web.article.scoreboard-rugby-union",_="perm.render-web.article.top-message.9now-cta",T="perm.render-web-metro.article.truncation.enabled",I="perm.render-web.australian-open.live-scores-cta",P="perm.render-web.beyondwords-disabled",L="perm.render-web-metro.beyondwords-audio-player-vast-url.enabled",R="perm.render-web.collections-driver.article",B="perm.render-web-metro.comments-disabled",D="perm.render-web.domain-magazine.unavailable",Z="perm.render-web.domain-membership-widget",O="perm.render-web.domain.recommended-listings",M="perm.render-web.english-premier-league-stan-sport-driver",j="perm.render-web.english-premier-league.widgets",G="perm.render-web.extreme-weather-live-message",H="perm.render-web.ga4.pageview-enabled",V="perm.render-web.goodfood-guide.unavailable",U="perm.render-web-metro.goodfood-ios-banner.enabled",$="perm.render-web-metro.goodfood-smart-banner.enabled",q="perm.render-web-metro.login.apple-option",z="perm.render-web-metro.login.google-option",W="perm.render-web-metro.member-services.force-disabled",Y="perm.render-web-metro.other-apps-redirect.enabled",Q="perm.render-web-metro.outbrain",K="perm.render-web-metro.outbrain-tracking",X="perm.editorial-application.render-pagebuilder.beta-testing",J="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.statsig.enabled",eo="perm.render-web.storifyme-homepage-carousel.enabled",el="perm.render-web-metro.swg-entitlement",es="perm.render-web-metro.swg-purchase.enabled",ed="perm.render-web.tennis-live-scorecard-standard-articles",ec="perm.render-web.tennis-stan-sport-driver",eu="perm.render-web.todays-paper.unavailable",em="temp.render-web-metro.ad-sticky.hide-narrow.enabled",ep="temp.render-web.ads.enable-blockthrough",eg="temp.render-web-metro.cache-invalidation-headers.enabled",eh="temp.render-web.english-premier-league",ev="temp.render-web.fifa-world-cup-index.enabled",ek="temp.render-web-metro.font-resizer.enabled",ef="temp.render-web-metro.goodfood-app-content-truncation",ex="temp.render-web-metro.goodfood.collection-promo.enabled",eb="temp.render-web-metro.google-preferred-source-button.enabled",ey="temp.render-web-metro.live-coverage-hero-pinned-post.enabled",eS="temp.render-web-metro.live-coverage-key-post-bullet.enabled",eE="temp.render-web-metro.live-coverage-post.truncation.enabled",ew="temp.render-web-metro.piano.auth-sync-logout.enabled",eA="temp.render-web-metro.piano.comments-registration.enabled",eN="temp.render-web-metro.piano-goodfood-header-button.enabled",eC="temp.render-web-metro.piano-new-gtm-event.enabled",eF="temp.render-web-metro.premium-quizzes.enabled",e_="temp.render-web-metro.rrme.enabled",eT="temp.render-web-metro.subscriptionlinking.enabled",eI="temp.render-web.vertex-search.enabled",eP="temp.render-web.vertex-search-banner.enabled",eL="temp.render-web.metro-image-watermark.enabled",eR="temp.editorial-application.render-pagebuilder.nextgen"},28067:function(e,t,i){i.d(t,{H2:()=>S,Jw:()=>T,Nx:()=>D,Oz:()=>P,c4:()=>E,dm:()=>_,h0:()=>A,h3:()=>b,hl:()=>y,hp:()=>C,i3:()=>w,ku:()=>N,mG:()=>I,mN:()=>F,nw:()=>L,yA:()=>R,yh:()=>B});var n,r,a,o,l,s,d,c,u,m,p,g,h,v,k,f,x,b=((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),A=((s={}).EmailConflict="EMAIL_CONFLICT",s.Linked="LINKED",s.NotLinked="NOT_LINKED",s),N=((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),_=((m={}).App="APP",m.Web="WEB",m),T=((p={}).Facebook="FACEBOOK",p.Google="GOOGLE",p.Ip="IP",p),I=((g={}).StatusInProgress="STATUS_IN_PROGRESS",g.StatusSuccess="STATUS_SUCCESS",g),P=((h={}).Deferred="DEFERRED",h.New="NEW",h.Upgrade="UPGRADE",h),L=((v={}).Article="ARTICLE",v.Bespoke="BESPOKE",v.FeatureArticle="FEATURE_ARTICLE",v.Gallery="GALLERY",v.LiveArticle="LIVE_ARTICLE",v.Video="VIDEO",v),R=((k={}).Failure="FAILURE",k.Processing="PROCESSING",k.Success="SUCCESS",k),B=((f={}).Active="ACTIVE",f.Pending="PENDING",f),D=((x={}).Comments="COMMENTS",x.CommentsLegacy="COMMENTS_LEGACY",x)},84641:function(e,t,i){i.d(t,{C7:()=>b,D8:()=>E,EL:()=>v,FY:()=>S,MD:()=>x,XG:()=>f,c4:()=>y,h3:()=>k,k8:()=>w,qI:()=>A,r0:()=>N,tF:()=>h});var n,r,a,o,l,s,d,c,u,m,p,g,h=((n={}).Author="AUTHOR",n.Name="NAME",n),v=((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),x=((l={}).Custom="CUSTOM",l.Iframe="IFRAME",l.Recirculation="RECIRCULATION",l.Resolved="RESOLVED",l.ThirdParty="THIRD_PARTY",l),b=((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),A=((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),N=((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:()=>j});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(32469),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}),h=(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}),v=(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}),x=(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}),b=(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}),A=(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}),N=(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}),_=(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}),T=(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}),I=(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}),P=(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}),B=(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}),D=(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}),j=(e,t)=>(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)(x,{}),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)(B,{}),path:"drinks"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(D,{}),path:"eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(D,{}),path:"brisbane-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(D,{}),path:"melbourne-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(D,{}),path:"perth-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(D,{}),path:"sydney-eating-out"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(N,{}),path:"recipes"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(A,{}),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)(P,{}),path:"tips-and-advice"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(I,{tagId:s.Z.bestOf.id}),path:s.Z.bestOf.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(I,{tagId:s.Z.justOpen.id}),path:s.Z.justOpen.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(I,{tagId:s.Z.restaurantNews.id}),path:s.Z.restaurantNews.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(I,{tagId:s.Z.reviews.id}),path:s.Z.reviews.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(I,{tagId:s.Z.suburbGuides.id}),path:s.Z.suburbGuides.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(_,{tagId:l.Z.howTo}),path:"how-to"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(b,{}),loader:(0,m.Z)(e),path:d.o8}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(T,{}),loader:(0,p.Z)(e),path:d.Jd}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(y,{}),loader:(0,u.Z)(e,t),path:"*"})]}),(0,n.jsxs)(a.AW,{element:(0,n.jsx)(Z,{}),path:"traveller",children:[(0,n.jsx)(a.AW,{element:(0,n.jsx)(b,{}),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),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)(h,{tagId:c.ZP.cbd.id}),path:c.ZP.cbd.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(h,{tagId:c.ZP.videoGames.id}),path:c.ZP.videoGames.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(h,{preleadComponent:(0,n.jsx)(v,{}),tagId:c.ZP.bullsNBears.id}),path:c.ZP.bullsNBears.path}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(h,{hideAdPos1:!0,preleadComponent:(0,n.jsx)(k,{}),tagId:"1ne1"}),path:"topic/dalarinji-project-1ne1"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(h,{postleadComponent:(0,n.jsx)(f,{}),tagId:"5wr"}),path:"topic/english-premier-league-5wr"}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(h,{}),loader:(0,p.Z)(e),path:d.Jd}),(0,n.jsx)(a.AW,{element:(0,n.jsx)(y,{}),loader:(0,u.Z)(e,t),path:"*"})]})]}))},32469:function(e,t,i){i.d(t,{Z:()=>p});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);let p=(e,t)=>async({request:i})=>{let{PAGEBUILDER:{ENABLED:p},brand:{shortSiteName:g}}=o.Z,h=new URL(i.url),v=(0,u.TN)(h.pathname);if(v){let i;if(v===c.J)return(0,d.uX)("https://goodfood.gift",301);let a=h.searchParams.get("collection")||"",o=(0,r.KH)(v,a,r.y3,p);try{i=await e.query({query:r.xH,variables:o})}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(o)}`)),new Response(e.message||"Internal Server Error",{status:500})}let{data:u}=i;t&&t.setTag("asset.type",u.assetByPublicId?.asset?.type);let k=u.assetByPublicId?.asset?.urls.published,{correctPath:f,urlCorrect:x}=(0,m.ar)(h.pathname,k,g,"asset");return f?x?u.assetByPublicId?.error?.type.class===l.c4.NotFound?new Response("Not Found",{status:404}):null:(0,d.uX)(f,301):new Response("Not Found",{status:404})}let k=(0,a.N4)(g,h.pathname);try{let{data:t}=await e.query({query:a.iF,variables:k});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(k)}`))}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,h=null,v=null;try{g=new URL(i.url),v=(0,c.Un)(g?.pathname),h=(0,a.MV)(p,s,v);let{data:t,error:o}=await e.query({query:a.Bi,variables:h});if(o)return u(o,h),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,h),new Response("Error getting author",{status:500});let m=t?.authorByPublicId?.author?.latestStoriesConnection?.error;if(m)return u(m,h,"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,v)}}catch(e){return u(e,h),new Response(e.message||"Internal Server Error",{status:500})}let{correctPath:k,urlCorrect:f}=(0,c.Uk)(g.pathname,[n],s,"author",v);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 h=null,v=[],k=null,f=null;try{h=new URL(i.url),f=(0,c.Un)(h?.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});v=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:x,urlCorrect:b}=(0,c.Uk)(h?.pathname||"",v,m,"tag",f);return b?null:x.startsWith("/goodfood/topic")||x.startsWith("/traveller/topic")||x.startsWith("/topic")||d.b.includes(x)||(0,c.fZ)(h?.pathname||"")&&!x.startsWith("/topic")?(0,s.uX)(x,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:()=>p});var n=i(2596);let{PERM_FEATURE_FLAG_LOGIN_GOOGLE_OPTION:r,PERM_FEATURE_FLAG_OUTBRAIN:a,PERM_FEATURE_FLAG_PIANO_ENABLED:o,PERM_FEATURE_FLAG_SAVE_FOR_LATER_ENABLED:l,PERM_FEATURE_FLAG_SWG_ENTITLEMENT:s,PERM_FEATURE_FLAG_SWG_PURCHASE_ENABLED:d,TEMP_FEATURE_FLAG_SSR_APOLLO_CACHE_NO_WATCH_ENABLED:c}=n,u=[r,a,o,l,s,d,c],m=Object.keys(n).reduce((e,t)=>(e[n[t]]=u.includes(n[t]),e),{}),p=(0,i(2784).createContext)(m)},52115:function(e,t,i){i.d(t,{AN:()=>u,Fb:()=>c,Os:()=>l,RP:()=>a,TY:()=>r,WV:()=>s,Y2:()=>o,Y4:()=>m,eX:()=>p});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:"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}}"}}},d=[{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:[]}]}}],c={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([{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:105,source:{body:"fragment AssetPreviewTagsFragment on AssetTags{primary{...TagFragment}secondary(limit:1){...TagFragment}}"}}},u={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,d,l.definitions,c.definitions,s.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}}"}}},m={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,d,l.definitions,c.definitions,s.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}}}"}}},p={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,u.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:()=>R});var n=i(52322),r=i(19565),a=i(29001),o=i(35239),l=i(64115),s=i(30330),d=i(71399),c=i(38936),u=i(56111),m=i(41865),p=i(90903),g=i(96314),h=i(57304),v=i(64066),k=i(66873),f=i(35981),x=i(70827),b=i(8900),y=i(95187),S=i(43309),E=i(36156),w=i(79644),A=i(2596),N=i(2784),C=i(37149),F=i.n(C),_=i(53896),T=i(356),I=i(78943),P=i(633);let L=(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}),R=()=>{F().setAppElement("#app");let{ADKIT_URL:e,PAGEBUILDER:t,brand:i}=(0,u.Z)(),r=(0,m.Z)(),C=(0,P.Gq)(e);(0,N.useEffect)(()=>{"ready"===C&&window.Adkit&&((0,T.R)(!0),window.adkit=new window.Adkit({enableAdBlock:r[A.PERM_FEATURE_FLAG_ADS_ENABLE_ADBLOCK],enableBlockthrough:r[A.TEMP_FEATURE_FLAG_ADS_ENABLE_BLOCKTHROUGH],enableLazyLoad:r[A.PERM_FEATURE_FLAG_ADS_ENABLE_LAZYLOAD],enableMagnite:r[A.PERM_FEATURE_FLAG_ADS_ENABLE_MAGNITE],enableMantis:r[A.PERM_FEATURE_FLAG_ADS_ENABLE_MANTIS],enablePubMatic:r[A.PERM_FEATURE_FLAG_ADS_ENABLE_PUBMATIC],enableSnowplow:r[A.PERM_FEATURE_FLAG_ADS_ENABLE_SNOWPLOW]}))},[C,r]);let R="brisbanetimes"===i.shortSiteName?w.Z.themes[i.shortSiteName]:w.Z.themes.default;return(0,n.jsxs)(I.f6,{theme:R,children:[(0,n.jsx)(o.Z,{}),t.ENABLED&&(0,n.jsx)(L,{}),(0,n.jsx)(S.Z,{}),(0,n.jsx)(s.Z,{}),(0,n.jsx)(y.Z,{}),(0,n.jsx)(h.Z,{}),(0,n.jsx)(v.Z,{}),(0,n.jsx)(a.Z,{}),(0,n.jsx)(N.Suspense,{fallback:(0,n.jsx)(g.Z,{}),children:(0,n.jsx)(c.ZP,{type:"page",children:(0,n.jsx)(_.j3,{})})}),(0,n.jsx)(k.Z,{}),(0,n.jsx)(d.Z,{}),(0,n.jsx)(p.Z,{}),(0,n.jsx)(f.Z,{}),(0,n.jsx)(E.Z,{}),(0,n.jsx)(b.Z,{}),(0,n.jsx)(x.Z,{}),(0,n.jsx)(l.Z,{})]})}},79909:function(e,t,i){i.d(t,{Z:()=>H});var n={};i.r(n),i.d(n,{Button:()=>b,ButtonHollow:()=>y,Buttons:()=>x,CharacterImage:()=>E,Content:()=>h,Content500:()=>v,Figure:()=>S,Heading:()=>k,Message:()=>f,NavigationLink:()=>N,NavigationLinks:()=>A,SearchError:()=>w});var r={};i.r(r),i.d(r,{Button:()=>P,ButtonHollow:()=>L,Buttons:()=>I,CharacterImage:()=>B,Content:()=>C,Content500:()=>F,Figure:()=>R,Heading:()=>_,Message:()=>T,NavigationLink:()=>O,NavigationLinks:()=>Z,SearchError:()=>D});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 h=(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),v=(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),x=g.ZP.div.withConfig({componentId:"sc-8ad228-4"})(["display:flex;gap:16px;justify-content:center;margin:24px 0;"]),b=(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),A=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),N=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;"]),_=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),T=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),I=g.ZP.div.withConfig({componentId:"sc-9517a578-4"})(["display:flex;gap:16px;justify-content:center;margin:24px 0;"]),P=(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%;"]),B=g.ZP.img.withConfig({componentId:"sc-9517a578-8"})(["height:304px;width:302px;"]),D=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),j=i(79916);let G=(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)(),h=(0,j._P)(p),v=h?n:r;return(0,d.Z)({canonical:`https://www.${m.shortSiteName}.com.au${p}`,categories:h?["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:h?"Error | Good Food":`Error | ${m.longSiteName}`,type:"Error"}),t<500?(0,a.jsxs)(v.Content,{children:[(0,a.jsxs)(v.Heading,{children:[t," error"]}),G(t,h),(0,a.jsx)(v.SearchError,{children:(0,a.jsx)(o.Z,{searchLayer:"masthead"})}),(0,a.jsx)(v.NavigationLinks,{children:g.map(e=>(0,a.jsx)(v.NavigationLink,{children:(0,a.jsx)(c.Z,{url:e.url,children:e.text})},e.text))})]}):(0,a.jsxs)(v.Content500,{children:[(0,a.jsx)(v.Figure,{children:(0,a.jsx)(v.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)(v.Heading,{children:[t," error"]}),G(t,h),(0,a.jsxs)(v.Buttons,{children:[(0,a.jsx)(v.Button,{onClick:()=>window.location.reload(),children:"Try again"}),(0,a.jsx)(v.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:()=>x,Ek:()=>p,J8:()=>k,P6:()=>v,PJ:()=>m,Xs:()=>h,YE:()=>g,gg:()=>S,pu:()=>b});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{}}},h=(e,t,i,r)=>e.body?(0,n.jsx)(u,{asset:e,blocksEndIndex:i,blocksStartIndex:t,contentWallVisible:r},`${t}-${i}`):null,v=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]},x=(e,t)=>{let i=(0,c._P)(t);return i?[t.split("/").filter(Boolean)[0],...f(e)]:f(e)},b=(e,t,i,n={})=>{let{ads:r,byline:s,category:u,commenting:m,dates:p,headlines:g,images:h,overview:k,publicId:f,seo:b,social:y,sourceCMS:S,sources:E,tags:w,type:A}=e,N=(0,a.Z2)((0,c._P)(t),e,i);return{assetId:f,author:v(s),canonical:N.url,categories:x(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:h,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:b,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:A}},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:()=>Z,AX:()=>f,Ac:()=>A,B6:()=>l,BC:()=>p,DF:()=>C,F3:()=>x,HJ:()=>o,Hn:()=>R,Jd:()=>N,MW:()=>s,NU:()=>j,PR:()=>D,Pp:()=>F,V$:()=>h,aZ:()=>P,ap:()=>I,cw:()=>g,gG:()=>u,gZ:()=>y,hO:()=>G,i1:()=>v,j4:()=>a,k9:()=>_,le:()=>c,nL:()=>M,n_:()=>S,nu:()=>E,o8:()=>w,ps:()=>d,q0:()=>m,qj:()=>O,sB:()=>n,sW:()=>T,w5:()=>r,wb:()=>b,xB:()=>B,xI:()=>k,zE:()=>L});let n="afl",r="VGFnOiI1dXAi",a="VGFnOiI1eDUi",o="cricket",l="VGFnOiI2Z3hjIg==",s="2024-01-25",d="story-set-rgcjd",c="VGFnOiI1d3Ii",u="eating+out",m="Q2F0ZWdvcnk6IjUxIg==",p="Q2F0ZWdvcnk6IjUzIg==",g="Q2F0ZWdvcnk6IjRzIg==",h="food",v="VGFnOiI2aWJyIg==",k=10,f="1",x="U3ViQnJhbmQ6IjEi",b="story-set-wpkmw",y="story-set-vimas",S="immersive",E="rugby-league",w="by/:author",A="goodfood/search",N="topic/:tag",C=/.*-\d{8}-(\w+)/i,F=/.*\/by\/.*/i,_=/^https:\/\/www\.(brisbanetimes|smh|theage|watoday)\.com\.au\/?$/,T=/.*\/search(\?.*)?/i,I=/.*\/topic\/.*/i,P="VGFnOiI2aWJzIg==",L="2",R="U3ViQnJhbmQ6IjIi",B="traveller-most-popular",D="recipes",Z="rugby-union",O={[u]:["4t","50","51","52","53"],[h]:[],[D]:["4u"]},M="Geolocation",j="Travel",G="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:()=>b,fZ:()=>g,jn:()=>v,kZ:()=>h,pP:()=>x,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"),h=e=>null===e,v=e=>e?.startsWith("/traveller")||!1,k=e=>p(e)?n.AX:v(e)?n.zE:null,f=e=>e&&!e.startsWith("/goodfood")?`/goodfood${e}`:e,x=e=>e&&!e.startsWith("/traveller")?`/traveller${e}`:e,b=(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===x(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(!x(o).startsWith("/traveller/topic")&&(!(o=t.find(e=>e.path.startsWith("/topic"))?.path)||x(o)===x(e)))return{correctPath:e,urlCorrect:!0};o=x(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=67332)}),e.O()}]);