PageSourceSearch

https://rac.com.au/common/_next/static/chunks/3526-29c069798fd04d33.js

js rac.com.au collected 2026-09-24 20:15:05 UTC 27,283 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3526],{2709:(e,t,a)=>{a.d(t,{default:()=>d});var r=a(1296),n=a(53564),o=a(81324),i=a(39262);let l=async e=>{try{let t=(await fetch(e,{method:"HEAD"})).headers.get("content-length");if(!t)return null;let a=parseInt(t,10);if(isNaN(a))return null;return a}catch(e){return(0,i.dZ)("getPdfFileSize","Failed to get the PDF File Size",e),null}},s={fileSizeChip:{backgroundColor:"#F3F3F3",color:"#6F6F6F",borderRadius:1.5,fontWeight:400,fontSize:16,px:.5,mr:.5,ml:1,fontFamily:a(52261).Il.fontFamily,"& span":{px:0}}},d=({url:e})=>{let[t,a]=(0,n.useState)(null);return((0,n.useEffect)(()=>{(0,n.cache)(async()=>{a(await l(e))})()},[e]),null==t)?null:(0,r.jsx)(o.A,{component:"span",label:`(PDF, ${t>=1048576?`${(t/1048576).toFixed(2)} MB`:t>=1024?`${(t/1024).toFixed(1)} KB`:`${t} bytes`})`,sx:s.fileSizeChip})}},5692:(e,t,a)=>{a.d(t,{default:()=>P});var r=a(1296),n=a(25635),o=a.n(n),i=a(98245),l=a(98457),s=a(11262),d=a(45974),c=a(25179),u=a(26829),x=a(32936),m=a(68217),p=a(47568),h=a(86659),g=a(41204),f=a(91770),b=a(89308),j=a(52261);let k={position:"relative",height:"268px",width:"100%"},v={position:"absolute",display:"flex",alignItems:"center",height:"30px",width:"auto",backgroundColor:"rgba(12, 55, 107, 0.75)",top:"-30px",px:1},w={pr:1,fontSize:"24px"},y={display:"flex",alignItems:"center"},F={display:"flex",alignItems:"center"},C={pr:1,fontSize:"24px"},P=({article:e,showCategoryOnCard:t,sectionColour:a="White"})=>{let n,P=(0,p.a)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(s.default,{component:o(),href:`/horizons/${e.slug}`,underline:"none","aria-label":`${e.title}`,"data-gtm-click-class":"article-card",children:(0,r.jsxs)(d.default,{role:"article",sx:{position:"relative",display:"flex",flexDirection:"column",overflow:"visible",transition:"transform 0.3s","&:hover .contentBox":{backgroundColor:"White"===a?"#F3F3F3":j.Tj.white,transition:"background-color 0.3s"},"&:hover":{transform:"scale(1.02)"}},children:[(0,r.jsx)(c.A,{sx:k,children:(0,r.jsx)(f.dp,{environmentPath:"/rac-horizons",src:e.tileImage?.image?.[0]?.secure_url??"",alt:e.tileImage?.image_data?.[0]?.context?.custom?.alt??e.tileImage?.image?.[0]?.context?.custom?.alt??"",title:e.title??"",fill:!0,sizes:"100%",quality:"auto:low",style:{objectFit:"cover",objectPosition:P?`${(e.tileImage?.focalPointMobileHorizontal??5)*10}% ${(e.tileImage?.focalPointMobileVertical??5)*10}%`:`${(e.tileImage?.focalPointDesktopHorizontal??5)*10}% ${(e.tileImage?.focalPointDesktopVertical??5)*10}%`},preload:e.tileImage?.prioritise??!1})}),(0,r.jsxs)(u.default,{className:"contentBox",sx:{position:"absolute",top:"220px",left:"-16px",backgroundColor:"White"===a?j.Tj.white:"#F3F3F3",p:"16px",width:"100%",transition:"background-color 0.3s",minHeight:"160px",height:"auto"},children:[e.richMedia&&(0,r.jsx)(x.default,{sx:v,children:(0,r.jsxs)(m.default,{component:"p",variant:"overline",color:"white",mb:0,display:"flex",alignItems:"center",children:[(0,r.jsx)(l.A,{sx:w}),(0,r.jsxs)(m.default,{component:"span",sx:(0,h.I)(),children:["Media duration: ",e.richMedia.durationValue,{Minutes:1===e.richMedia.durationValue?"minute":"minutes",Hours:1===e.richMedia.durationValue?"hour":"hours"}[e.richMedia.durationUnit]]}),(0,r.jsx)(m.default,{component:"time",variant:"overline",m:0,dateTime:`PT${e.richMedia.durationValue}${{Minutes:"M",Hours:"H"}[e.richMedia.durationUnit]}`,children:e.richMedia.durationValue}),(0,r.jsx)(m.default,{component:"abbr",variant:"overline",m:0,pl:.5,title:{Minutes:1===e.richMedia.durationValue?"minute":"minutes",Hours:1===e.richMedia.durationValue?"hour":"hours"}[e.richMedia.durationUnit],"aria-label":{Minutes:1===e.richMedia.durationValue?"minute":"minutes",Hours:1===e.richMedia.durationValue?"hour":"hours"}[e.richMedia.durationUnit],children:{Minutes:1===e.richMedia.durationValue?"min":"mins",Hours:1===e.richMedia.durationValue?"hour":"hours"}[e.richMedia.durationUnit]})]})}),(0,r.jsxs)(x.default,{sx:y,children:[t&&(0,r.jsx)(m.default,{component:"p",variant:"overline",sx:(n=e.category,{color:(0,b.f)(n.colour),mb:0,pr:2}),children:e.category.name}),(0,r.jsxs)(m.default,{variant:"cardMetadata",color:"text.secondary",sx:F,children:[(0,r.jsx)(i.default,{sx:C})," ",(0,g._)(e.content.json)]})]}),(0,r.jsx)(m.default,{variant:"cardTitleLarge",component:"h3",children:e.title})]})]})})})}},10178:(e,t,a)=>{a.r(t),a.d(t,{default:()=>n});var r=a(25635);let n=a.n(r)()},26811:(e,t,a)=>{a.d(t,{default:()=>x});var r=a(1296),n=a(53564),o=a(25635),i=a.n(o),l=a(32936),s=a(68217),d=a(58378),c=a(49806);let u={notFoundImage:{position:"relative",height:"70vh",backgroundImage:"url('https://res.rac.com.au/rac-horizons/image/upload/v1740035399/404_background_blurred_t4kwa9.png')",backgroundSize:"cover",backgroundPosition:"center",display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",textAlign:"center",color:a(52261).Tj.white},notFoundImageOverlay:{position:"absolute",width:"100%",height:"500px",background:"linear-gradient(to top, rgba(0, 22, 48, 0.8), rgba(0, 22, 48, 0) 100%)",zIndex:1,backdropFilter:"blur(2px)"},notFoundContent:{zIndex:2,pb:"200px",px:4},notFoundContentButton:{textTransform:"none",px:2,py:1}},x=()=>((0,n.useEffect)(()=>{(0,c.KO)("/horizons/error/404",`Horizons Page Not Found - request: ${window.location.pathname}`)},[]),(0,r.jsx)(l.default,{sx:u.notFoundImage,children:(0,r.jsxs)(l.default,{sx:u.notFoundContent,children:[(0,r.jsx)(s.default,{variant:"h1",mb:2,children:"You've ventured beyond the horizon"}),(0,r.jsx)(s.default,{variant:"body1",mb:4,children:"Either you've gone too far or we moved the page."}),(0,r.jsx)(d.default,{LinkComponent:i(),variant:"contained",color:"primary",sx:u.notFoundContentButton,href:"/horizons","data-gtm-click-class":"btn-cta","data-gtm-click-action":"Home",children:"Home"})]})}))},34631:(e,t,a)=>{a.d(t,{default:()=>s});var r=a(1296),n=a(70326),o=a(32936),i=a(89308);let l=(0,n.default)(o.default,{shouldForwardProp:e=>"category"!==e})(({theme:e,category:t})=>({position:"absolute",left:e.spacing(-4),top:0,bottom:0,width:8,backgroundColor:(0,i.f)(t.colour),[e.breakpoints.down("md")]:{width:6,left:e.spacing(-3)},[e.breakpoints.down("sm")]:{width:4,left:e.spacing(-2)}})),s=({category:e})=>(0,r.jsx)(l,{category:e})},36459:(e,t,a)=>{a.d(t,{L:()=>o});var r=a(97955),n=a(39262);let o=e=>{if(!e?.json)return"";try{let t=new Map;if(e.links?.entries){let{inline:a,block:r,hyperlink:n}=e.links.entries;
1[...a??[],...r??[],...n??[]].forEach(e=>{e&&t.set(e.sys.id,e)})}let a=e=>{if(!e)return"";if("text"===e.nodeType)return e.value||"";if(e.nodeType===r.XD.EMBEDDED_ENTRY){let a=e.data.target,r=a?.sys?.id;if(!r)return"";let n=t.get(r);return n?.__typename==="website_Link"?n.displayText??n.url??"":n?.__typename==="website_Label"?n.label??"":""}return"content"in e&&Array.isArray(e.content)?e.content.map(e=>a(e)).join(""):""};return a(e.json)}catch(e){throw(0,n.dZ)("getPlainTextFromRichText","Failed to transform rich text to plain text",e),e}}},39262:(e,t,a)=>{a.d(t,{dZ:()=>n,pH:()=>r});let r=(e,t)=>console.warn(`[${e}]: ${t}`),n=(e,t,a="Error: -")=>{let r="Error: -"===a||a instanceof Error?a:"Error: "+String(a);return console.error(`[${e}]: ${t} | ${r}`)}},40233:(e,t,a)=>{a.d(t,{default:()=>m});var r=a(1296),n=a(53564),o=a(25635),i=a.n(o),l=a(28788),s=a(69897),d=a(32936),c=a(11262),u=a(68217);let x={instagramPostWrapper:{display:"flex",justifyContent:"center",width:"100%",margin:"auto",mb:3,padding:"0 8px","& blockquote":{margin:0}},instagramPost:{maxWidth:"540px",width:"100%",boxShadow:"none",borderRadius:"3px"},instagramPostLoader:{padding:"16px",border:"1px solid #DBDBDB"},instagramPostLoaderLinkWrapper:{background:a(52261).Tj.white,lineHeight:0,textAlign:"center",width:"100%",display:"block"},instagramPostSkeletonWrapper1:{display:"flex",flexDirection:"row",alignItems:"center"},instagramPostSkeletonWrapper2:{display:"flex",flexDirection:"column",marginBottom:"24px"},instagramPostSkeletonAvatar:{backgroundColor:"#F4F4F4",borderRadius:"50%",flexGrow:0,height:40,width:40,marginRight:"14px"},instagramPostSkeletonTextWrapper:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"},instagramPostSkeletonTextItem1:{backgroundColor:"#F4F4F4",borderRadius:"4px",height:"14px",marginBottom:"6px",width:"100px"},instagramPostSkeletonTextItem2:{backgroundColor:"#F4F4F4",borderRadius:"4px",height:"14px",width:"60px"},instagramPostSkeletonTextItem3:{backgroundColor:"#F4F4F4",borderRadius:"4px",height:"14px",marginBottom:"6px",width:"224px"},instagramPostSkeletonTextItem4:{backgroundColor:"#F4F4F4",borderRadius:"4px",height:"14px",width:"144px"},instagramPostViewPostText:{color:"#3897f0",fontSize:"14px",lineHeight:"18px"},instagramPostSkeletonMetadataWrapper:{display:"flex",flexDirection:"row",marginBottom:"14px",alignItems:"center"},instagramPostSkeletonLoveHeartLeft:{backgroundColor:"#F4F4F4",borderRadius:"50%",height:"12.5px",width:"12.5px",transform:"translateX(0px) translateY(7px)"},instagramPostSkeletonLoveHeartMiddle:{backgroundColor:"#F4F4F4",height:"12.5px",width:"12.5px",transform:"rotate(-45deg) translateX(3px) translateY(1px)",marginRight:"14px",marginLeft:"2px"},instagramPostSkeletonLoveHeartRight:{backgroundColor:"#F4F4F4",borderRadius:"50%",height:"12.5px",width:"12.5px",transform:"translateX(9px) translateY(-18px)"},instagramPostSkeletonCommentLeft:{backgroundColor:"#F4F4F4",borderRadius:"50%",height:"20px",width:"20px"},instagramPostSkeletonCommentRight:{width:0,height:0,borderTop:"2px solid transparent",borderLeft:"6px solid #f4f4f4",borderBottom:"2px solid transparent",transform:"translateX(16px) translateY(-4px) rotate(30deg)"},instagramPostSkeletonBookmarkLeft:{width:0,borderTop:"8px solid #F4F4F4",borderRight:"8px solid transparent",transform:"translateY(16px)"},instagramPostSkeletonBookmarkMiddle:{backgroundColor:"#F4F4F4",height:"12px",width:"16px",transform:"translateY(-4px)"},instagramPostSkeletonBookmarkRight:{width:0,height:0,borderTop:"8px solid #F4F4F4",borderLeft:"8px solid transparent",transform:"translateY(-4px) translateX(8px)"}},m=({instagramPost:e})=>{let t=(0,l.usePathname)();(0,n.useEffect)(()=>{let e=setTimeout(()=>{let e=window.instgrm;e?.Embeds?.process&&e.Embeds.process()},0);return()=>clearTimeout(e)},[t]);let a=(e.postUrl.includes("instagram.com/p/")?e.postUrl.split("p/")[1]?.replace("/embed",""):e.postUrl)??"",o=`https://www.instagram.com/p/${a}`;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.default,{sx:x.instagramPostWrapper,children:(0,r.jsx)(d.default,{component:"blockquote",className:"instagram-media","data-instgrm-permalink":o,"data-instgrm-version":"14",title:e.title,sx:x.instagramPost,children:(0,r.jsx)(d.default,{sx:x.instagramPostLoader,children:(0,r.jsxs)(c.default,{component:i(),href:`${o}/?utm_source=ig_embed&utm_campaign=loading`,sx:x.instagramPostLoaderLinkWrapper,underline:"none",children:[(0,r.jsxs)(d.default,{sx:x.instagramPostSkeletonWrapper1,children:[(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonAvatar}),(0,r.jsxs)(d.default,{sx:x.instagramPostSkeletonTextWrapper,children:[(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonTextItem1}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonTextItem2})]})]}),(0,r.jsx)(d.default,{padding:"20% 0"}),(0,r.jsx)(d.default,{children:(0,r.jsx)(u.default,{variant:"body2",sx:x.instagramPostViewPostText,children:(0,r.jsx)("b",{children:"View this post on Instagram"})})}),(0,r.jsx)(d.default,{padding:"12.5% 0"}),(0,r.jsxs)(d.default,{sx:x.instagramPostSkeletonMetadataWrapper,children:[(0,r.jsxs)(d.default,{children:[(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonLoveHeartLeft}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonLoveHeartMiddle}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonLoveHeartRight})]}),(0,r.jsxs)(d.default,{marginLeft:"8px",children:[(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonCommentLeft}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonCommentRight})]}),(0,r.jsxs)(d.default,{marginLeft:"auto",children:[(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonBookmarkLeft}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonBookmarkMiddle}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonBookmarkRight})]})]}),(0,r.jsxs)(d.default,{sx:x.instagramPostSkeletonWrapper2,children:[(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonTextItem3}),(0,r.jsx)(d.default,{sx:x.instagramPostSkeletonTextItem4})]})]})})})}),(0,r.jsx)(s.default,{src:"https://www.instagram.com/embed.js",strategy:"afterInteractive"})]})}},41204:(e,t,a)=>{a.d(t,{_:()=>o});var r=a(19566),n=a(39262);let o=(e,t=200)=>{try{let a=(0,r.l)(e).split(/\s+/).filter(e=>e.length>0).length,n=Math.ceil(a/t);return`${n} min read`}catch(e){throw(0,n.dZ)("calculateReadingTime","Failed to calculate reading time",e),e}}},42773:(e,t,a)=>{a.d(t,{default:()=>j});var r=a(1296),n=a(53564),o=a(31748),i=a(32936),l=a(39681),s=a(68217),d=a(98129),c=a(81324),u=a(61431),x=a(58378),m=a(5692),p=a(93342),h=a(89308),g=a(52261);let f={height:{xs:"auto",md:"400px"}},b={textTransform:"none",py:1,fontSize:"16px"},j=({filterableContent:e,articles:t})=>
1{let a,[j,k]=(0,n.useState)([]),[v,w]=(0,n.useState)(9),y=j.length?t.filter(e=>e.contentfulMetadata?.tags?.some(e=>j.includes(e.name))):t;return(0,r.jsx)(i.default,{component:"section",sx:{position:"relative",backgroundColor:"White"===e.sectionColour?g.Tj.white:"#F3F3F3",py:{xs:5,sm:5,md:8,lg:10,xl:12},zIndex:1},children:(0,r.jsxs)(l.default,{maxWidth:"lg",children:[(0,r.jsx)(i.default,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:6,children:(0,r.jsx)(s.default,{component:"h2",variant:"h2",sx:(a=e.category,{position:"relative","&:after":{content:'""',display:"block",width:"100%",height:"4px",backgroundColor:(0,h.f)(a.colour),position:"absolute",bottom:-12,left:0}}),children:e.heading})}),e.showTagFilters&&(0,r.jsxs)(i.default,{display:"flex",flexDirection:"column",my:6,children:[(0,r.jsxs)(i.default,{display:"flex",alignItems:"center",gap:1,mb:1,children:[(0,r.jsx)(o.A,{}),(0,r.jsx)(s.default,{component:"p",variant:"body1",m:0,children:"Filters"})]}),(0,r.jsx)(d.default,{direction:"row",spacing:1,useFlexGap:!0,flexWrap:"wrap",children:e.contentfulMetadata.tags?.map(e=>{let t,a;return(0,r.jsx)(c.A,{label:e.name,onClick:()=>{var t;return t=e.name,void(k(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t]),w(9))},clickable:!0,sx:(t=j,a=e.name,{backgroundColor:t.includes(a)?"#424242":"#F3F3F3",color:t.includes(a)?g.Tj.white:"#6F6F6F","&:hover":{backgroundColor:t.includes(a)?"#333333":"#E0E0E0"},transition:"all 0.3s ease",borderRadius:1.5,fontWeight:500,letterSpacing:.5,fontFamily:g.Il.fontFamily}),"data-gtm-click-class":"dynamic-article-tag-filter","data-gtm-click-action":`${e.name}`},e.name)})})]}),(0,r.jsx)(u.default,{container:!0,spacing:{xs:0,md:4},children:y.length>0?y.slice(0,v).map((t,a)=>(0,r.jsx)(u.default,{size:{xs:12,md:4},children:(0,r.jsxs)(i.default,{sx:f,children:[(0,r.jsx)(i.default,{sx:{display:{xs:"block",md:"none"}},children:(0,r.jsx)(p.default,{article:t,showRelatedHeading:!1,showCategoryOnCard:e.showCategoryOnCard,sectionColour:e.sectionColour})}),(0,r.jsx)(i.default,{sx:{display:{xs:"none",md:"block"}},children:(0,r.jsx)(m.default,{article:t,showCategoryOnCard:e.showCategoryOnCard,sectionColour:e.sectionColour})})]})},a)):(0,r.jsx)(s.default,{variant:"body1",color:"text.secondary",children:"No articles match the selected filters."})}),y.length>9&&v<y.length&&(0,r.jsx)(i.default,{mt:4,display:"flex",justifyContent:"center",children:(0,r.jsx)(x.default,{variant:"outlined",color:"primary",onClick:()=>{w(e=>e+12)},sx:b,"data-gtm-click-class":"btn-cta","data-gtm-click-action":"Load more",children:"Load more"})})]})})}},46188:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var r=a(1296),n=a(25635),o=a.n(n),i=a(32936),l=a(39681),s=a(68217),d=a(58378),c=a(36459),u=a(52261),x=a(91770);let m={ctaSection:e=>({position:"relative",backgroundColor:u.Tj.white,py:e?"unset":{xs:1,sm:1,md:2,lg:4,xl:6},zIndex:1}),ctaContainer:e=>({display:"flex",justifyContent:{xs:"center",lg:"space-between"},maxWidth:"792px",pt:e?4:12,pb:12*!e}),ctaWrapper:e=>({display:"flex",flexDirection:{xs:"column",sm:"row"},position:"relative",overflow:"hidden",maxWidth:{xs:"100%",md:e?"792px":"100%",lg:e?"150%":"100%"},minWidth:{xs:"100%",md:e?"792px":"100%",lg:e?"150%":"100%"},ml:{xs:0,md:e?"-24px":0,lg:e?"-25%":0},borderRadius:"1px"}),ctaImage:{display:"flex",width:{xs:"327px",sm:"212px",md:"360px",lg:"371px",xl:"371px"},height:{xs:"218px",sm:"158px",md:"270px",lg:"274px",xl:"274px"},objectFit:"cover",flexShrink:0,m:"auto",zIndex:3},ctaContentWrapper:e=>({flex:1,backgroundColor:"#ffd000",pt:{xs:e?"calc(25% + 32px)":3,sm:e?3:5,md:e?9:5},pb:{xs:3,sm:e?3:5,md:e?9:5},pl:{xs:3,sm:e?16:5},pr:{xs:3,sm:e?8:5},display:"flex",flexDirection:"column",justifyContent:"center",ml:{xs:0,sm:e?-10:0},mt:{xs:e?"-25%":0,sm:0}}),ctaButton:{width:"fit-content",height:50,textTransform:"none",backgroundColor:"#263D4F",fontFamily:u.Il.fontFamily,fontSize:16,borderRadius:"1px",px:3,"&:hover":{backgroundColor:"#1E3040"}}},p=({callToAction:e,isArticlePage:t})=>{let a=e.ctaImage?.image??[],n=a.length>0&&void 0!==a[0],p=(0,c.L)(e.detailedDescription);return(0,r.jsx)(i.default,{component:"section",sx:m.ctaSection(t??!1),"aria-labelledby":`cta-${(0,x.G4)(e.title)}`,children:(0,r.jsx)(l.default,{disableGutters:!!t,sx:m.ctaContainer(t??!1),maxWidth:!1,children:(0,r.jsxs)(i.default,{component:"aside","aria-labelledby":`aside-${(0,x.G4)(e.title)}`,children:[(0,r.jsxs)(i.default,{sx:m.ctaWrapper(n),children:[n&&(0,r.jsx)(i.default,{component:"img",src:a[0]?.secure_url,alt:e.ctaImage?.image_data?.[0]?.context?.custom?.alt??e.ctaImage?.image?.[0]?.context?.custom?.alt??"",sx:m.ctaImage}),(0,r.jsxs)(i.default,{sx:m.ctaContentWrapper(n),children:[(0,r.jsx)(s.default,{component:"h2",variant:"h3",id:`aside-${(0,x.G4)(e.title)}`,color:u.Tj.dieselDeep,m:0,children:e.title}),(0,r.jsx)(s.default,{component:"p",variant:"body1",color:u.Tj.dieselDeep,sx:{mb:2,mt:1},children:p}),(0,r.jsx)(d.default,{LinkComponent:o(),variant:"contained",sx:m.ctaButton,href:e.link,"data-gtm-click-class":"btn-dynamic-cta","data-gtm-click-action":`${e.title} - ${p}`,children:e.linkText})]})]}),!!e.finePrint&&(0,r.jsx)(s.default,{component:"p",variant:"finePrint",color:u.Tj.dieselDeep,mt:2,children:e.finePrint})]})})})}},47568:(e,t,a)=>{a.d(t,{a:()=>i});var r=a(29841),n=a(26642),o=a(39262);let i=()=>{try{let e=(0,r.default)();return(0,n.A)(e.breakpoints.down("sm"))}catch(e){throw(0,o.dZ)("useIsMobile","Failed to determine if mobile",e),e}}},49806:(e,t,a)=>{a.d(t,{$s:()=>o,D_:()=>l,KO:()=>d,iN:()=>i,x5:()=>s});var r=a(44343);let n=e=>{if(!e)return;
1let[t,a]=e.split("?");return a&&new URLSearchParams(a).has("q")?t:e},o=e=>{(0,r.gtm)((0,r.event)(e,{url:window.location.pathname,title:document.title}))},i=(e,t)=>{(0,r.gtm)((0,r.dynamicEvent)(e,t))},l=(e,t)=>{if(window.location.pathname.includes("?page="))return;let a=n(e);(0,r.gtm)((0,r.virtualPageView)({url:window.location.pathname,title:document.title,...a?{referrer:a}:{},...t?{template:t}:{}}))},s=(e,t,a)=>{if(e.includes("?page="))return;let o=n(t);(0,r.gtm)((0,r.virtualPageView)({url:e,title:document.title,...o?{referrer:o}:{},...a?{template:a}:{}}))},d=(e,t,a,o)=>{let i=n(a);(0,r.gtm)((0,r.virtualPageView)({url:e,title:t,...i?{referrer:i}:{},...o?{template:o}:{}}))}},65598:(e,t,a)=>{a.d(t,{GTMPageView:()=>i});var r=a(53564),n=a(28788),o=a(49806);let i=({pathname:e,referrer:t,template:a}={})=>{let i=(0,n.usePathname)();return(0,r.useEffect)(()=>{e?(0,o.x5)(e,t,a):(0,o.D_)(t,a)},[i,e,t,a]),null}},77043:(e,t,a)=>{a.d(t,{default:()=>x});var r=a(1296),n=a(53564),o=a(25635),i=a.n(o),l=a(32936),s=a(68217),d=a(58378),c=a(49806);let u={serverErrorImage:{position:"relative",height:"70vh",backgroundImage:"url('https://res.rac.com.au/rac-horizons/image/upload/v1740035399/500_background_image_skxhjf.png')",backgroundSize:"cover",backgroundPosition:"center",display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",textAlign:"center",color:a(52261).Tj.white},serverErrorImageOverlay:{position:"absolute",width:"100%",height:"500px",background:"linear-gradient(to top, rgba(0, 22, 48, 0.8), rgba(0, 22, 48, 0) 100%)",zIndex:1,backdropFilter:"blur(2px)"},serverErrorContent:{zIndex:2,pb:"200px",px:4},serverErrorContentButton:{textTransform:"none",px:2,py:1}},x=({errorMessage:e})=>((0,n.useEffect)(()=>{(0,c.KO)("/horizons/error/500",`System unavailable - request: ${e}`)}),(0,r.jsx)(l.default,{sx:u.serverErrorImage,children:(0,r.jsxs)(l.default,{sx:u.serverErrorContent,children:[(0,r.jsx)(s.default,{variant:"h1",mb:2,children:"500 miles from anywhere"}),(0,r.jsx)(s.default,{variant:"body1",mb:4,children:"But we'll get you back home."}),(0,r.jsx)(d.default,{LinkComponent:i(),variant:"contained",color:"primary",sx:u.serverErrorContentButton,href:"/horizons","data-gtm-click-class":"btn-cta","data-gtm-click-action":"Home",children:"Home"})]})}))},83224:(e,t,a)=>{a.d(t,{f:()=>o,m:()=>i});var r,n=a(39262),o=((r={}).PNG="png",r.JPG="jpg",r.WEBP="webp",r.SVG="svg",r.Auto="auto",r);let i=(e,t="auto")=>{try{let a=e,r=`f_${t}`;return a.includes(r)||(a=/(?:\/|,)f_[a-zA-Z0-9]+/.test(a)?a.replace(/(\/|,)f_[a-zA-Z0-9]+/,`$1${r}`):a.replace("/image/upload/",`/image/upload/${r}/`)),a.includes("q_auto:eco")||(a=/(?:\/|,)q_auto/.test(a)?a.replace(/(\/|,)q_auto[^,/]*/g,"$1q_auto:eco"):a.replace(`/image/upload/${r}/`,`/image/upload/${r}/q_auto:eco/`)),a}catch(e){throw(0,n.dZ)("optimiseCloudinaryImage","Failed to optimise cloudinary image",e),e}}},86659:(e,t,a)=>{a.d(t,{I:()=>n,k:()=>r});let r={horizonsBody:{height:"100vh",margin:0},noMargin:{margin:0},fullWidth:{width:"100%"}},n=()=>({position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)"})},89308:(e,t,a)=>{a.d(t,{f:()=>n});var r=a(39262);let n=e=>{try{switch(e.toLowerCase()){case"red":return"#ea1f23";case"orange":return"#f16e00";case"green":return"#62a602";case"navy":return"#0c376b";case"pink":return"#cb0263";case"purple":return"#aa0fdd";case"blue":return"#029ed6";default:return"#0C376B"}}catch(e){throw(0,r.dZ)("getAccentColourFromCategoryColour","Failed to get the accent colour from the category colour",e),e}}},89330:(e,t,a)=>{a.d(t,{default:()=>s});var r=a(1296),n=a(70326),o=a(32936),i=a(89308);let l=(0,n.default)(o.default,{shouldForwardProp:e=>"category"!==e})(({theme:e,category:t})=>({position:"absolute",width:"80px",height:"8px",backgroundColor:(0,i.f)(t.colour),[e.breakpoints.down("md")]:{width:"60px"},[e.breakpoints.down("sm")]:{width:"40px"}})),s=({category:e})=>(0,r.jsx)(l,{category:e})},91770:(e,t,a)=>{a.d(t,{dp:()=>r.CldImage,G4:()=>f});var r=a(37044);a(41052);var n=a(1296);a(97440),a(26531),a(32222),a(17895),a(53564),a(86918),a(85517),a(95973),a(12429),a(32280),a(52485),a(68140),a(71773);var o=a(34318);let i="#E2E6E8";var l=a(58182);function s(){return(0,n.jsx)(l.default,{sx:{borderColor:i}})}var d=a(82339);function c(e){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.default,{sx:{paddingTop:2,paddingBottom:2,paddingLeft:3,paddingRight:3},children:"children"in e?e.children:(0,n.jsxs)(o.default,{sx:{display:"grid",gridTemplateColumns:e.slots?.end?"1fr max-content":"1fr",alignItems:"center",columnGap:2},children:[(0,n.jsx)(o.default,{children:"string"==typeof e.heading?(0,n.jsx)(u,{children:e.heading}):e.heading}),e.slots?.end&&(0,n.jsx)(o.default,{children:e.slots.end})]})}),e.divider&&(0,n.jsx)(s,{})]})}function u({children:e,level:t=3}){return(0,n.jsx)(d.default,{variant:`h${t}`,sx:e=>({fontSize:18,fontWeight:400,color:e.palette.secondary.main,wordBreak:"break-word"}),children:e})}c.Heading=u;var x=a(81396);function m(e){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.default,{sx:{paddingTop:1,paddingBottom:1,paddingLeft:3,paddingRight:3},children:"children"in e?e.children:(0,n.jsxs)(x.default,{sx:{display:"grid",gridTemplateColumns:e.slots?.end?"1fr max-content":"1fr",alignItems:"center",columnGap:2},children:[(0,n.jsxs)(x.default,{children:["string"==typeof e.heading?(0,n.jsx)(p,{children:e.heading}):e.heading,"string"==typeof e.value?(0,n.jsx)(h,{children:e.value}):e.value]}),e.slots?.end&&(0,n.jsx)(x.default,{children:e.slots.end})]})}),e.divider&&(0,n.jsx)(s,{})]})}function p({children:e,level:t=4}){return(0,n.jsx)(d.default,{variant:`h${t}`,sx:e=>({fontSize:16,fontWeight:300,color:e.palette.secondary.main}),children:e})}function h({children:e}){return(0,n.jsx)(d.default,{sx:e=>({fontSize:16,fontWeight:400,color:e.palette.secondary.main,whiteSpace:"pre-wrap",wordBreak:"break-word"}),children:e})}function g(e){return(0,n.jsx)(o.default,{sx:e=>({display:"flex",flexDirection:"column",backgroundColor:e.palette.common.white,border:`1px solid ${i}`,borderRadius:e.spacing(1)}),children:"children"in e?e.children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c,{divider:!0,...e.header}),e.sections.map((t,a)=>(0,n.jsx)(m,{...t,divider:!!(t.divider??a<e.sections.length-1)},`summary-section-${a}`))]})})}m.Heading=p,m.Value=h,g.Header=c,g.Section=m,g.Divider=s,a(9374),a(12339),a(69897),a(51356),a(33659),a(27656);let f=e=>{try{return(e??"").toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}catch(t){throw((e,t,a="Error: -")=>{let r="Error: -"===a||a instanceof Error?a:"Error: "+String(a);return console.error(`[${e}]: ${t} | ${r}`)})("transformTextToId",`Failed to transform text to ID: Text['${e}']`,t),t}}},93342:(e,t,a)=>{a.r(t),a.d(t,{default:()=>j});var r=a(1296),n=a(98245),o=a(32936),i=a(68217),l=a(11262),s=a(10178),d=a(41204),c=a(83224),u=a(89308),x=a(52261);
1let m={width:"100%",display:"flex",flexDirection:"column",mb:4},p={flex:"0 0 auto"},h={flex:1,py:.5,px:1,height:"84px"},g={display:"flex",alignItems:"center"},f={display:"flex",alignItems:"center",mb:0},b={pr:1,fontSize:"24px"},j=({article:e,showRelatedHeading:t,showCategoryOnCard:a,sectionColour:j})=>{let k,v,w;return(0,r.jsxs)(o.default,{component:"aside",sx:m,children:[t&&(0,r.jsx)(i.default,{component:"h2",variant:"body1",color:"text.secondary",gutterBottom:!0,children:"RELATED"}),(0,r.jsx)(l.default,{component:s.default,href:`/horizons/${e.slug}`,underline:"none","aria-label":`${e.title}`,"data-gtm-click-class":"article-card-with-image",children:(0,r.jsxs)(o.default,{component:"div",role:"article",sx:{display:"flex",flexDirection:{xs:"row-reverse",sm:"row"},gap:2,alignItems:"flex-start",backgroundColor:"White"===(k=j)?x.Tj.white:"#F3F3F3",transition:"background-color 0.3s ease, transform 0.3s ease","&:hover":{backgroundColor:"White"===k?"#F3F3F3":x.Tj.white,transform:"scale(1.02)"}},children:[(0,r.jsx)(o.default,{sx:p,children:(0,r.jsx)(o.default,{component:"div",sx:(v=(0,c.m)(e.tileImage?.image?.[0]?.secure_url??""),{width:84,height:84,backgroundImage:`url("${v}")`,backgroundSize:"cover",backgroundPositionX:"100%"})})}),(0,r.jsxs)(o.default,{sx:h,children:[(0,r.jsxs)(o.default,{sx:g,children:[a&&(0,r.jsx)(i.default,{component:"p",variant:"overline",sx:(w=e.category,{color:(0,u.f)(w.colour),mb:0,pr:1}),children:e.category.name}),(0,r.jsxs)(i.default,{variant:"cardMetadata",color:"text.secondary",sx:f,children:[(0,r.jsx)(n.default,{sx:b})," ",(0,d._)(e.content.json)]})]}),(0,r.jsx)(i.default,{component:"h3",variant:"cardTitleSmall",color:"text.primary",m:0,children:e.title})]})]})})]})}}}]);

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.