PageSourceSearch

https://www.farmweekly.com.au/assets/_next/static/chunks/3712.c853dc87af9adf60.js

js farmweekly.com.au collected 2026-10-02 04:39:38 UTC 81,829 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3712],{1935:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>l,eC:()=>c,xT:()=>o});var r=n(91167),s=n(45159),i=n(62715),a=n(74335);function o(){var e=(0,i.GV)(function(e){return e.page.hasTakeoverAd}),t=(0,r._)((0,s.useState)(),2),n=t[0],a=t[1],o=(0,s.useCallback)(function(e){a(e)},[a]),l=(0,r._)((0,s.useState)(!1),2),c=l[0],d=l[1];return(0,s.useEffect)(function(){if(n&&window.IntersectionObserver&&!e){var t=new IntersectionObserver(function(e){var t=(0,r._)(e,1)[0];d(window.innerHeight>n.getBoundingClientRect().top&&!t.isIntersecting)},{root:null,rootMargin:"0px",threshold:1e-5});return t.observe(n),function(){t.disconnect()}}},[n,e]),[o,c]}function l(){var e=(0,s.useContext)(a.A).forcedStyle;return"object"==typeof e?e:e?{mobile:e,wide:e}:void 0}function c(){var e=(0,r._)((0,s.useState)(null),2),t=e[0],n=e[1];return(0,s.useEffect)(function(){n("1"===new URLSearchParams(window.location.search).get("force_external"))},[]),t}},3388:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(76367),s=n(91167),i=n(60143),a=n(29722);n(45159);var o=n(62715),l=n(31817);let c=function(e){var t=e.alt,n=e.desktopHeight,c=e.desktopWidth,d=e.fitMode,u=e.fixedSize,m=e.height,h=void 0===m?0:m,f=e.highPriority,x=e.ignoreCrop,g=e.image,v=e.imageClassName,p=e.lazyLoad,y=void 0===p||p,b=e.noTransformUrl,w=void 0!==b&&b,j=e.resize,N=void 0!==j&&j,A=e.sourceFixedSize,C=e.style,_=e.tabletHeight,k=e.tabletWidth,E=e.title,S=void 0===E?"":E,L=e.width,T=void 0===L?0:L,V=(0,o.GV)(function(e){return e.settings}).transformUrl;if(!(0,l.j6)(g))return null;var G=(0,s._)((0,l.vX)({fit:d,height:h,image:g,size:A,useFocalPoint:!1,width:T}),2),M=G[0],z=G[1],P=function(e,t,n,r){return"".concat((0,l.WO)({fit:d,height:n,ignoreCrop:x,image:t,outputFormat:e,transformUrl:V,width:r})," 1x, ").concat((0,l.WO)({fit:d,height:2*n,ignoreCrop:x,image:t,outputFormat:e,transformUrl:V,width:2*r})," 2x")},I=u?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("source",{media:"(max-width: 767px)",srcSet:"".concat((0,l.WO)({fit:d,height:h,ignoreCrop:x,image:g,outputFormat:l.py.WEBP,size:A,transformUrl:V,useFocalPoint:!1,width:T})," 1x")}),(0,i.jsx)("source",{media:"(max-width: 767px)",srcSet:"".concat((0,l.WO)({fit:d,height:h,ignoreCrop:x,image:g,size:A,transformUrl:V,useFocalPoint:!1,width:T})," 1x")}),(0,i.jsx)("source",{srcSet:"".concat((0,l.WO)({fit:d,height:h,ignoreCrop:x,image:g,outputFormat:l.py.WEBP,size:u,transformUrl:V,useFocalPoint:!1,width:T})," 1x"),type:"image/webp"}),(0,i.jsx)("img",{alt:t,className:(0,a.A)("mx-auto",v,{"w-full":N||M>=z}),fetchPriority:void 0!==f&&f?"high":void 0,loading:y?"lazy":void 0,src:w?g.uri:(0,l.WO)({fit:d,height:h,ignoreCrop:x,image:g,size:u,transformUrl:V,useFocalPoint:!1,width:T}),style:C,title:S})]}):(0,i.jsxs)(i.Fragment,{children:[!w&&c&&n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("source",{media:"(min-width: 835px)",srcSet:P(l.py.WEBP,g,n,c),type:"image/webp"}),(0,i.jsx)("source",{media:"(min-width: 835px)",srcSet:P(l.py.JPG,g,n,c),type:"image/jpeg"})]}),!w&&k&&_&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("source",{media:"(min-width: 768px) and (max-width: 834px)",srcSet:P(l.py.WEBP,g,_,k),type:"image/webp"}),(0,i.jsx)("source",{media:"(min-width: 768px) and (max-width: 834px)",srcSet:P(l.py.JPG,g,_,k),type:"image/jpeg"})]}),(0,i.jsx)("source",{srcSet:w?g.uri:P(l.py.WEBP,g,h,T),type:w?void 0:"image/webp"}),(0,i.jsx)("img",{alt:t,className:(0,a.A)("mx-auto",v,{"w-full":N||M>=z}),height:N?void 0:h,loading:y?"lazy":void 0,src:w?g.uri:(0,l.WO)({fit:d,height:h,image:g,transformUrl:V,width:T}),srcSet:w?g.uri:"".concat((0,l.WO)({fit:d,height:2*h,ignoreCrop:x,image:g,transformUrl:V,width:2*T})," 2x"),style:(0,r._)({height:N?"auto":"".concat(h,"px")},C),title:S,width:N?void 0:T})]});return(0,i.jsx)("picture",{children:I})}},3712:(e,t,n)=>{"use strict";n.d(t,{A:()=>e5});var r,s,i,a=n(60143),o=n(62715),l=n(91167),c=n(98952),d=n(92584),u=n(29722),m=n(45159),h=n(54166),f=n(65019),x=n(67658),g=n(26748),v=((r=v||{}).PAYMENT="payment",r.HIDDEN="hidden",r),p=((s=p||{}).INFO="info",s.DANGER="danger",s.WARNING="warning",s.SUCCESS="success",s),y=function(){var e=(0,o.GV)(function(e){return e.piano.paymentStatus.status}),t=(0,o.GV)(function(e){return e.piano.paymentStatus.id}),n=t?"#library/".concat(t):"";return(0,a.jsxs)("span",{children:[(0,a.jsx)(h.y,{className:"mr-2",fixedWidth:!0,icon:d.$O8}),e===x.d.CC_EXPIRED&&(0,a.jsxs)("span",{children:["Your credit card has expired."," ",(0,a.jsx)(f.A,{href:(0,g.sv)("/my-account/".concat(n)),children:"Update your payment details"})]}),e===x.d.CC_EXPIRING&&(0,a.jsxs)("span",{children:[(0,a.jsx)(f.A,{href:(0,g.sv)("/my-account/".concat(n)),children:"Update your credit card details"})," ","to keep your subscription access"]}),e===x.d.SUB_EXPIRED&&(0,a.jsxs)("span",{children:["We were unable to process your last payment. Please contact our customer service team on"," ",(0,a.jsx)(f.A,{href:"tel:1300131095",children:"1300 131 095"}),"\xa0 for further assistance."]})]})};function b(){var e=(0,o.GV)(function(e){return e.piano.paymentStatus.status}),t=(0,l._)((0,m.useState)("info"),2),n=t[0],r=t[1],s=(0,l._)((0,m.useState)("hidden"),2),i=s[0],f=s[1];return(0,m.useEffect)(function(){var t=[x.d.CC_EXPIRED,x.d.CC_EXPIRING],n=[x.d.SUB_EXPIRED],s=(0,c._)(t).concat((0,c._)(n));!(window.localStorage&&localStorage.getItem("timeout#".concat(e))&&Number(localStorage.getItem("timeout#".concat(e)))>=Date.now())&&(s.includes(e)?f("payment"):f("hidden"),t.includes(e)?r("info"):n.includes(e)&&r("danger"))},[e,r,f]),(0,a.jsxs)("div",{className:(0,u.A)("p-3 text-center text-sm",{"bg-notification-danger":"danger"===n,"bg-notification-info text-sky-900":"info"===n,hidden:"hidden"===i}),children:["payment"===i&&(0,a.jsx)(y,{}),(0,a.jsx)("button",{"aria-label":"Close",className:"float-right",onClick:function(){if(window.localStorage){var t=new Date;t.setHours(9>t.getHours()?9:33,0,0,0),localStorage.setItem("timeout#".concat(e),t.getTime().toString())}f("hidden")},title:"Close Notification",type:"button",children:(0,a.jsx)(h.y,{className:"ml-1",fixedWidth:!0,icon:d.GRI})})]})}var w=n(15413),j=(0,m.createContext)({bookmarks:[],error:null,isOpen:!1,loading:!1,toggleSideDrawer:function(){}});function N(){var e=(0,m.useContext)(j);if(void 0===e)throw Error("useSideDrawer must be used within a SideDrawerProvider");return e}var A=function(e){var t=e.children,n=(0,l._)((0,m.useState)([]),2),r=n[0],s=n[1],i=(0,l._)((0,m.useState)(!0),2),c=i[0],d=i[1],u=(0,l._)((0,m.useState)(null),2),h=u[0],f=u[1],x=(0,o.GV)(function(e){return e.piano.user}),g=(0,m.useRef)(!1),v=(0,l._)((0,m.useState)(!1),2),p=v[0],y=v[1];(0,m.useEffect)(function(){x&&!g.current&&(g.current=!0,(0,w.GY)({limit:"2"}).then(function(e){e.success&&e.data?s(e.data):f(e)}).catch(function(e){f(e)}).finally(function(){d(!1)}))},[x]);var b=(0,m.useCallback)(function(){y(!p)}
1,[p]),N=(0,m.useMemo)(function(){return{bookmarks:r,error:h,isOpen:p,loading:c,toggleSideDrawer:b}},[r,h,p,c,b]);return(0,a.jsx)(j.Provider,{value:N,children:t})},C=n(76367),_=n(30694),k=n(68558),E=n(74335),S=n(54504),L=n(45790),T=n(1935),V=n(98165),G=n(88650);function M(e){var t=e.logoHeight,n=e.logoWidth,r=e.title,s=e.titleClassName,i=e.url,o=(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("span",{className:(0,u.A)("z-10 -mr-0.5 flex items-center rounded-r bg-white pr-1",n),children:(0,a.jsx)(G.A,{className:(0,u.A)("contents w-auto",t),imageClassName:"!".concat(n),type:k.e.SQUARE,withLink:!1})}),(0,a.jsx)("span",{className:(0,u.A)("rounded-r py-0.5 pl-2.5 pr-1.5 font-semibold uppercase tracking-wider",s),children:r})]});return(0,a.jsx)("div",{className:"flex items-center gap-x-1",children:i?(0,a.jsx)(f.A,{href:i,noStyle:!0,children:o}):o})}var z=n(75537),P=n(75598),I=n.n(P);function F(){var e=(0,o.GV)(function(e){return e.features.viafoura.enabled}),t=(0,o.GV)(function(e){return e.piano}).user;return e?(0,a.jsx)("div",{className:(0,u.A)("viafoura flex justify-end",{"w-full":null==t?void 0:t.valid},I().viafoura),children:(0,a.jsx)("vf-tray-trigger",{})}):null}var O=n(13375),D=n(39092),H=n.n(D),R=n(1120),U=n.n(R),W=n(52759),B=n(62129),X=n(63233),Y=n(79894),q=n(22514),Q=n(50064),K=n(14061),J="font-inter text-sm font-medium",Z="rounded-md border border-gray-900 font-inter font-medium bg-white text-gray-900 shadow-sm hover:border-gray-300 uppercase",$={[V.fE.AGS]:"rounded bg-sky-600 text-white hover:bg-sky-700 shadow-sm uppercase",[V.fE.ECHIDNA]:"rounded-sm bg-echidna text-white hover:bg-echidna/80"};function ee(e){var t=e.channel,n=e.children,r=e.className,s=e.href,i=(0,q._)(e,["channel","children","className","href"]),o=(0,K.e)("subscribe");return!1!==(0,T.eC)()?null:(0,a.jsx)(f.A,(0,_._)((0,C._)({channel:o?void 0:t,className:r,href:o||(void 0===s?"/subscribe/":s),noStyle:!0},i),{children:void 0===n?"Subscribe":n}))}function et(e){var t=(0,o.GV)(function(e){return e.conf.themeVariant})===V.fE.ECHIDNA?"Signup":"Register",n=(0,K.e)("register");return n?(0,a.jsx)(f.A,(0,_._)((0,C._)({href:n,noStyle:!0},e),{children:t})):(0,a.jsx)("button",(0,_._)((0,C._)({onClick:Q.vy,type:"button"},e),{children:t}))}function en(e){var t=(0,K.e)("signin");return!1!==(0,T.eC)()?null:t?(0,a.jsx)(f.A,(0,_._)((0,C._)({href:t,noStyle:!0},e),{children:"Log In"})):(0,a.jsx)("button",(0,_._)((0,C._)({onClick:Q.Lz,type:"button"},e),{children:"Log In"}))}function er(e){var t=e.className,n=e.showViafoura,r=void 0===n||n,s=N().toggleSideDrawer,i=(0,o.GV)(function(e){return e.piano}),l=i.hasAccess,c=i.initialized,d=i.user,h=(0,o.GV)(function(e){return e.piano.subscribeButtonHref}),f=(0,o.GV)(function(e){return e.piano.subscribeButtonText}),x=(0,o.GV)(function(e){return e.piano.subscribeButtonStyle}),g=(0,o.GV)(function(e){return e.piano.subscribeButtonOverride}),v=(0,o.GV)(function(e){return e.features.piano.enabled&&e.features.piano.data.registrationOnly}),p=(0,o.GV)(function(e){return e.story}),y=(0,S.QK)()===B.bq.DESKTOP,b=(0,W.Ay)(W.yH.NavSubscribeButton2_B),w=y&&b,j=(0,W.ET)(W.Vu.NavSubscribeButton2),A=(0,o.GV)(function(e){return e.conf.themeVariant}),C=(0,m.useCallback)(function(){j&&y&&g&&U().dataLayer({dataLayer:{event:"abtest_click"}})},[j,y,g]);if(!c)return null;var _=!!p.id,k=A===V.fE.ECHIDNA,E=k?"rounded-sm":"rounded";return(0,a.jsxs)("div",{className:(0,u.A)("flex select-none items-center space-x-3 text-gray-900",{"flex-row-reverse justify-start space-x-reverse":k,"justify-end":!k},t),children:[w&&x&&(0,a.jsx)(H(),{id:x.__hash,children:x}),!k&&r&&(0,a.jsx)(F,{}),(!w||g)&&!l&&!v&&(0,a.jsx)(ee,{channel:_?"header_subscribe_button":"header_host_page_subs_clicks",className:(0,u.A)("px-3 py-2",J,"rounded-md bg-red-600 disabled:bg-gray-300 font-inter font-medium text-white shadow-sm hover:bg-red-700 disabled:hover:bg-gray-300 uppercase"),"data-testid":"subscribe-btn-desktop",href:w?h:void 0,onClick:C,children:w?f:void 0}),(null==d?void 0:d.valid)?(0,a.jsxs)("button",{className:(0,u.A)("flex shrink-0 flex-row items-center bg-white p-1 font-medium text-gray-800 transition-colors duration-600 ease-default hover:bg-gray-100 md:space-x-2 lg:space-x-3",E),onClick:function(){s(),(0,X.CI)({data:{label:"show_menu"},event:"profile_interaction"})},type:"button",children:[(0,a.jsx)("div",{className:"max-w-40 truncate text-xs font-medium lg:max-w-52",children:(0,Y.Jf)(d)}),(0,a.jsxs)("svg",{className:"fill-current text-gray-900",height:"16",viewBox:"0 0 16 16",width:"16",children:[(0,a.jsx)("path",{d:"M7.81979 9.59998C5.27724 9.59998 0.219788 11.
10364 0.219788 13.8666V16H15.4198V13.8666C15.4198 11.0364 10.3623 9.59998 7.81979 9.59998Z"}),(0,a.jsx)("path",{d:"M9.56219 6.7392C10.6566 6.12 11.4198 4.9536 11.4198 3.6C11.4198 1.6128 9.80699 0 7.81979 0C5.83259 0 4.21979 1.6128 4.21979 3.6C4.21979 4.9536 4.98299 6.12 6.07739 6.7392C6.59579 7.0272 7.18619 7.2 7.81979 7.2C8.45339 7.2 9.04379 7.0272 9.56219 6.7392Z"})]})]}):(0,a.jsxs)(a.Fragment,{children:[v&&(0,a.jsx)(et,{className:(0,u.A)("shrink-0 px-3 py-2",J,$[A]||Z),"data-testid":"subscribe-btn-desktop"}),(0,a.jsx)(en,{className:(0,u.A)("shrink-0 bg-white px-3 py-2 font-inter text-sm font-medium text-gray-900 transition-colors duration-600 ease-default hover:bg-gray-100",E),"data-testid":"login-btn-desktop"})]}),k&&r&&(0,a.jsx)(F,{})]})}var es=(0,a.jsxs)("svg",{className:"fill-current text-gray-900",height:"24",viewBox:"0 0 24 24",width:"24",children:[(0,a.jsx)("path",{d:"M11.5 14C8.32182 14 2 15.7956 2 19.3333V22H21V19.3333C21 15.7956 14.6782 14 11.5 14Z"}),(0,a.jsx)("path",{d:"M13.678 10.424C15.046 9.65 16 8.192 16 6.5C16 4.016 13.984 2 11.5 2C9.016 2 7 4.016 7 6.5C7 8.192 7.954 9.65 9.322 10.424C9.97 10.784 10.708 11 11.5 11C12.292 11 13.03 10.784 13.678 10.424Z"})]});function ei(){var e=(0,o.GV)(function(e){return e.piano}),t=e.initialized,n=e.user,r=N().toggleSideDrawer,s=(0,o.GV)(function(e){return e.conf.themeVariant})===V.fE.ECHIDNA;return t&&n&&n.valid?(0,a.jsx)("button",{className:(0,u.A)("flex shrink-0 flex-row items-center bg-white p-1 font-medium text-gray-800 transition-colors duration-600 ease-default hover:bg-gray-100 md:space-x-2 lg:space-x-3",s?"rounded-sm":"rounded"),onClick:function(){r(),(0,X.CI)({data:{label:"show_menu"},event:"profile_interaction"})},type:"button",children:es}):null}var ea={[V.fE.AGS]:"text-sky-700"};function eo(){var e=(0,o.GV)(function(e){return e.piano.hasAccess}),t=(0,o.GV)(function(e){return e.piano.initialized}),n=(0,o.GV)(function(e){return e.piano.user}),r=(0,o.GV)(function(e){return e.features.piano.enabled&&e.features.piano.data.registrationOnly}),s=(0,o.GV)(function(e){return e.conf.themeVariant}),i=(0,o.GV)(function(e){return!!e.story.id}),l=(0,T.eC)();if(!t||e&&(null==n?void 0:n.valid)||!1!==l)return null;var c=(0,u.A)("focus:outline-none",ea[s]||"text-red-600");return(0,a.jsxs)("div",{className:"inline-flex flex-row font-inter text-sm font-medium",children:[!e&&(r?(0,a.jsx)(et,{className:c}):(0,a.jsx)(ee,{channel:i?"header_subscribe_button":"header_host_page_subs_clicks",className:c})),!(null==n?void 0:n.valid)&&(0,a.jsx)(en,{className:"ml-3 border-l border-gray-300 pl-3 font-medium text-gray-900"})]})}function el(){var e=(0,o.GV)(function(e){return e.piano.hasAccess}),t=(0,o.GV)(function(e){return e.piano.initialized}),n=(0,o.GV)(function(e){return e.piano.user}),r=(0,o.GV)(function(e){return e.features.piano.enabled&&e.features.piano.data.registrationOnly}),s=(0,o.GV)(function(e){return e.conf.themeVariant}),i=(0,o.GV)(function(e){return!!e.story.id});if(!t)return null;var l=(0,u.A)("px-3 py-1",J,$[s]||Z);return(0,a.jsxs)("div",{className:"flex select-none items-center justify-end text-gray-900",children:[!e&&!r&&(0,a.jsx)(ee,{channel:i?"header_subscribe_button":"header_host_page_subs_clicks",className:l,"data-testid":"subscribe-btn-mobile"}),(null==n?void 0:n.valid)?(0,a.jsx)("div",{className:"ml-4",children:(0,a.jsx)(ei,{})}):(0,a.jsxs)(a.Fragment,{children:[r&&(0,a.jsx)(et,{className:l,"data-testid":"register-btn-mobile"}),(0,a.jsx)(en,{className:"ml-3 flex-none rounded bg-white px-3 py-1 font-inter text-sm font-medium text-gray-900 transition-colors duration-600 ease-default hover:bg-gray-100","data-testid":"login-btn-mobile"})]})]})}var ec=m.createContext({isMenuOpen:!1,setMenuOpen:function(){},setShowCluster:function(){},showCluster:!1,showClusterTab:!0,showSubcategories:!0});function ed(e){var t=e.className,n=(0,m.useContext)(ec),r=n.isMenuOpen,s=n.setMenuOpen;return(0,a.jsx)("button",{"aria-label":"Open menu",className:(0,u.A)("size-10 rounded bg-white px-2 transition-colors duration-600 ease-default hover:bg-gray-100 focus:transition-none",t),"data-testid":"megamenu-button",onClick:function(){return s(!r)},type:"button",children:(0,a.jsx)("svg",{className:"mx-auto fill-current text-gray-900",height:"16",viewBox:"0 0 24 16",width:"24",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M0.644302 3.16345V0.663452H23.1443V3.16345H0.644302ZM0.644287 9.41339H23.1443V6.91339H0.
1644287V9.41339ZM0.644287 15.6634H23.1443V13.1634H0.644287V15.6634Z",fillRule:"evenodd"})})})}var eu=n(90030),em=n(81037),eh=n(92324),ef=n(52934),ex=n(45954),eg=((i=eg||{}).SECTIONS="sections",i.CLUSTER="cluster",i);function ev(e){var t=e.shortcuts;return 0===t.length?null:(0,a.jsxs)("div",{className:"gtm-hook-mega-menu-shortcut-links border-b border-gray-300 pt-3",children:[(0,a.jsx)("h2",{className:"my-2 pl-6 text-xs font-semibold uppercase text-gray-500",children:"Quick Links"}),t.map(function(e){return(0,a.jsxs)(f.A,{className:"flex flex-row items-center px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:e.url,noStyle:!0,target:e.newWindow?"_blank":void 0,children:[(0,a.jsx)("div",{className:"mr-4 flex size-7 shrink-0 sm:self-center",children:(0,a.jsx)("img",{alt:"",height:"60",loading:"lazy",src:e.icon,width:"60"})}),(0,a.jsx)("div",{className:"flex flex-row",children:(0,a.jsx)("span",{children:e.label})}),e.badge&&(0,a.jsx)(ef.A,{className:"ml-2",textBasedColors:!0,children:e.badge})]},e.url)})]})}function ep(e){var t=e.clusterContent,n=e.hasAccess,r=e.pianoEnabled,s=e.registrationOnly,i=(0,o.GV)(function(e){return!!e.story.id});return(0,a.jsxs)("footer",{className:"border-y-1 border-y-gray-300 py-6",children:[t&&(0,a.jsx)("p",{className:"mb-4 px-6 text-center text-xs leading-normal text-gray-500 only:mb-0",children:t}),r&&!n&&!s&&(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)(f.A,{channel:i?"subscribe_button":"host_page_subs_clicks",className:"gtm-hook-mega-menu-subs-offer px-6 py-3 text-sm font-medium text-gray-900 underline",href:"/subscribe/",noStyle:!0,children:[(0,a.jsx)("span",{className:"pr-2",children:"View Subscription Offers"}),(0,a.jsx)(h.y,{className:"text-gray-900",icon:d.dmS,size:"sm"})]})})]})}function ey(e){var t,n,r=e.navigationData,s=(0,o.GV)(function(e){return e.features.piano.enabled}),i=(0,o.GV)(function(e){return e.piano}).hasAccess,x=(0,o.GV)(function(e){return e.features.piano.enabled&&e.features.piano.data.registrationOnly}),g=(0,o.GV)(function(e){var t;return null==(t=e.cluster)?void 0:t.sites}),v=(0,o.GV)(function(e){var t;return null==(t=e.cluster)?void 0:t.content}),p=r.aapPressReleases,y=r.aboutUs,b=r.conditionsOfUse,w=r.contactUs,j=r.displayShortcutsAtTop,N=r.externalLinks,A=r.giveFeedback,k=r.helpCentre,E=r.menuTree,S=r.privacyPolicy,L=r.shortcuts,T=r.surveyUrl,V=r.tcDigital,G=r.tcNewspaper,M="nav_ags.html"===r.template,z=(0,l._)((0,m.useState)(0),2),P=z[0],I=z[1],F=(0,l._)((0,m.useState)(0),2),O=F[0],D=F[1],H=(0,m.useRef)(null),R=(0,m.useContext)(ec),U=R.isMenuOpen,W=R.setMenuOpen,B=R.showCluster,X=R.showClusterTab,Y=R.showSubcategories,q=(0,m.useMemo)(function(){return(null==g?void 0:g.length)&&X&&!j?[{key:"sections",name:"Sections"},{key:"cluster",name:M?"Ags Network":"My Region"}]:[]},[g,M,j,X]),Q=(0,m.useMemo)(function(){var e=j&&(null==g?void 0:g.length)?null==g?void 0:g.map(function(e,t){return{absoluteUrl:"https://".concat(e.domain),customType:"My Region",id:t,logoSvgSquare:e.logoSvgSquare,menuName:e.name,menuVisible:!0,menuVisiblePrimary:!1,name:e.name,newWindow:!0,template:""}}):[],t=j&&(null==g?void 0:g.length)?[E.null[0],{absoluteUrl:"/my-region/",customType:"My Region",id:-1,logoSvgSquare:"",menuName:"",menuVisible:!0,menuVisiblePrimary:!1,name:"My Region",newWindow:!1,template:""}].concat((0,c._)(E.null.slice(1))):[];return(null==g?void 0:g.length)&&j?(0,_._)((0,C._)({},E),{[-1]:e,null:t}):E},[g,E,j]);return(0,m.useEffect)(function(){U||I(0);var e,t,n=document.body.scrollHeight>window.innerHeight?["fixed","overflow-y-scroll","left-0","right-0"]:["overflow-hidden"],r=document.documentElement.scrollTop;return U&&((e=document.body.classList).add.apply(e,(0,c._)(n)),document.body.style.top="-".concat(r,"px"),null==(t=H.current)||t.focus()),function(){if(U){var e;(e=document.body.classList).remove.apply(e,(0,c._)(n)),document.body.style.top="",window.scrollTo({top:r})}}},[U]),(0,m.useEffect)(function(){if(U){var e=B?q.findIndex(function(e){return"cluster"===e.key}):-1;D(-1!==e?e:0),I(j&&B?-1:0)}},[j,U,B,q]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,u.A)("fixed inset-0 z-50 size-full text-left transition-all",{"block bg-black opacity-50":U,hidden:!U}),onClick:function(e){return e.target===e.currentTarget&&W(!1)},ref:H}),(0,a.jsxs)("nav",{"aria-label":"Mega Menu",className:(0,u.A)("fixed left-0 top-0 z-50 h-full w-4/5 overflow-y-auto bg-white transition-all duration-200 ease-in-out md:w-80 lg:w-80",{"-translate-x-full":!U,"translate-x-0 shadow-2xl":U}),"data-testid":"megamenu-drawer",children:[(0,a.jsx)("div",{className:"mb-3 flex items-center py-1 md:border-0 md:pt-3 lg:mb-0 lg:border-0",children:(0,a.jsx)("button",{"aria-label":"Close",className:"ml-3 flex size-10 grow-0 flex-col items-center justify-center rounded bg-white transition-colors duration-600 ease-default hover:bg-gray-100 md:ml-6",onClick:function(){return W(!1)},type:"button",children:(0,a.jsx)(eu.A,{className:"size-6"})})}),(0,a.jsx)("div",{className:"mx-4 lg:hidden",children:(0,a.jsx)(ex.A,{className:"group left-0 top-0 h-8 w-full rounded-md",iconOnRight:!0,inputClassName:"h-10 pr-10 cursor-pointer cursor-text outline-none focus:ring-0 border-gray-300 border rounded-md shadow-inner"})}),j&&(0,a.jsx)(ev,{shortcuts:L}),!!q.length&&(0,a.jsx)("div",{className:"mb-3.5 mt-4 border-b border-gray-200 pl-3 lg:mt-0",children:(0,a.jsx)("nav",{"aria-label":"Tabs",className:"-mb-px flex space-x-8",children:q.map(function(e,t){var n=O===t;return(0,a.jsx)("button",{"aria-current":n,className:(0,u.A)("relative whitespace-nowrap border-b-2 px-3 py-4 text-sm font-medium outline-none","gtm-hook-mega-menu-tab-".concat(e.key),{"border-black font-semibold":n,"border-transparent":!n}),onClick:function(){return D(t)},type:"button",children:(0,a.jsx)("span",{className:"uppercase",children:e.name})},e.name)})})}),(0,a.jsxs)("div",{className:(0,u.A)({hidden:q.length&&(null==(t=q[O])?void 0:t.key)!=="sections"}),children:[(0,a.jsx)("div",{className:"border-b border-gray-300 pt-5 lg:pt-1",children:Q.null.filter(function(e){return e.menuVisible}).map(function(e,t,n){var r=Q[e.id],o=!!r&&Array.isArray(r)&&r.length>0&&r.some(function(e){return e.menuVisible})&&Y,l=P===e.id;return(0,a.jsxs)("div",{className:(0,u.A)("flex grow flex-col overflow-hidden",{"h-12":!l}),children:[(0,a.jsxs)("div",{className:(0,u.A)("flex w-full flex-row items-center hover:bg-gray-100",{"border-gray-200":l,"border-t-1":0!==t,"h-12 border-transparent":!l}),children:[(0,a.jsx)(f.A,{className:"gtm-hook-mega-menu-primary-link grow py-3 pl-6 text-sm font-medium uppercase leading-6 text-gray-900",href:e.absoluteUrl,noStyle:!0,target:e.newWindow?"_blank":"_self",children:e.menuName||e.name}),o&&(0,a.jsxs)("div",{className:"relative cursor-pointer px-6 py-3 hover:bg-gray-100",onClick:function(){return l?I(0):I(e.id)},children:[(0,a.jsx)("div",{className:"absolute inset-y-2.5 left-0"}),l?(0,a.jsx)(em.A,{className:"size-6"}):(0,a.jsx)(eh.A,{className:"size-6"})]})]}),o&&(0,a.jsxs)("div",{className:(0,u.A)("gtm-hook-mega-menu-secondary-links",{"border-b border-gray-200":o&&l&&t<n.length-1,hidden:!l}),children:[Q[e.id].map(function(t){return(0,a.jsxs)(f.A,{className:"flex items-center justify-start px-5.5 py-3 text-sm leading-6 text-gray-900 hover:bg-gray-100",href:t.absoluteUrl,noStyle:!0,tabIndex:l?0:-1,target:t.newWindow?"_blank":"_self",children:[-1===e.id&&"customType"in e&&"logoSvgSquare"in t&&"My Region"===e.customType&&(0,a.jsx)("div",{className:"mr-3 size-5",children:(0,a.jsx)("img",{alt:t.name,className:"size-full max-h-full max-w-full object-contain",src:t.logoSvgSquare})}),t.menuName||t.name]},t.id)}),-1===e.id&&"customType"in e&&"My Region"===e.customType&&(0,a.jsx)(ep,{clusterContent:v,hasAccess:i,pianoEnabled:s,registrationOnly:x})]})]},e.id)})}),!j&&(0,a.jsx)(ev,{shortcuts:L}),!!N.length&&(0,a.jsxs)("div",{className:"gtm-hook-mega-menu-external-links border-b border-gray-300 py-3",children:[(0,a.jsx)("h2",{className:"my-2 pl-6 text-xs font-semibold uppercase text-gray-500",children:"Network"}),N.map(function(e){return(0,a.jsxs)(f.A,{className:"flex flex-row items-center px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:e.url,noStyle:!0,target:e.newWindow?"_blank":"_self",children:[(0,a.jsx)("div",{className:"mr-4 size-6 shrink-0 grow-0 sm:self-ce
1nter",children:(0,a.jsx)("img",{alt:"",height:"60",src:e.icon,width:"60"})}),(0,a.jsx)("span",{className:"grow",children:e.text}),(0,a.jsx)(h.y,{className:"text-gray-900",icon:d.AaJ,size:"sm"})]},e.url)})]}),(0,a.jsxs)("div",{className:"gtm-hook-mega-menu-site-links py-3",children:[p&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/press-releases/",noStyle:!0,children:"Press Releases from AAP"}),T&&A&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:T,noStyle:!0,children:"Give feedback"}),w&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/contact/",noStyle:!0,children:"Contact us"}),k&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/help-centre/",noStyle:!0,children:"Help Centre"}),V&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/about-us/terms-conditions/digital-subscription/",noStyle:!0,children:"Terms & Conditions - Digital"}),G&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/about-us/terms-conditions/newspaper-subscription/",noStyle:!0,children:"Terms & Conditions - Newspaper"}),S&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/privacy/",noStyle:!0,children:"Privacy Policy"}),y&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/about-us/",noStyle:!0,children:"About us"}),b&&(0,a.jsx)(f.A,{className:"block px-6 py-3 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"/conditions-of-use/",noStyle:!0,children:"Conditions of Use"})]})]}),(0,a.jsxs)("div",{className:(0,u.A)({hidden:!q.length||(null==(n=q[O])?void 0:n.key)!=="cluster"}),children:[(0,a.jsx)("nav",{className:"gtm-hook-mega-menu-cluster-links my-7",children:g.map(function(e){return(0,a.jsxs)(f.A,{className:"flex flex-row items-center px-6 py-2 text-sm font-medium leading-6 text-gray-900 hover:bg-gray-100",href:"https://".concat(e.domain),noStyle:!0,target:"_blank",trusted:!0,children:[(0,a.jsx)("span",{className:"grow",children:e.name}),(0,a.jsx)(h.y,{className:"text-gray-900",icon:d.AaJ,size:"sm"})]},e.domain)})}),(0,a.jsx)(ep,{clusterContent:v,hasAccess:i,pianoEnabled:s,registrationOnly:x})]})]})]})}function eb(e){var t,n,r=e.children,s=e.megaMenuFeatures,i=e.navigationData,c=(0,o.GV)(function(e){return e.features.googleTagManager}),d=(0,l._)((0,m.useState)(!1),2),u=d[0],h=d[1],f=(0,l._)((0,m.useState)(!1),2),x=f[0],g=f[1],v=null==(t=null==s?void 0:s.showClusterTab)||t,p=null==(n=null==s?void 0:s.showSubcategories)||n,y=(0,m.useMemo)(function(){return{isMenuOpen:u,setMenuOpen:function(e){h(e),e||g(!1),c.enabled&&(0,X.qE)(e?{label:"hamburger_menu_open",trigger:"hamburger_menu_open_event"}:{label:"hamburger_menu_close",trigger:"hamburger_menu_close_event"})},setShowCluster:g,showCluster:x,showClusterTab:v,showSubcategories:p}},[u,h,g,x,c,v,p]);return(0,a.jsxs)(ec.Provider,{value:y,children:[r,(0,a.jsx)(ey,{navigationData:i})]})}var ew=n(22126),ej=n(52925);function eN(e){var t=e.className,n=(0,S.U3)().data;if(!n)return null;var r=n.conditions,s=n.forecasts;if(!r||!s)return null;var i=(0,l._)(s,1)[0],o=(0,ej.N)(i.iconPhrase);return(0,a.jsxs)(f.A,{className:(0,u.A)("h-8 text-sm text-gray-900",t),"data-testid":"weather",href:"/weather/",noStyle:!0,children:[o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ew.K,{}),(0,a.jsx)("span",{className:"mr-2",children:(0,a.jsx)(ew.E,{name:o,size:40})})]}),(0,a.jsxs)("span",{className:"font-bold",children:[(0,a.jsx)("span",{className:"sr-only",children:"Current temperature:"}),r.temperature,"\xb0"]}),(0,a.jsxs)("span",{className:"ml-3 inline-block text-gray-500",children:[(0,a.jsx)("span",{className:"sr-only",children:"Forecast minimum:"}),i.min,"\xb0 /"," ",(0,a.jsx)("span",{className:"sr-only",children:"Forecast maximum:"}),i.max,"\xb0"]})]})}function eA(){var e=(0,a.jsx)("div",{className:"h-14"}),t=(0,S.G0)(),n=(0,S.U3)().data;if(!n)return e;var r=n.conditions,s=n.forecasts;if(!r||!s)return e;var i=(0,l._)(s,1)[0],o=(0,ej.N)(i.iconPhrase);return(0,a.jsx)(f.A,{className:(0,u.A)("block text-sm text-gray-900"),"data-testid":"weather",href:"/weather/",noStyle:!0,children:(0,a.jsxs)("div",{className:"mx-4 flex h-14 flex-row items-center justify-between border-b border-gray-100 py-2",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"font-bold capitalize",children:t}),(0,a.jsx)("span",{className:"text-gray-500",children:i.iconPhrase})]}),(0,a.jsxs)("div",{className:"flex flex-row",children:[o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ew.K,{}),(0,a.jsx)(ew.E,{name:o,size:40})]}),(0,a.jsxs)("div",{className:"flex flex-col text-right",children:[(0,a.jsxs)("span",{className:"font-bold",children:[(0,a.jsx)("span",{className:"sr-only",children:"Current temperature:"}),r.temperature,"\xb0"]}),(0,a.jsxs)("span",{className:"ml-3 text-gray-500",children:[(0,a.jsx)("span",{className:"sr-only",children:"Forecast minimum:"}),i.min,"\xb0 /"," ",(0,a.jsx)("span",{className:"sr-only",children:"Forecast maximum:"}),i.max,"\xb0"]})]})]})]})})}function eC(e){var t=e.themeVariant;return(0,a.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,a.jsx)(G.A,{className:(0,u.A)("w-48",{"h-9":t!==V.fE.ECHIDNA,"h-11":t===V.fE.ECHIDNA}),type:k.e.DEFAULT})})}function e_(e){var t=e.labelLogoType,n=void 0===t?k.s.DEFAULT:t,r=e.labelOfLogo,s=e.logoTitleClassName,i=e.showDate,l=e.showMegaMenu,c=e.showSubscribeLoginButtons,d=e.showViafoura,m=e.showWeather,h=e.urlOfLogo,f=(0,o.GV)(function(e){return e.settings.viewType}),x=(0,o.GV)(function(e){return e.conf.themeVariant}),g=(0,T.Ao)(),v=(null==g?void 0:g.mobile)?g.mobile===z.U.HOMEPAGE:"homepage"===f,p=x===V.fE.ECHIDNA,y=x===V.fE.AGS,b=(0,O.jn)(y),w=void 0===d||d?(0,a.jsx)(F,{}):null;return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:(0,u.A)("relative z-40 flex w-full items-center justify-between border-b border-gray-300 bg-white py-1.5 pl-3 pr-4",{"h-12":!p,"h-16":p}),children:[(void 0===l||l)&&(0,a.jsx)(ed,{}),n===k.s.LABEL_WITH_SQUARE_LOGO?(0,a.jsx)("div",{className:"absolute left-14 top-1/2 -translate-y-1/2",children:(0,a.jsx)(M,{logoHeight:"h-6",logoWidth:"w-5",title:void 0===r?"":r,titleClassName:s,url:void 0===h?void 0:h})}):(0,a.jsx)(eC,{themeVariant:x}),w,(0,a.jsx)(ei,{})]}
1),(void 0===c||c)&&(0,a.jsxs)("div",{className:(0,u.A)("relative z-[15] flex h-9 w-full flex-row-reverse items-center justify-between bg-white px-4 empty:hidden",{"border-b border-gray-300 bg-gray-100":v}),children:[(0,a.jsx)(eo,{}),(void 0===i||i)&&v&&b&&(0,a.jsx)("div",{className:"font-inter text-xs font-medium text-gray-900",children:b})]}),v&&m&&(0,a.jsx)(eA,{})]})}var ek=n(6753),eE=n(14335),eS=n(37942),eL=n(46498);function eT(e){var t=e.className,n=e.elements,r=e.onClose;return(0,a.jsx)("div",{className:"grid grid-cols-1 divide-y divide-gray-200 bg-white px-4 shadow-md md:place-items-center xl:w-[375px] xl:place-items-start xl:rounded-lg ".concat(void 0===t?"":t),children:n.map(function(e,t){var n=(0,B.G9)(e.text);return(0,a.jsx)("div",{className:(0,u.A)("w-full py-3 md:w-[375px] xl:w-full",{"mt-3":0===t}),children:(0,a.jsx)("button",{"aria-label":n,className:"line-clamp-2 w-full text-left font-inter text-base font-medium leading-9 text-gray-800 focus:outline-none md:text-center xl:text-left",dangerouslySetInnerHTML:{__html:n},onClick:function(){return(0,eL.A)(n,r)},type:"button"})},n)})})}function eV(e){var t,n=e.story,r=(0,l._)((0,m.useState)(!1),2),s=r[0],i=r[1],o=n.makeH2AnchorLinks?null==(t=n.elements)?void 0:t.filter(function(e){return e.type===eS.iP.Heading&&"2"===e.level}):[],c=(0,m.useRef)(null),f=(0,m.useRef)(null);return(0,m.useEffect)(function(){var e=function(e){s&&c.current&&f.current&&!c.current.contains(e.target)&&!f.current.contains(e.target)&&i(!1)};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[s]),o&&o.length>0&&(0,a.jsxs)("div",{className:"group-focus-within:opacity-0 lg:ml-4 xl:relative",onFocus:function(e){e.preventDefault(),e.target.blur()},children:[(0,a.jsxs)("button",{"aria-label":"In this article",className:"pl-2 font-inter text-base font-bold xl:pl-4",onClick:function(){i(!s)},ref:f,type:"button",children:["In this article",(0,a.jsx)(h.y,{className:(0,u.A)("ml-2 text-sm"),icon:s?d.w2A:d.Jt$})]}),s&&(0,a.jsx)("div",{className:"absolute left-0 z-[-1] w-full xl:left-auto xl:z-0",ref:c,children:(0,a.jsx)(eT,{elements:o,onClose:function(){return i(!1)}})})]})}function eG(){return(0,a.jsx)("div",{style:{height:30,width:30},children:(0,a.jsx)(G.A,{className:"size-full",type:k.e.SQUARE})})}function eM(e){var t,n,r=e.content,s=e.labelLogoType,i=void 0===s?k.s.DEFAULT:s,l=e.labelOfLogo,c=e.logoTitleClassName,d=e.showMegaMenu,m=e.showSticky,h=e.showViafoura,x=e.urlOfLogo,g=(0,o.GV)(function(e){return e.nav.returnUrl}),v=(0,o.GV)(function(e){return e.settings.viewType}),p=(0,T.Ao)(),y=(0,o.GV)(function(e){return e.story}),b=(0,S.xG)();if(!(void 0===m||m))return null;var w=(null==p?void 0:p.mobile)?p.mobile===z.U.STORY:["story","story-travel"].includes(v),j=void 0===h||h?(0,a.jsx)(F,{}):null;return(0,a.jsxs)("div",{className:"flex h-12 w-full items-center justify-between bg-white py-1.5 pl-3 shadow-md min-[390px]:pr-4",children:[(void 0===d||d)&&(0,a.jsx)("div",{className:(0,u.A)("mr-3 pr-3",{"border-r border-gray-200":i!==k.s.LABEL_WITH_SQUARE_LOGO}),children:(0,a.jsx)(ed,{})}),!w&&(0,a.jsxs)(a.Fragment,{children:[y.makeH2AnchorLinks&&(0,eL.i)(y)?(0,a.jsxs)("div",{className:"flex grow",children:[(0,a.jsx)(eV,{story:y}),(0,a.jsx)("div",{className:"grow"})]}):(0,a.jsxs)(a.Fragment,{children:[null!=r?r:i===k.s.LABEL_WITH_SQUARE_LOGO?(0,a.jsx)("div",{className:"-ml-3",children:(0,a.jsx)(M,{logoHeight:"h-6",logoWidth:"w-5",title:void 0===l?"":l,titleClassName:c,url:void 0===x?void 0:x})}):(0,a.jsx)("div",{className:"absolute top-1/2 -translate-y-1/2",style:{left:73},children:(0,a.jsx)(eG,{})}),j]}),(0,a.jsx)(el,{})]}),w&&(0,a.jsxs)("div",{className:"flex grow flex-row items-center",children:[y.makeH2AnchorLinks&&(0,eL.i)(y)?(0,a.jsxs)("div",{className:"flex grow",children:[(0,a.jsx)(eV,{story:y}),(0,a.jsx)("div",{className:"grow"})]}):(0,a.jsxs)(a.Fragment,{children:[r?(0,a.jsx)(a.Fragment,{children:r}):(0,a.jsxs)(f.A,{className:"flex flex-none grow flex-row items-center justify-start rounded bg-white px-2.5 py-2 text-sm font-medium transition-colors duration-600 ease-default hover:bg-gray-100 focus:transition-none",href:null!=(t=null==g?void 0:g.url)?t:"/",noStyle:!0,children:[(0,a.jsx)("svg",{className:"fill-current text-gray-900",fill:"none",height:"11",viewBox:"0 0 17 11",width:"17",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M6.50716 10.2071C6.11663 10.5976 5.48347 10.5976 5.09294 10.2071L1.09294 6.2071C0.702418 5.81658 0.702418 5.18342 1.09294 4.79289L5.09294 0.792894C5.48347 0.402369 6.11663 0.402369 6.50716 0.792893C6.89768 1.18342 6.89768 1.81658 6.50716 2.20711L4.21426 4.5L15.8 4.5C16.3523 4.5 16.8 4.94771 16.8 5.5C16.8 6.05228 16.3523 6.5 15.8 6.5L4.21426 6.5L6.50716 8.79289C6.89768 9.18341 6.89768 9.81658 6.50716 10.2071Z",fillRule:"evenodd"})}),(0,a.jsx)("span",{className:"ml-2.5",children:null!=(n=null==g?void 0:g.text)?n:"News Home"})]}),(0,a.jsx)("div",{className:"mr-2 justify-self-end",children:j})]}),w&&(0,a.jsxs)("div",{className:"flex flex-row items-center justify-end gap-x-4",children:[(0,a.jsx)(ek.A,{className:"w-auto px-2 md:w-[94px]",showTitle:!1}),(0,a.jsx)(eE.A,{className:"w-auto",showTriggerTitle:!1,url:b})]})]})]})}function ez(e,t){return{labelLogoType:k.s.DEFAULT}}function eP(e){var t,n,r,s=e.staticMobileNavFeatures,i=e.stickyMobileNavFeatures,c=(0,o.GV)(function(e){return e.page.hasTakeoverAd}),d=(0,o.GV)(function(e){return e.layoutTemplate}),h=(0,o.GV)(function(e){return e.features.weather.enabled}),f=(0,S.DP)(),x=(0,l._)((0,T.xT)(),2),g=x[0],v=x[1],p=(0,m.useContext)(E.A).stickyMobileContent,y=(0,m.useContext)(L.A).setIsStickied,b=(0,m.useRef)(null),w=(n=(t=(0,l._)((0,m.useState)(!1),2))[0],r=t[1],(0,m.useEffect)(function(){var e=function(){window.removeEventListener("scroll",e),window.scrollY/((document.body.offsetHeight||document.documentElement.scrollHeight)-window.innerHeight)*100>=30?r(!0):setTimeout(function(){return window.addEventListener("scroll",e)},100)};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[30]),n),j=(0,l._)((0,m.useState)(!1),2),N=j[0],A=j[1];return(0,m.useEffect)(function(){if((null==b?void 0:b.current)&&!N){var e=new MutationObserver(function(){var t,n=null==(t=b.current)?void 0:t.firstChild;n&&n.firstChild&&(A(!0),e.disconnect())});return e.observe(b.current,{childList:!0,subtree:!0}),function(){e.disconnect()}}},[N]),(0,m.useEffect)(function(){y(v)},[y,v]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,u.A)("group fixed top-0 z-40 w-full transition-all duration-150 ease-in print:invisible",v?"visible opacity-100":"invisible opacity-0",{hidden:c}),children:[N?(0,a.jsx)(e_,(0,_._)((0,C._)({},s,ez(d,f)),{showSubscribeLoginButtons:!1,showWeather:h})):(0,a.jsx)(eM,(0,C._)({content:p},i,ez(d,f))),(0,a.jsx)("div",{className:(0,u.A)("h-min transition-all duration-300 ease-in",v&&w?"translate-y-0 opacity-100":"-translate-y-full opacity-0"),id:"mostViewedNavBarMobile",ref:b})]}),(0,a.jsxs)("div",{className:"z-50",children:[(0,a.jsx)(e_,(0,_._)((0,C._)({},s,ez(d,f)),{showWeather:h})),(0,a.jsx)("div",{className:"h-0 w-full",ref:g})]})]})}var eI=n(2736),eF=n(38679),eO=n(99262);function eD(e){var t=(0,l._)((0,m.useState)(!1),2),n=t[0],r=t[1],s=(0,o.jL)();return(0,m.useEffect)(function(){var e=function(){return!!("bz-custom-container"===document.body.children[0].className||document.getElementById("celtra-skin-container-background")||document.getElementById("bz-topfiller")||document.body.querySelector(".celtra-mobile-skin-wrapper"))&&(s(eI.A.actions.setHasTakeoverAd()),r(!0),!0)};if(!e()){var t=new MutationObserver(function(){e()&&t.disconnect()});return t.observe(document.body,{childList:!0}),function(){t.disconnect()}}},[s]),(0,a.jsx)(eF.A,(0,C._)({autoRefresh:!1,isTakeoverAd:n,mdSizes:eO.DT.leaderboard,moveWhenGutterAdPresent:!0,placeholderPadding:"py-3",position:1,publiftName:"header-1",sizes:[],slotId:"billboard",withLabel:!1,xlSizes:[[996,120],[996,250],[970,250],[940,250],[940,120]]},e))}var eH=n(93409),eR=n(15113),eU=n(47492);function eW(e){var t=e.menuTree;return(0,a.jsx)("nav",{"aria-label":"Global",className:"flex max-w-container items-center space-x-1",id:"nav--primary-left",children:t.null.filter(function(e){return e.menuVisiblePrimary}).map(function(e){return(0,a.jsx)(f.A,{className:"inline-flex shrink-0 items-center rounded bg-white px-2 py-1 text-sm font-medium leading-4 text-gray-900 transition-colors duration-600 ease-default hover:bg-gray-100 focus:transition-none",href:e.absoluteUrl,noStyle:!0,target:e.newWindow?"_blank":"_self",children:e.menuName||e.name},e.id)})})}function eB(e){var t,n=e.menuTree,r=e.showBottomNavigation,s=e.showDate,i=void 0===s||s,c=e.showDpe,d=void 0===c||c,h=e.showLeftNavigation,x=void 0!==h&&h,v=e.showMegaMenu,p=e.showMyRegion,y=e.showSearch,b=e.showSportAccent,w=void 0!==b&&b,j=e.showViafoura,N=e.showWeather,A=void 0!==N&&N,C=(0,o.GV)(function(e){return e.features}),_=C.dpe,E=C.piano.enabled,L=(0,o.GV)(function(e){var t;return null==(t=e.cluster)?void 0:t.sites}),T=(0,o.GV)(function(e){return e.conf.themeVariant}),z=(0,o.GV)(function(e){return e.layoutTheme}),P=T===V.fE.AGS,I=T===V.fE.EXPLORE,F=T===V.fE.ECHIDNA,D=!A&&F,H=eU.S[z.toLowerCase()],R=(0,m.useContext)(ec),U=R.setMenuOpen,W=R.setShowCluster,B=(0,O.jn)(P),X=(0,S.lW)().width,Y=(0,m.useRef)(null),q=(0,l._)((0,m.useState)(!1),2),Q=q[0],K=q[1],J=d||i,Z=!J&&x;return(0,m.useEffect)(function(){var e,t,n=(null==(e=Y.current)?void 0:e.clientWidth)||0;K(((null==(t=Y.current)?void 0:t.scrollWidth)||0)>n)},[X]),(0,a.jsxs)("div",{className:(0,u.A)("w-full px-6",{"border-b-1 border-gray-900":F,shadow:I}),children:[(0,a.jsxs)("div",{className:(0,u.A)("relative mx-auto flex w-full max-w-container items-center justify-between",{"h-[6.25rem]":F,"h-28":!F}),children:[(0,a.jsxs)("div",{className:(0,u.A)("flex h-full flex-col py-3",{"justify-between":!Z,"justify-center":Z}),children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(ed,{className:(0,u.A)({"lg:hidden":!(void 0===v||v)})}),(0,a.jsxs)("div",{className:"hidden lg:block",children:[(void 0===y||y)&&(0,a.jsx)(ex.A,{className:"group left-0 top-0 ml-2 h-full w-8 focus-within:w-64 focus-within:rounded-md",inputClassName:"h-10 pr-1 focus:pr-3 border-0 cursor-pointer focus:cursor-text outline-none focus:ring-0 focus:border-gray-300 focus:border focus:rounded-md focus:shadow-inner bg-white hover:bg-gray-100 focus:bg-white transition-colors focus:transition-none duration-600 ease-default rounded"}),x&&n&&(0,a.jsx)(eW,{menuTree:n})]})]}),J&&(0,a.jsxs)("div",{className:"mt-4 flex flex-col font-inter text-xs text-gray-900",children:[i&&(0,a.jsx)("div",{className:"font-bold",children:B}),d&&(null==_?void 0:_.enabled)&&(null==(t=_.data)?void 0:t.dpeIndexPageUrl)&&(0,a.jsx)(f.A,{className:"mb-1 block font-normal text-gray-900 duration-600 ease-default hover:text-gray-600 lg:mt-1",href:(0,g.sv)(_.data.dpeIndexPageUrl),noStyle:!0,children:"Today‘s Paper"})]})]}),(0,a.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,a.jsx)(G.A,{className:"h-12 w-64 lg:h-14 lg:w-72 xl:h-16 xl:w-80",type:k.e.UNDERLINED})}),(0,a.jsxs)("div",{className:"flex h-full flex-col items-end justify-between py-4",children:[(0,a.jsx)(er,{className:(0,u.A)("last:first:mb-auto",{"h-9":!D,"h-full":D}),showViafoura:void 0===j||j}
1),A&&(0,a.jsx)(eN,{className:(0,u.A)("mt-4 h-10",{"last:first:mt-auto":E,"last:first:my-auto":!E})})]})]}),(void 0===r||r)&&(0,a.jsxs)("div",{className:(0,u.A)("mx-auto max-w-container",{relative:Q}),children:[Q&&(0,a.jsx)("div",{className:"absolute inset-y-px right-0 w-14 bg-gradient-to-l from-white"}),(0,a.jsxs)("nav",{"aria-label":"Global",className:(0,u.A)("flex h-9 max-w-container items-center space-x-2 overflow-x-auto border-t border-gray-300",{"justify-center":!Q,"pr-4":Q}),id:"nav--primary",ref:Y,children:[n&&n.null.filter(function(e){return e.menuVisiblePrimary&&(!P||"/travel/"!==e.absoluteUrl)}).map(function(e){return(0,a.jsx)(f.A,{className:"inline-flex shrink-0 items-center rounded bg-white px-2 py-1 text-xs font-medium uppercase leading-4 text-gray-900 transition-colors duration-600 ease-default hover:bg-gray-100 focus:transition-none",href:e.absoluteUrl,noStyle:!0,target:e.newWindow?"_blank":"_self",children:(null==H?void 0:H[e.template])===V.w3.SPORT&&w?(0,a.jsx)(M,{logoHeight:"h-4",logoWidth:"w-4",title:e.name,titleClassName:"bg-green-650 text-white"}):e.menuName||e.name},e.id)}),!!(null==L?void 0:L.length)&&(void 0===p||p)&&(0,a.jsx)("button",{className:"gtm-hook-nav-primary-cluster inline-flex shrink-0 items-center bg-gray-100 px-2 py-1 text-xs font-medium uppercase leading-4 text-gray-900 transition-colors duration-600 ease-default focus:transition-none",onClick:function(){U(!0),W(!0)},type:"button",children:P?"Ags Network":"My Region"})]})]})]})}var eX=n(56003),eY=n(33826),eq=n.n(eY);function eQ(){return(0,a.jsx)(G.A,{className:"h-11 w-56",type:k.e.DEFAULT})}function eK(e){var t=e.breadcrumbEntryClassName,n=e.containerClassName,r=e.labelLogoType,s=void 0===r?k.s.DEFAULT:r,i=e.labelOfLogo,o=e.logoTitleClassName,l=e.menuTree,c=e.showBreadcrumbs,d=void 0===c||c,m=e.showHomeInBreadcrumb,h=e.showLeftNavigation,f=e.showMegaMenu,x=e.showSearch,g=void 0===x||x,v=e.showViafoura,p=e.urlOfLogo,y=void 0!==h&&h&&!!l;return(0,a.jsx)("div",{className:(0,u.A)("w-full bg-white px-6 shadow-md",n),children:(0,a.jsxs)("div",{className:"mx-auto flex h-16 w-full max-w-container items-center",children:[(0,a.jsxs)("div",{className:(0,u.A)("flex w-full items-center pr-6",eq().leftColumnMaxWidth),children:[(0,a.jsx)(ed,{className:(0,u.A)({"lg:hidden":!(void 0===f||f)})}),(g||d||y)&&(0,a.jsxs)("div",{className:"group hidden items-center overflow-hidden lg:flex",children:[g&&(0,a.jsx)(ex.A,{className:"group left-0 top-0 ml-2 size-10 focus-within:w-64 focus-within:rounded-md",inputClassName:"h-10 pr-1 focus:pr-3 border-0 cursor-pointer focus:cursor-text outline-none focus:ring-0 focus:border-gray-300 focus:border focus:rounded-md focus:shadow-inner bg-white hover:bg-gray-100 focus:bg-white transition-colors focus:transition-none duration-600 ease-default rounded"}),d&&!y&&(0,a.jsx)(eX.A,{breadcrumbEntryClassName:void 0===t?void 0:t,className:"ml-3 overflow-hidden focus:block group-focus-within:opacity-0",showHome:void 0!==m&&m}),y&&(0,a.jsx)(eW,{menuTree:l})]})]}),(0,a.jsx)("div",{children:s===k.s.LABEL_WITH_SQUARE_LOGO?(0,a.jsx)(M,{logoHeight:"h-8",logoWidth:"w-6",title:void 0===i?"":i,titleClassName:o,url:void 0===p?void 0:p}):(0,a.jsx)(eQ,{})}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(er,{showViafoura:void 0===v||v})})]})})}function eJ(){return(0,a.jsx)(G.A,{className:"h-11 w-56",type:k.e.DEFAULT})}function eZ(e){var t=e.breadcrumbEntryClassName,n=e.containerClassName,r=e.content,s=e.labelLogoType,i=void 0===s?k.s.DEFAULT:s,l=e.labelOfLogo,c=e.logoTitleClassName,d=e.menuTree,m=e.showBreadcrumbs,h=void 0===m||m,f=e.showHomeInBreadcrumb,x=e.showLeftNavigation,g=e.showMegaMenu,v=e.showSearch,p=void 0===v||v,y=e.showShare,b=e.showSticky,w=e.showViafoura,j=void 0===w||w,N=e.urlOfLogo,A=(0,o.GV)(function(e){return e.settings.viewType}),C=(0,T.Ao)(),_=(0,o.GV)(function(e){return e.story}),E=(0,S.xG)();if(!(void 0===b||b))return null;var L=(null==C?void 0:C.wide)?C.wide===z.U.HOMEPAGE:"homepage"===A,V=(null==C?void 0:C.wide)?C.wide===z.U.STORY:"story"===A,G=void 0!==x&&x&&!!d;return(0,a.jsx)("div",{className:(0,u.A)("w-full bg-white px-6 shadow-md",n),children:(0,a.jsxs)("div",{className:"mx-auto flex h-16 w-full max-w-container items-center justify-between",children:[(0,a.jsxs)("div",{className:(0,u.A)("flex items-center justify-self-start pr-6",eq
1().leftColumnMaxWidth),children:[(0,a.jsx)(ed,{className:(0,u.A)({"lg:hidden":!(void 0===g||g)})}),(p||h||G)&&(0,a.jsxs)("div",{className:"group hidden items-center lg:flex",children:[p&&(0,a.jsx)(ex.A,{className:"group left-0 top-0 ml-2 size-10 focus-within:w-64 focus-within:rounded-md",inputClassName:"h-10 pr-1 focus:pr-3 border-0 cursor-pointer focus:cursor-text outline-none focus:ring-0 focus:border-gray-300 focus:border focus:rounded-md focus:shadow-inner bg-white hover:bg-gray-100 focus:bg-white transition-colors focus:transition-none duration-600 ease-default rounded"}),_.makeH2AnchorLinks&&(0,eL.i)(_)?(0,a.jsx)(eV,{story:_}):!L&&!G&&h&&(0,a.jsx)(eX.A,{breadcrumbEntryClassName:void 0===t?void 0:t,className:"ml-3 overflow-hidden group-focus-within:opacity-0",showHome:void 0!==f&&f}),G&&(0,a.jsx)(eW,{menuTree:d})]}),(0,a.jsx)("div",{className:"hidden md:block lg:hidden",children:(0,a.jsx)(eV,{story:_})})]}),r?(0,a.jsx)(a.Fragment,{children:r}):(0,a.jsx)("div",{children:i===k.s.LABEL_WITH_SQUARE_LOGO?(0,a.jsx)(M,{logoHeight:"h-8",logoWidth:"w-6",title:void 0===l?"":l,titleClassName:c,url:void 0===N?void 0:N}):(0,a.jsx)(eJ,{})}),(0,a.jsx)("div",{className:"justify-self-end",children:V?(0,a.jsxs)("div",{className:"flex justify-end",children:[j&&(0,a.jsx)(F,{}),(void 0===y||y)&&(0,a.jsxs)("div",{className:"flex flex-row items-center justify-end",children:[(0,a.jsx)(ek.A,{className:"w-auto px-2 md:w-[94px]"}),(0,a.jsx)(eE.A,{url:E})]})]}):(0,a.jsx)(er,{showViafoura:j})})]})})}function e$(e){switch(e){case V.w3.CLASSIFIEDS:var t={breadcrumbEntryClassName:"font-medium text-xs",labelLogoType:k.s.DEFAULT,showHomeInBreadcrumb:!1};return{staticNavProps:t,stickyNavProps:t};case V.w3.SPONSORED:var n={labelLogoType:k.s.DEFAULT,showBreadcrumbs:!1};return{staticNavProps:(0,_._)((0,C._)({},n),{containerClassName:"border-b border-gray-300"}),stickyNavProps:n};case V.w3.SPORT:var r={breadcrumbEntryClassName:"font-medium text-xs",labelLogoType:k.s.DEFAULT,showHomeInBreadcrumb:!1};return{staticNavProps:r,stickyNavProps:r};case V.w3.EXPLORE_TRAVEL:var s,i,a={labelLogoType:k.s.DEFAULT,showBreadcrumbs:!1};return{staticNavProps:(0,_._)((0,C._)({},a),{containerClassName:null==(i=eH.CV[V.fE.EXPLORE])||null==(s=i.staticWideNav)?void 0:s.containerClassNames}),stickyNavProps:a};case V.w3.HELP_CENTRE:var o={labelLogoType:k.s.DEFAULT,showBreadcrumbs:!1};return{staticNavProps:o,stickyNavProps:o};case V.w3.TOPIC:var l={labelLogoType:k.s.DEFAULT,showBreadcrumbs:!1};return{staticNavProps:l,stickyNavProps:l};default:var c={labelLogoType:k.s.DEFAULT,showHomeInBreadcrumb:!1};return{staticNavProps:c,stickyNavProps:c}}}function e0(e){var t,n,r=e.homepageWideNavFeatures,s=e.navigationData,i=e.staticWideNavFeatures,c=e.stickyWideNavFeatures,d=(0,l._)((0,m.useState)(!1),2),h=d[0],f=d[1],x=(0,l._)((0,m.useState)({isAdRendered:!1,isAnimate:!1}),2),v=x[0],p=x[1],y=(0,m.useContext)(L.A).setIsStickied,b=(0,l._)((0,T.xT)(),2),w=b[0],j=b[1],N=(0,o.GV)(function(e){return e.page.hasTakeoverAd}),A=(0,o.GV)(function(e){return e.features.weather.enabled}),k=(0,m.useContext)(E.A),G=k.forcedAdPosition,M=k.hideShortcuts,P=k.showNavigationAd,I=k.stickyWideContent,F=(0,S.QW)().showComponentPlaceholder,O=(0,o.GV)(function(e){return e.conf.mode})===V.G9.EDIT,D=N||!F||!P||O;(0,m.useEffect)(function(){y(j)},[y,j]),(0,m.useEffect)(function(){var e;return D||h||(e=window.setTimeout(function(){f(!0)},1e4)),function(){e&&clearTimeout(e)}},[D,h]),(0,m.useEffect)(function(){var e;return!h||v.isAnimate||v.isAdRendered||(j?e=window.setTimeout(function(){p({isAdRendered:!1,isAnimate:!0})},1500):p({isAdRendered:!0,isAnimate:!1})),function(){e&&clearTimeout(e)}},[h,v,j]),(0,m.useEffect)(function(){var e;return h&&v.isAnimate&&!v.isAdRendered&&(e=window.setTimeout(function(){p({isAdRendered:!0,isAnimate:!1})},500)),function(){e&&clearTimeout(e)}},[h,v]);var H=(0,o.GV)(function(e){return e.piano.subscribeButtonOverride}),R=(0,S.QK)()===B.bq.DESKTOP,X=(0,W.ET)(W.Vu.NavSubscribeButton2);(0,S.H5)(function(){return!!X&&!!R&&!!H&&(U().dataLayer({dataLayer:{event:"abtest_impression"}}),!0)},[X,R,H]);var Y=(0,o.GV)(function(e){return e.layoutTemplate}),q=(0,o.GV)(function(e){return e.settings.viewType}),Q=(0,T.Ao)(),K=(0,S.DP)(),J=(null==Q?void 0:Q.wide)?Q.wide===z.U.HOMEPAGE:"homepage"===q,Z=!G||G===z.z.ABOVE,$=(0,a.jsx)(eZ,(0,C._)({content:I,menuTree:s.menuTree},c,null==(t=e$(K))?void 0:t.stickyNavProps)),ee=J||"autumn-header.html"===Y?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eB,(0,_._)((0,C._)({menuTree:s.menuTree},r),{showWeather:A})),!M&&(0,a.jsx)(eR.A,{isForSiteNav:!0,navigationData:s})]}):(0,a.jsx)(eK,(0,C._)({menuTree:s.menuTree},i,null==(n=e$(K))?void 0:n.staticNavProps)),et=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,u.A)({"fixed top-0 z-20 w-full":j,hidden:N||!j}),children:$}),N||!j?ee:(0,a.jsx)("div",{className:"invisible",children:ee}),(0,a.jsx)("div",{className:"h-0 w-full",ref:w}),!(0,g.lj)(q)&&P&&F&&(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(eD,{})})]}),en=(0,a.jsxs)(a.Fragment,{children:[!(0,g.lj)(q)&&P&&F&&(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(eD,{})}),(0,a.jsx)("div",{className:(0,u.A)("z-20 w-full",{"fixed top-0":j,hidden:!j||N}),children:$}),ee,!N&&(0,a.jsx)("div",{className:"h-0 w-full",ref:w})]});return Z?en:et}var e1=function(e){var t=e.children,n=(0,l._)((0,m.useState)(!1),2),r=n[0],s=n[1],i=(0,m.useMemo)(function(){return{isNavbarChildNode:!0,isStickied:r,setIsStickied:function(e){s(e)}}},[!0,r,s]);return(0,a.jsx)(L.A.Provider,{value:i,children:t})},e3=n(64843),e2=n(3522);function e6(e){var t=e.children,n=(0,o.GV)(function(e){return e.piano}).user,r=(0,e2.S_)(),s=(0,o.GV)(function(e){return e.features.userBookmarks.enabled}),i=(0,o.GV)(function(e){var t,n,r;return e.features.braze.enabled&&!!(null==(t=e.features.braze.data)?void 0:t.topicsRecommendation)&&!!(null==(r=e.features.braze.data)||null==(n=r.topics)?void 0:n.length)}),l=N(),x=l.bookmarks,g=l.isOpen,v=l.toggleSideDrawer,p=(0,o.GV)(function(e){return e.settings.siteId}),y=(0,m.useRef)(null),b=(0,K.H)();(0,m.useEffect)(function(){var e,t,n=document.body.scrollHeight>window.innerHeight?["fixed","overflow-y-scroll","left-0","right-0"]:["overflow-hidden"],r=document.documentElement.scrollTop;return g&&((e=document.body.classList).add.apply(e,(0,c._)(n)),document.body.style.top="-".concat(r,"px"),null==(t=y.current)||t.focu
1s()),function(){if(g){var e;(e=document.body.classList).remove.apply(e,(0,c._)(n)),document.body.style.top="",window.scrollTo({top:r})}}},[g]);var w=function(){v()};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{"aria-hidden":"true",className:(0,u.A)("fixed inset-0 z-[9998] !ml-0 size-full text-left transition-all",{"block bg-black opacity-50":g,hidden:!g}),onClick:w,onKeyDown:function(e){"Escape"===e.key&&w()},ref:y,role:"presentation",tabIndex:-1}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("nav",{"aria-label":"Side Drawer",className:(0,u.A)("fixed right-0 top-0 z-[9999] h-full w-4/5 overflow-y-auto bg-white p-4 transition-all duration-200 ease-in-out will-change-transform md:w-80 lg:w-80",{"translate-x-0 shadow-2xl":g,"translate-x-full":!g}),"data-testid":"user-side-drawer",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center justify-between border-b border-gray-300 py-1",children:[(0,a.jsx)("span",{className:"grow overflow-hidden truncate whitespace-nowrap font-inter text-xs font-semibold text-gray-900",title:null==n?void 0:n.email,children:null==n?void 0:n.email}),(0,a.jsx)("button",{"aria-label":"Close",className:"ml-3 flex size-10 grow-0 flex-col items-end justify-center rounded bg-white transition-colors duration-600 ease-default hover:bg-gray-100 md:ml-6",onClick:function(){return v()},type:"button",children:(0,a.jsx)(eu.A,{className:"size-6"})})]}),(0,a.jsxs)("h2",{className:"mt-8 font-merriweather text-xl font-normal leading-6 text-gray-900",children:[(0,e2.g_)(r.getHours()),", ",null==n?void 0:n.given_name]}),(0,a.jsx)("h3",{className:"mt-8 font-inter text-sm font-bold uppercase text-gray-900",children:"Your Content"}),(0,a.jsxs)("ol",{className:"mt-1 divide-y-1 divide-gray-300",children:[(0,a.jsx)("li",{className:"flex items-center hover:underline",children:(0,a.jsxs)(f.A,{className:"flex w-full items-center justify-between py-4 font-inter text-sm font-medium",href:"/newsletters/",noStyle:!0,onClick:function(){(0,X.CI)({data:{label:"newsletters",section:"your_content"},event:"profile_interaction"})},children:["Newsletters",(0,a.jsx)(h.y,{icon:d.XkK})]})}),i&&(0,a.jsx)("li",{children:(0,a.jsxs)(f.A,{className:"flex w-full items-center justify-between py-4 font-inter text-sm font-medium hover:underline",href:"/manage-topics/",noStyle:!0,onClick:function(){(0,X.CI)({data:{label:"manage_topics",section:"your_content"},event:"profile_interaction"})},children:["Manage Topics",(0,a.jsx)(h.y,{icon:d.XkK})]})}),s&&(0,a.jsxs)("li",{className:"py-4",children:[(0,a.jsxs)(f.A,{className:"flex w-full items-center justify-between font-inter text-sm font-medium hover:underline",href:"/saved/",noStyle:!0,onClick:function(){(0,X.CI)({data:{label:"my_saved_list",section:"your_content"},event:"profile_interaction"})},children:["My saved List",!(null==x?void 0:x.length)&&(0,a.jsx)(h.y,{icon:d.XkK})]}),(0,a.jsx)("ol",{className:"mt-2 divide-y divide-gray-300",children:null==x?void 0:x.map(function(e){var t,n,r,s,i,o,l=(null==(t=e.metadata)?void 0:t.siteId)!==p,c=function(){(0,X.CI)({data:{label:"bookmark_link",section:"your_content"},event:"profile_interaction"})};return(0,a.jsxs)("li",{className:"flex items-center gap-x-2 py-2 hover:underline",children:[(0,a.jsxs)(f.A,{className:"line-clamp-2 grow font-merriweather text-sm font-bold leading-6 text-gray-900",href:null==(n=e.metadata)?void 0:n.url,noStyle:!0,onClick:c,target:l?"_blank":void 0,children:[l&&(0,a.jsx)(h.y,{className:"mr-2",icon:d.AaJ,size:"xs"}),null==(r=e.metadata)?void 0:r.title]}),(0,a.jsx)("div",{className:"size-12 shrink-0 overflow-hidden rounded-md",children:(0,a.jsx)(e3.pd,{height:48,onClick:c,thumbnail:null==(s=e.metadata)?void 0:s.thumbnail,title:null==(i=e.metadata)?void 0:i.title,url:null==(o=e.metadata)?void 0:o.url,width:48})})]},e.resourceTypeAndId)})}),(null==x?void 0:x.length)>0&&(0,a.jsx)(f.A,{className:"mt-3 block w-full rounded border border-gray-900 p-2 text-center font-inter text-sm font-medium hover:border-gray-300 hover:shadow-md",href:"/saved/",noStyle:!0,onClick:function(){(0,X.CI)({data:{label:"all_saved_list",section:"your_content"},event:"profile_interaction"})},children:"See all saved"})]})]}),(0,a.jsx)("h3",{className:"mt-8 border-b border-gray-300 pb-2 font-inter text-sm font-bold uppercase text-gray-900",children:"Account"}),(0,a.jsx)("ol",{className:"mt-1 divide-y-1 divide-gray-300",children:(0,a.jsx)("li",{children:(0,a.jsxs)(f.A,{className:"flex w-full items-center justify-between py-4 font-inter text-sm font-medium hover:underline",href:"/my-account/",noStyle:!0,onClick:function(){(0,X.CI)({data:{label:"my_account",section:"account_support"},event:"profile_interaction"})},children:["My Account",(0,a.jsx)(h.y,{icon:d.XkK})]})})}),!b&&(0,a.jsx)("button",{className:"mt-8 font-inter text-sm font-semibold leading-4 text-gray-900 underline",onClick:function(){(0,Q.kv)(),(0,X.CI)({data:{label:"logout",section:"account_support"},event:"profile_interaction"}),v()},type:"button",children:"Logout"}),t]})})]})}function e5(e){var t=e.homepageWideNavFeatures,n=e.megaMenuFeatures,r=e.navigationData,s=e.staticMobileNavFeatures,i=e.staticWideNavFeatures,l=e.stickyMobileNavFeatures,c=e.stickyWideNavFeatures,d=(0,o.GV)(function(e){return e.conf.googleSearchId}),u=(0,o.GV)(function(e){return e.piano.paymentStatus.status}),m=d?(0,a.jsx)("div",{className:"h-0",children:(0,a.jsx)("div",{className:"gcse-searchresults-only","data-overlayresults":"true","data-sort_by":"date"})}):null;return(0,a.jsx)(A,{children:(0,a.jsxs)(eb,{megaMenuFeatures:n,navigationData:r,children:[u!==x.d.UNKNOWN&&(0,a.jsx)(b,{}),(0,a.jsxs)(e1,{children:[(0,a.jsx)("div",{className:"hidden md:inline",children:(0,a.jsx)(e0,{homepageWideNavFeatures:t,navigationData:r,staticWideNavFeatures:i,stickyWideNavFeatures:c})}),(0,a.jsx)("div",{className:"inline md:hidden",children:(0,a.jsx)(eP,{staticMobileNavFeatures:s,stickyMobileNavFeatures:l})})]}),m,(0,a.jsx)(e6,{})]})})}},6753:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(60143),s=n(622),i=n(76415),a=n(62715),o=n(29778),l=n(54504);let c=function(e){var t=e.className,n=e.showOnboarding,c=e.showTitle,d=(0,a.GV)(function(e){return e.story}),u=(0,l.xG)({strip:!0});return d.id?(0,r.jsx)(i.A,{containerClassName:(0,s.QP)("border-0 hover:bg-gray-100 py-0 h-9 w-[94px]",t),metadata:{description:d.summaryFull||d.summary,thumbnail:d.leadImage,title:d.title,url:u},resourceId:d.id,resourceType:o.y.STORY,showOnboarding:void 0!==n&&n,title:void 0===c||c?"Save":void 0}):null}},13375:(e,t,n)=>{"use strict";n.d(t,{Yq:()=>i,gl:()=>a,jn:()=>o});var r=n(46403),s=n(3522);function i(e){return(0,r.GP)(e,"eee, LLL d @ h:mmaaa")}function a(e){return(0,r.GP)(e,"h:mmaaa, iiii do MMMM")}function o(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,s.S_)().toLocaleDateString(e?"en-us":"en-au",{day:"numeric",month:"long",weekday:"long",year:"numeric"})}},15113:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(60143),s=n(29722),i=n(62715),a=n(98165),o=n(52934),l=n(65019),c=n(75537),d=n(1935);function u(e){var t=e.isForSiteNav,n=e.navigationData.shortcuts,u=(0,i.GV)(function(e){return e.conf.mode}),m=(0,i.GV)(function(e){return e.settings.viewType}),h=(0,d.Ao)(),f=!((null==h?void 0:h.wide)?h.wide===c.U.HOMEPAGE:"homepage"===m)&&!t;return(0,r.jsxs)(r.Fragment,{children:[!f&&!t&&u===a.G9.EDIT&&(0,r.jsxs)("div",{className:"hidden rounded-lg border border-dashed p-8 text-center sm:block",children:["Shortcuts Strap",(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:"text-sm text-gray-500",children:"Visible only on mobile"})]}),(0,r.jsx)("div",{className:(0,s.A)({"mx-6 hidden md:block lg:block":n.length&&t,"my-4 border-t-2 border-gray-900":!t,"sm:hidden":!f&&!t}),children:!!n.length&&(0,r.jsx)("div",{className:(0,s.A)("grid grid-cols-1","mx-auto h-auto max-w-container bg-white font-inter",{"border-b-4 border-t border-double border-black":t,"sm:overflow-hidden md:grid-cols-3 lg:grid-cols-4":!f||t}),children:n.map(function(e,i){var a=i===n.length-1;return(0,r.jsx)(l.A,{className:(0,s.A)("gtm-hook-shortcut-strap-link pt-2",{"border-b border-gray-300":!a,"hidden lg:block":t&&i>=3,"sm:border-0 sm:pt-0":!f}),"data-testid":"shortcut-strap-".concat(i),href:e.url,noStyle:!0,target:e.newWindow?"_blank":void 0,children:(0,r.jsx)("div",{className:(0,s.A)("h-full py-3",{"sm:pr-3":!a}),children:(0,r.jsxs)("div",{className:(0,s.A)("flex flex-row-reverse sm:h-full sm:items-center",{"md:flex-row":!f,"sm:pl-4 md:border-l md:border-gray-300":0!==i&&!f}),children:[(0,r.jsx)("div",{className:(0,s.A)("ml-4 flex size-16 shrink-0 items-center",{"sm:ml-0 sm:mr-3 sm:h-10 sm:w-10 sm:self-ce
1nter":!f}),children:(0,r.jsx)("img",{alt:"",height:"60",loading:"lazy",src:e.icon,width:"60"})}),(0,r.jsxs)("div",{className:"grow border-r-0 leading-3",children:[(0,r.jsxs)("h4",{className:(0,s.A)("font-semibold leading-5 text-gray-900 md:leading-3",{"md:text-xs":!f}),children:[e.label,e.badge&&(0,r.jsx)(o.A,{className:"ml-2 inline-block align-middle",textBasedColors:!0,children:e.badge})]}),(0,r.jsx)("p",{className:"mt-1 line-clamp-2 text-xs text-gray-600",children:e.description}),(0,r.jsx)("p",{className:(0,s.A)("py-2 text-sm font-normal leading-4 text-gray-500 underline",{"sm:hidden":!f}),children:e.cta||"Discover"})]})]})})},e.url)})})})]})}},22126:(e,t,n)=>{"use strict";n.d(t,{E:()=>i,K:()=>a});var r=n(60143),s=n(29722);function i(e){var t=e.className,n=e.name,i=e.size;return(0,r.jsx)("svg",{className:(0,s.A)("inline",t),height:i,width:i,children:(0,r.jsx)("use",{xlinkHref:"#weather-".concat(n)})})}function a(){return(0,r.jsxs)("svg",{style:{display:"none"},children:[(0,r.jsxs)("symbol",{id:"weather-shower",viewBox:"14 14 36 36",children:[(0,r.jsxs)("g",{fill:"#E1E2E3",children:[(0,r.jsx)("path",{d:"M23.5 33.5h18V39h-18z"}),(0,r.jsx)("circle",{cx:"32.5",cy:"30",r:"9"}),(0,r.jsx)("circle",{cx:"23.5",cy:"32.5",r:"6.5"}),(0,r.jsx)("circle",{cx:"41.5",cy:"33.5",r:"5.5"})]}),(0,r.jsx)("path",{d:"M30 40l-2.2 3.5c-.3.5-.9.6-1.3.3-.5-.3-.6-.9-.3-1.3l.3-.3L30 40zm-8 0l-2.2 3.5c-.3.5-.9.6-1.3.3-.5-.3-.6-.9-.3-1.3l.3-.3L22 40zm16 0l-2.2 3.5c-.3.5-.9.6-1.3.3s-.6-.9-.3-1.3l.3-.3L38 40zm8 0l-2.2 3.5c-.3.5-.9.6-1.3.3s-.6-.9-.3-1.3l.3-.3L46 40z",fill:"#2196F3"})]}),(0,r.jsx)("symbol",{id:"weather-sunny",viewBox:"14 14 36 36",children:(0,r.jsx)("circle",{cx:"32",cy:"32",fill:"#FFC107",r:"12"})}),(0,r.jsxs)("symbol",{id:"weather-snow",viewBox:"14 14 36 36",children:[(0,r.jsx)("circle",{cx:"38.5",cy:"39",fill:"#C4C5C6",r:"1"}),(0,r.jsx)("circle",{cx:"38.5",cy:"43",fill:"#C4C5C6",r:"1"}),(0,r.jsx)("circle",{cx:"42",cy:"41",fill:"#C4C5C6",r:"1"}),(0,r.jsx)("circle",{cx:"38.5",cy:"35",fill:"#C4C5C6",r:"1"}),(0,r.jsx)("circle",{cx:"42",cy:"37",fill:"#C4C5C6",r:"1"}),(0,r.jsx)("circle",{cx:"35",cy:"41",fill:"#C4C5C6",r:"1"}),(0,r.jsx)("circle",{cx:"35",cy:"37",fill:"#C4C5C6",r:"1"}),(0,r.jsxs)("g",{fill:"#C4C5C6",children:[(0,r.jsx)("circle",{cx:"27.8",cy:"28.5",r:"1.5"}),(0,r.jsx)("circle",{cx:"27.8",cy:"34.5",r:"1.5"}),(0,r.jsx)("circle",{cx:"33",cy:"31.5",r:"1.5"}),(0,r.jsx)("circle",{cx:"27.8",cy:"22.5",r:"1.5"}),(0,r.jsx)("circle",{cx:"33",cy:"25.5",r:"1.5"}),(0,r.jsx)("circle",{cx:"22.5",cy:"31.5",r:"1.5"}),(0,r.jsx)("circle",{cx:"22.5",cy:"25.5",r:"1.5"}),(0,r.jsx)("path",{d:"M27.2 22.5h1v12h-1z"}),(0,r.jsx)("path",{d:"M22.745 25.062l10.506 6.003-.497.868L22.25 25.93z"}),(0,r.jsx)("path",{d:"M32.736 25.13l.496.869L22.727 32l-.496-.868z"})]})]}),(0,r.jsxs)("symbol",{id:"weather-storm",viewBox:"14 14 36 36",children:[(0,r.jsxs)("g",{fill:"#E1E2E3",children:[(0,r.jsx)("path",{d:"M23.5 33.5h18V39h-18z"}),(0,r.jsx)("circle",{cx:"32.5",cy:"30",r:"9"}),(0,r.jsx)("circle",{cx:"23.5",cy:"32.5",r:"6.5"}),(0,r.jsx)("circle",{cx:"41.5",cy:"33.5",r:"5.5"})]}),(0,r.jsx)("path",{d:"M28.5 43.5l3.8-7.9 1.2 2.4h-6.6l2.4-2.4 6.2-6.1-3.8 7.9-1.2-2.4h6.6l-2.4 2.4z",fill:"#FFC107"})]}),(0,r.jsx)("symbol",{id:"weather-fog",viewBox:"14 14 36 36",children:(0,r.jsxs)("g",{fill:"#E1E2E3",children:[(0,r.jsx)("path",{d:"M23.5 35.5h18V41h-18z"}),(0,r.jsx)("circle",{cx:"32.5",cy:"32",r:"9"}),(0,r.jsx)("circle",{cx:"23.5",cy:"34.5",r:"6.5"}),(0,r.jsx)("circle",{cx:"41.5",cy:"35.5",r:"5.5"})]})}),(0,r.jsxs)("symbol",{id:"weather-cloudy",viewBox:"14 14 36 36",children:[(0,r.jsxs)("g",{fill:"#C4C5C6",children:[(0,r.jsx)("path",{d:"M23.5 34.5h18V40h-18z"}),(0,r.jsx)("circle",{cx:"32.5",cy:"31",r:"9"}),(0,r.jsx)("circle",{cx:"23.5",cy:"33.5",r:"6.5"}),(0,r.jsx)("circle",{cx:"41.5",cy:"34.5",r:"5.5"})]}),(0,r.jsxs)("g",{fill:"#E1E2E3",children:[(0,r.jsx)("path",{d:"M27.8 39h11.5v4H27.8z"}),(0,r.jsx)("circle",{cx:"33.5",cy:"37.5",r:"5.5"}),(0,r.jsx)("circle",{cx:"39",cy:"39.5",r:"3.5"}),(0,r.jsx)("circle",{cx:"28",cy:"40",r:"3"})]})]}),(0,r.jsxs)("symbol",{id:"weather-windy",viewBox:"14 14 36 36",children:[(0,r.jsx)("path",{d:"M35.5 34H18c-.6 0-1-.4-1-1s.4-1 1-1h17.5c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4c0 .6-.4 1-1 1s-1-.4-1-1c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6z",fill:"#C4C5C6"}),(0,r.jsx)("path",{d:"M27.5 31H21c-.6 0-1-.4-1-1s.4-1 1-1h6.5c.6 0 1 .4 1 1s-.4 1-1 1zM43 43c-2.2 0-4-1.8-4-4 0-.6.4-1 1-1s1 .4 1 1c0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2H24.5c-.6 0-1-.4-1-1s.4-1 1-1H43c2.2 0 4 1.8 4 4s-1.8 4-4 4z",fill:"#C4C5C6"})]}),(0,r.jsx)("symbol",{id:"weather-rain",viewBox:"0 0 22 21",children:(0,r.jsx)("path",{clipRule:"evenodd",d:"m18.9628.71172c-.1585-.316956-.4754-.50713-.8558-.50713-.3486 0-.6656.190174-.8558.50713-.5071.95087-2.0918 4.18382-2.0918 5.42001 0 1.61648 1.3312 2.94764 2.9477 2.94764 1.6164 0 2.9476-1.33122 2.9476-2.94764 0-1.12299-1.4053-4.00944-1.9807-5.19113-.0417-.085701-.079-.162435-.1112-.22888zm-.8558 7.41668c-1.0776 0-1.9968-.88748-1.9968-1.99684 0-1.07765 1.9968-4.97616 1.9968-4.97616s1.9969 3.89861 1.9969 4.97616c0 1.10936-.8875 1.99684-1.9969 1.99684zm-7.7971-.76045c.1584-.31696.5071-.50713.8558-.50713.3486 0 .6657.22188.8242.50713.5704 1.10919 3.3596 6.71945 3.3596 8.65285 0 2.3138-1.9017 4.1838-4.2155 4.1838-2.31373 0-4.18378-1.8701-4.18378-4.1838 0-1.9334 2.78912-7.5435 3.35968-8.65285zm-2.37731 8.68445c0 1.7751 1.42642 3.2331 3.23311 3.2331v
1-.0002c1.775 0 3.233-1.4581 3.233-3.2647 0-1.775-3.233-8.17737-3.233-8.17737s-3.23311 6.40257-3.23311 8.20917zm3.23331 2.3455c-.1902 0-.317-.1268-.317-.317 0-.1584.1268-.317.317-.317.9509 0 1.7433-.7924 1.7433-1.7432 0-.1902.1268-.317.3169-.317.1902 0 .317.1268.317.317 0 1.2995-1.0777 2.3772-2.3772 2.3772zm6.9411-10.6814c-.1902 0-.317-.12678-.317-.31696 0-.19017.1585-.31695.317-.31695.5071 0 .9192-.41204.9192-.91917 0-.19017.1267-.31695.3169-.31695s.317.12678.317.31695c0 .85578-.6973 1.55308-1.5531 1.55308zm-14.80182-4.02547c-.34866 0-.6973.22188-.85579.53882-.50713 1.01426-1.679859 3.51827-1.679859 4.53253 0 1.42632 1.109359 2.53562 2.535649 2.53562 1.4263 0 2.53565-1.1093 2.53565-2.53562 0-1.01426-1.17272-3.51827-1.67986-4.53253-.15847-.31696-.50713-.53882-.85579-.53882zm0 6.65597c-.88748 0-1.58478-.69729-1.58478-1.58477 0-.88747 1.58478-4.12033 1.58478-4.12033s1.58478 3.23306 1.58478 4.12033c0 .88728-.6973 1.58477-1.58478 1.58477zm.00011-.47521c-.19017 0-.31696-.12678-.31696-.31695 0-.15848.12679-.31696.31696-.31696.28527 0 .47545-.19019.47545-.47544 0-.19018.12678-.31696.31695-.31696s.31696.12678.31696.31696c0 .63391-.47545 1.10935-1.10936 1.10935z",fill:"#2563eb",fillRule:"evenodd"})})]})}},31817:(e,t,n)=>{"use strict";n.d(t,{$8:()=>f,GI:()=>w,Ix:()=>c,JE:()=>y,Pz:()=>o,Sz:()=>m,WO:()=>v,es:()=>u,gf:()=>p,j6:()=>b,py:()=>h,vX:()=>g});var r,s,i=n(76367),a=n(91167),o=((r={}).CROP="crop",r.SCALE="scale",r.MAX="max",r),l={landscape:"aspect-w-16 aspect-h-9",portrait:"",square:"aspect-w-1 aspect-h-1",strap:""};function c(e){return l[function(e){var t="landscape";if(e){var n=e.cropHeight,r=e.cropWidth;void 0!==n&&void 0!==r&&(Math.min(r,n)/Math.max(r,n)>.8?t="square":n/r<.3?t="strap":n>r&&(t="portrait"))}return t}(e)]}var d={c100x66:{f:"crop",h:66,w:100},c105x70:{f:"crop",h:70,w:105},c200x132:{f:"crop",h:132,w:200},c284x270:{f:"crop",h:270,w:284},c370x246:{f:"crop",h:246,w:370},c370x270:{f:"crop",h:270,w:370},c576x298:{f:"crop",h:298,w:576},c627x561:{f:"crop",h:561,w:627},c700x400:{f:"crop",h:400,w:770},c800x561:{f:"crop",h:561,w:800},c1200x678:{f:"crop",h:678,w:1200},cartoon:{f:"crop",h:365,w:500},cartoonLarge:{f:"crop",h:730,w:1e3},deep:{f:"crop",h:630,w:470},exploreTravel:{f:"crop",h:651,w:980},feature:{f:"crop",h:300,w:850},iphone:{f:"crop",h:320,w:320},iphone2x:{f:"scale",h:640,w:640},large:{f:"crop",h:678,w:1200},medium:{f:"crop",h:298,w:576},postcard:{f:"crop",h:180,w:270},small:{f:"crop",h:246,w:370},square:{f:"crop",h:320,w:470},thumbnail:{f:"crop",h:90,w:130},thumbnailLarge:{f:"crop",h:145,w:215},thumbnailSmall:{f:"crop",h:60,w:90},tiny:{f:"crop",h:132,w:200},wide:{f:"crop",h:210,w:370}};function u(e){var t,n,r=e.sourceHeight,s=e.sourceWidth,i={cropHeight:r,cropWidth:s,cropX:0,cropY:0,focalX:Math.round(s/2),focalY:Math.round(r/2),scale:1};return s>=r&&(s/r>16/9?(i.cropHeight=r,i.cropWidth=16*r/9):s/r<16/9&&(i.cropWidth=s,i.cropHeight=9*s/16),i.cropX=(s-(null!=(t=i.cropWidth)?t:0))/2,i.cropY=(r-(null!=(n=i.cropHeight)?n:0))/2),i.cropX<0&&(i.cropX=0),i.cropY<0&&(i.cropY=0),i}function m(e){var t=e.aspect,n=e.focalX,r=e.focalY,s=e.height,i=void 0===s?1:s,a=e.scale,o=void 0===a?1:a,l=e.width,c=void 0===l?1:l,d=c/o,u=i/o;t>c/i?u=d/t:d=u*t;var m=r-r/i*u;return{height:Math.round(u),topX:Math.round(n-n/c*d),topY:Math.round(m),width:Math.round(d)}}var h=((s={}).JPG="jpg",s.WEBP="webp",s);function f(e){var t=e.fit,n=e.height,r=e.ignoreCrop,s=void 0!==r&&r,o=e.image,l=e.outputFormat,c=void 0===l?"jpg":l,u=e.size,h=e.useFocalPoint,f=void 0===h||h,x=e.width,g="cropConfig"in o?o.cropConfig:void 0,v={f:"crop",h:n,w:x};if(u&&!(v=(0,i._)({},d[u])))throw Error("Unsupported transform size ".concat(u));if(t&&(v.f=t),v.path=o.uri.replace(/^\/+|\/+$/g,""),void 0===v.h&&(v.h=0),void 0===v.w&&(v.w=0),void 0===v.f&&(v.f="crop"),s||!((p="cropConfig"in o?o.cropConfig:void 0)&&p.cropWidth))v.transform="resize",v.request=0!==v.h?"w".concat(v.w,"_h").concat(v.h,"_f").concat(s?"max":v.f,".").concat(c):"w".concat(v.w,"_h").concat(v.h,".").concat(c,"?resize_filter=lanczos2&quality=100");else{var p,y,b,w,j=function(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r="cropConfig"in e?e.cropConfig:void 0;if(!r)return[];if(n&&void 0!==r.focalX&&void 0!==r.focalY){var s=m({aspect:t,focalX:r.focalX-r.cropX,focalY:r.focalY-r.cropY,height:r.cropHeight,width:r.cropWidth}),i=Math.round(s.topX+r.cropX),a=Math.round(s.topY+r.cropY);return[[i,a],[Math.round(i+s.width),Math.round(a+s.height)]]}return[[Math.round(r.cropX),Math.round(r.cropY)],[Math.round(r.cropX+(r.cropWidth||0)),Math.round(r.cropY+(r.cropHeight||0))]]}(o,0===v.h?1:v.w/v.h,f);v.transform="crop",y=(0,a._)(j,2),b=(0,a._)(y[0],2),v.x1=b[0],v.y1=b[1],w=(0,a._)(y[1],2),v.x2=w[0],v.y2=w[1],f&&(null==g?void 0:g.focalX)!==void 0&&(v.f="max"),v.request="r".concat(v.x1,"_").concat(v.y1,"_").concat(v.x2,"_").concat(v.y2,"_")+"w".concat(v.w,"_h").concat(v.h,"_f").concat(v.f,".").concat(c)}return v}function x(e){var t=f(e),n="transform/v1/".concat(t.transform,"/frm/").concat(t.path,"/");return"".concat(n).concat(t.request)}function g(e){var t=f(e);return[t.x1+t.x2,t.y1+t.y2]}function v(e){var t=e.fit,n=e.height,r=e.ignoreCrop,s=e.image,i=e.outputFormat,a=e.size,o=e.transformUrl,l=e.useFocalPoint,c=e.width;
1if(a&&(c||n))throw Error("Cannot use fixedSize and dimensions together");return"".concat(o).concat(x({fit:t,height:n,ignoreCrop:r,image:s,outputFormat:i,size:a,useFocalPoint:l,width:c}))}function p(e){var t=e.fit,n=e.height,r=e.image,s=e.outputFormat,i=e.transformUrl,a=e.width;return"".concat(i).concat(x({fit:void 0===t?"crop":t,height:n,ignoreCrop:!1,image:r,outputFormat:s,useFocalPoint:!1,width:a}))}function y(e){var t=e.height,n=e.image,r=e.outputFormat,s=e.transformUrl,i=e.width;return"".concat(s).concat(x({height:t,ignoreCrop:!0,image:n,outputFormat:void 0===r?"jpg":r,useFocalPoint:!1,width:i}))}function b(e){return"uri"in e&&!!e.uri}function w(e){return new Promise(function(t){var n=new Image;n.onload=function(){return t(!0)},n.onerror=function(){return t(!1)},n.src=e})}},33826:e=>{e.exports={leftColumnMaxWidth:"WideNav_leftColumnMaxWidth__FxMIh"}},45790:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(45159).createContext({isNavbarChildNode:!1,isStickied:!1,setIsStickied:function(){}})},45954:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(91167),s=n(60143),i=n(29722),a=n(65596),o=n(45159),l=n(12225),c=n(62715),d=n(63233);function u(e){var t=e.className,n=e.iconClassName,u=e.iconOnRight,m=void 0!==u&&u,h=e.inputClassName,f=(0,c.GV)(function(e){return e.conf.googleSearchId}),x=(0,r._)((0,o.useState)(""),2),g=x[0],v=x[1],p=(0,r._)((0,o.useState)(!1),2),y=p[0],b=p[1],w=(0,r._)((0,o.useState)(!1),2),j=w[0],N=w[1],A=(0,o.useRef)(null);function C(e){null==e||e.preventDefault();var t,n,r=null==(n=window.google)||null==(t=n.search)?void 0:t.cse.element.getElement("searchresults-only0");if(r){var s=g.trim();(0,d.CI)({event:l.H$.GaSearch,search_term:s}),""===s?r.clearAllResults():r.execute(s),v("")}}var _=(0,o.useCallback)(function(e){null==e||e.addEventListener("focusin",function(){b(!0)}),null==e||e.addEventListener("focusout",function(){(null==e?void 0:e.contains(document.activeElement))||b(!1)})},[b]),k=(0,o.useCallback)(function(e){null==e||e.addEventListener("focusin",function(){var e;null==(e=A.current)||e.focus()})},[A]);return(0,s.jsxs)("form",{className:(0,i.A)("relative",t),onSubmit:C,ref:_,children:[(0,s.jsx)("input",{className:(0,i.A)("size-full text-gray-900",h,{"pl-10":!m,"pr-10":m}),"data-testid":"nav-search-input",onInput:function(e){N(function(e){var t;return e||void 0===(null==(t=window.google)?void 0:t.search)}),v(e.currentTarget.value)},placeholder:"Search articles",ref:A,type:"text",value:g}),(0,s.jsx)("button",{"aria-label":"Search",className:(0,i.A)("absolute top-0 flex h-full w-5 items-center fill-current text-gray-900",n,{"cursor-pointer":y,"left-3":!m,"pointer-events-none":!y,"right-3":m}),onClick:y?C:void 0,ref:k,type:"button",children:(0,s.jsx)("svg",{height:"21",viewBox:"0 0 21 21",width:"21",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M14.2978 12.6806H15.2084L20.9608 18.4445L19.2432 20.1621L13.4793 14.4097V13.499L13.168 13.1763C11.8539 14.306 10.1477 14.9861 8.29177 14.9861C4.15329 14.9861 0.798706 11.6315 0.798706 7.49307C0.798706 3.35459 4.15329 0 8.29177 0C12.4302 0 15.7848 3.35459 15.7848 7.49307C15.7848 9.34904 15.1047 11.0552 13.975 12.3693L14.2978 12.6806ZM3.10426 7.49306C3.10426 10.3635 5.42135 12.6806 8.29177 12.6806C11.1622 12.6806 13.4793 10.3635 13.4793 7.49306C13.4793 4.62264 11.1622 2.30555 8.29177 2.30555C5.42135 2.30555 3.10426 4.62264 3.10426 7.49306Z",fillRule:"evenodd"})})}),j&&(0,s.jsx)(a.default,{async:!0,src:"https://cse.google.com/cse.js?cx=".concat(encodeURIComponent(f))})]})}},46498:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,i:()=>a});var r=n(13648),s=n.n(r),i=n(37942);function a(e){var t;return(null==(t=e.elements)?void 0:t.some(function(e){return e.type===i.iP.Heading&&"2"===e.level}))||!1}function o(e,t){var n=s()(e,{lower:!0}),r=document.getElementById(n);if(r){var i=r.getBoundingClientRect().top+window.scrollY+-80;window.scrollTo({behavior:"instant",top:i}),t&&t()}}},52925:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(91167),s={cloudy:"cloudy",fog:"fog","lightning|thunder":"storm","shower|rain|drizzle":"shower",snow:"snow","sunny|sunshine":"sunny",wind:"windy"};function i(e){for(var t=Object.entries(s),n=0;n<t.length;n++){var i=(0,r._)(t[n],2),a=i[0],o=i[1],l=RegExp(a,"i");if(e.match(l))return o}}},52934:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(60143),s=n(29722),i={new:"bg-green-600 text-white"};function a(e){var t=e.children,n=e.className,a=e.textBasedColors,o=void 0!==a&&a&&i[t.toLocaleLowerCase()]||"";
1return(0,r.jsx)("div",{className:(0,s.A)("rounded-lg px-2 py-0 text-xxs font-normal leading-4",o,n),children:t})}},56003:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,m:()=>u});var r=n(91167),s=n(60143),i=n(29722),a=n(45159),o=n(62715),l=n(65019),c=n(54504),d=n(26748),u=function(e){var t=e.className,n=e.onClick,r=e.page;return(0,s.jsx)(l.A,{className:t,href:(0,d.sv)(r.url),noStyle:!0,onClick:n,children:r.menuName||r.name})},m={name:"Home",url:"/"};function h(e){var t=e.breadcrumbEntryClassName,n=void 0===t?"text-xs font-semibold uppercase":t,l=e.className,d=e.showHome,h=void 0!==d&&d,f=(0,c.e7)(),x=(0,o.GV)(function(e){return e.conf.topDownAdCatTargeting}),g=f.primaryPage,v=f.secondaryPage,p=f.superPage;if(!g)return null;!x&&(g.showSiblingsOnChildPages&&g.altMenuName&&p&&(v=g,g=p),h&&p&&(v=null));var y=[[h,m],[x&&p,p],[!0,g],[v,v]].filter(function(e){return(0,r._)(e,1)[0]}).slice(0,3);return(0,s.jsx)("div",{className:(0,i.A)("flex items-center",l),"data-testid":"nav-breadcrumbs",onFocus:function(e){e.preventDefault(),e.target.blur()},children:y.map(function(e,t,o){var l,c=(0,r._)(e,2)[1];return(0,s.jsxs)(a.Fragment,{children:[t>0&&(0,s.jsx)("svg",{className:"mx-3 inline-block flex-none fill-current text-gray-900",height:"12",viewBox:"0 0 8 12",width:"8",children:(0,s.jsx)("path",{d:"M1.70492 0L0.294922 1.41L4.87492 6L0.294922 10.59L1.70492 12L7.70492 6L1.70492 0Z"})}),(0,s.jsx)(u,{className:(0,i.A)("whitespace-nowrap rounded bg-white px-2 font-inter leading-10 text-gray-900 transition-colors duration-600 ease-default hover:bg-gray-100 focus:transition-none",n,{truncate:t===o.length-1}),page:c})]},null!=(l=null==c?void 0:c.url)?l:"no-page-".concat(t))})})}},64843:(e,t,n)=>{"use strict";n.d(t,{Mw:()=>g,jh:()=>x,ml:()=>f,pd:()=>v});var r=n(60143),s=n(92584),i=n(54166),a=n(62715),o=n(65019),l=n(4697),c=n(3388),d=n(88421),u=n(14335),m=n(31817),h=n(26748);function f(e){var t,n=e.bookmark,s=e.onDelete;return(0,r.jsxs)("div",{className:"flex w-full gap-x-4 md:w-auto md:items-center",children:[(0,r.jsx)(d.K,{Icon:l.A,"aria-label":"Remove bookmark",className:"size-10 gap-0 border border-gray-300",onClick:function(){return s(n)},title:"Remove bookmark"}),(null==(t=n.metadata)?void 0:t.url)&&(0,r.jsx)(u.A,{className:"size-10 gap-0 border border-gray-300",showTriggerTitle:!1,url:n.metadata.url})]})}function x(e){var t=e.children;return(0,r.jsx)("div",{className:"group mx-auto flex w-full max-w-968 flex-col-reverse items-center gap-y-1 md:flex-row md:gap-x-12 md:gap-y-0",children:t})}function g(e){var t,n,l,c,d=e.bookmark,u=e.children,m=(0,a.GV)(function(e){return e.settings.siteId}),h=(null==(t=d.metadata)?void 0:t.siteId)!==m;return(0,r.jsxs)(o.A,{className:"flex w-full grow flex-col gap-y-3 md:w-auto",href:null==(n=d.metadata)?void 0:n.url,noStyle:!0,target:h?"_blank":void 0,children:[(0,r.jsxs)("h3",{className:"font-merriweather text-xl font-bold text-gray-900 group-hover:underline",children:[null==(l=d.metadata)?void 0:l.title,h&&(0,r.jsx)(i.y,{className:"ml-3",icon:s.AaJ,size:"xs"})]}),(0,r.jsxs)("div",{className:"flex gap-x-4",children:[(0,r.jsx)("div",{className:"line-clamp-3 h-14 grow font-merriweather text-sm font-normal text-gray-600 md:h-auto",children:null==(c=d.metadata)?void 0:c.description}),u]})]})}function v(e){var t=e.height,n=e.onClick,s=e.thumbnail,i=e.title,l=e.url,d=e.width,u=(0,a.GV)(function(e){return e.settings.transformUrl});if(!t||!d||!s)return null;var f="object"==typeof s&&"cropConfig"in s?(0,r.jsx)(c.A,{height:t,image:s,imageClassName:"rounded-md object-cover object-center",width:d}):(0,r.jsx)("img",{alt:i,className:"size-full object-cover object-center",src:(0,h.i9)(s)?s:(0,m.JE)({height:2*t,image:{uri:s},transformUrl:u,width:2*d})});return(0,r.jsx)(o.A,{href:l,noStyle:!0,onClick:n,children:f})}},68558:(e,t,n)=>{"use strict";n.d(t,{e:()=>a,s:()=>i});var r,s,i=((r={})[r.DEFAULT=0]="DEFAULT",r[r.LABEL_WITH_SQUARE_LOGO=1]="LABEL_WITH_SQUARE_LOGO",r),a=((s={})[s.DEFAULT=0]="DEFAULT",s[s.SQUARE=1]="SQUARE",s[s.UNDERLINED=2]="UNDERLINED",s[s.UNDERLINED_BLACK=3]="UNDERLINED_BLACK",s)},74335:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(45159).createContext({hideShortcuts:!1,showNavigationAd:!1})},75537:(e,t,n)=>{"use strict";n.d(t,{U:()=>i,z:()=>a});var r,s,i=((r={}).HOMEPAGE="homepage",r.STORY="story",r),a=((s={}).ABOVE="above",s.BELOW="below",s)},75598:e=>{e.exports={viafoura:"ViafouraTray_viafoura__ruQiE"}},88650:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(60143),s=n(29722);n(45159);var i=n(62715),a=n(65019),o=n(68558);function l(e){var t=e.className,n=e.imageClassName,l=e.type,c=e.url,d=e.withLink,u=(0,i.GV)(function(e){return e.conf}),m=u.logoSvgOnly,h=u.logoSvgSquare,f=u.logoSvgUnderline,x=u.logoSvgUnderlineBlack,g=u.name,v={[o.e.DEFAULT]:m,[o.e.SQUARE]:h,[o.e.UNDERLINED]:f,[o.e.UNDERLINED_BLACK]:x}[l],p=(0,r.jsx)("img",{alt:g,className:(0,s.A)("size-full max-h-full max-w-full object-contain",n),src:v||void 0});return void 0===d||d?(0,r.jsx)(a.A,{className:(0,s.A)("block",t),"data-testid":"logo",href:void 0===c?"/":c,children:p}):(0,r.jsx)("div",{className:t,"data-testid":"logo",children:p})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.