1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,496283,e=>{"use strict";var t=e.i(563705),a=e.i(749846),l=e.i(820376),s=e.i(872860),r=e.i(491315);e.s(["default",0,({children:e})=>{let o=(0,a.usePathname)(),i="/book-test-drive"===o&&r.hasFullscreenBookTestDrivePage,n=o.startsWith("/dealerships")&&r.isPeninsulaGroupSite;return i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{stepIndex:0}),e]}):(0,t.jsx)(s.default,{appRouter:!0,outerClassName:n?"indexPage":void 0,children:e})}])},820376,e=>{"use strict";var t=e.i(563705),a=e.i(222304),l=e.i(389415),s=e.i(361904);e.s(["default",0,({previousStep:e,stepIndex:r,progress:o,backHref:i})=>(0,t.jsxs)("div",{className:"flex h-16 flex-wrap items-center justify-start px-4 sm:justify-between",style:{backgroundColor:"var(--header-background-color)"},children:[(0,t.jsx)(a.Logo,{}),s.showConfiguratorExitButton&&0===r&&i&&(0,t.jsx)(l.default,{fallbackHref:i}),r>0&&100!==o&&(0,t.jsx)(l.default,{onClick:e})]})])},389415,e=>{"use strict";var t=e.i(563705),a=e.i(749846),l=e.i(470636);e.s(["default",0,({fallbackHref:e,onClick:s})=>{let r=(0,a.useRouter)();return(0,t.jsx)(l.Button,{type:"button",className:"order-2 hidden! sm:flex! lg:min-w-50",size:"lg",variant:"outline",onClick:()=>{if(s)s();else{let t;((t=window.navigation?.currentEntry)?t.index>0:window.history.length>1&&document.referrer.startsWith(window.location.origin))?r.back():e&&r.push(e)}},children:"Back"})}])},361904,e=>{"use strict";var t=e.i(464645),a=e.i(271104),l=e.i(512211),s=e.i(974036),r=e.i(774116),o=e.i(129182),i=e.i(615190),n=e.i(491315);let d=["denza","byd-nz"].includes(o.WEBSITE.template)&&!n.isDenzaShowcase,c=n.isNZWebsite&&d,u=n.isBYDNZ,h=n.isBYDNZ,m=!n.isDenza,f=n.isBYDNZ,x=n.isAndrewSimmsByd,p=n.isBYDNZ,g=(0,r.atomWithStorage)("configurator-postcode",""),y=(0,l.atom)(""),j=(0,l.atom)([]),v=(0,l.atom)(0),w=(0,l.atom)(null),b=(0,l.atom)({groupedConfiguratorSelections:[],subtotal:0,registrationState:null,registrationType:null,groupedGovernmentCharges:[],dealerDeliveryFee:{label:`${o.WEBSITE.manufacturer||""} Preparation Fee`,amount:0},onRoadFeesSubtotal:0,driveawayTotal:0,isLoading:!1}),N=e=>{let t="interior"===e.colour_type?e.allowed_exterior_colour_ids:e.allowed_interior_colour_ids;return!!(t&&t.length>0)};e.s(["buildGroupedSelections",0,e=>{let{selectedVariant:t,selectedColour:l,selectedInterior:s,selectedWheel:r,selectedAccessories:o=[],dealerDeliveryFee:i=0,variantPrice:n=0}=e,d=[],u=[];n&&u.push({label:"Vehicle Price (Excl. LCT)",amount:n}),i>0&&u.push({label:`${a.default.manufacturer?.name||""} Preparation Fee (Excl. LCT)`,amount:i}),u.length>0&&d.push({category:`Model - ${t?.name||""}`,items:u,total_amount:u.reduce((e,t)=>e+t.amount,0)});let h=[];l&&h.push({label:`Exterior - ${l.name} (Excl. LCT)`,amount:l.price?parseFloat(l.price):0}),s&&h.push({label:`Interior - ${s.name} (Excl. LCT)`,amount:s.price?parseFloat(s.price):0}),h.length>0&&d.push({category:"Colour & Trim",items:h,total_amount:h.reduce((e,t)=>e+t.amount,0)}),r&&d.push({category:"Wheels",items:[{label:r.name,amount:r.price??0}],total_amount:r.price??0});let m=o.filter(e=>e?.category!=="service plan"),f=o.filter(e=>e?.category==="service plan");if(m.length>0){let e=m.map(e=>({label:e.name,amount:e.price??0}));d.push({category:"Accessories",items:e,total_amount:e.reduce((e,t)=>e+t.amount,0)})}if(f.length>0){let e=f.map(e=>({label:e.name,amount:e.price??0}));d.push({category:"Pre-Paid Service Plan",items:e,total_amount:e.reduce((e,t)=>e+t.amount,0)})}return c?d.map(e=>({...e,items:e.items.map(e=>({...e,label:e.label.replace(" (Excl. LCT)","")}))})):d},"calculateSelectionSubtotal",0,e=>{let{variantPrice:t,selectedColour:a,selectedInterior:l,selectedWheel:s,selectedAccessories:r=[]}=e;return t+(a?.price?parseFloat(a.price):0)+(l?.price?parseFloat(l.price):0)+(s?.price??0)+r.reduce((e,t)=>e+(t.price??0),0)},"configuratorLocationAtom",0,y,"configuratorPostcodeAtom",0,g,"containedCarouselImage",0,u,"financeEstimateUrlAtom",0,w,"formatPrice",0,e=>null==e||0===e?"Included":(0,i.money)(e),"getColoursWithAvailability",0,(e,t,a,l,s)=>{let r=e.find(e=>e.id===l&&("exterior"===e.colour_type||!e.colour_type)),o=e.find(e=>e.id===s&&"interior"===e.colour_type),i=(t,a)=>{if(!t)return null;let l=e.filter(e=>e.name===t.name&&e.hexCode===t.hexCode&&e.colour_type===t.colour_type),s=new Set;for(let e of l)for(let t of e[a]||[])s.add(t);return s.size>0?s:null},n=i(o,"allowed_exterior_colour_ids"),d=i(r,"allowed_interior_colour_ids");return e.filter(e=>{let l=t?e.colour_type===t:!e.colour_type||"exterior"===e.colour_type,s=e.model_variant_id===a;return l&&s}).map(e=>{let a="exterior"===t?n:d,l=!a||a.has(e.id);return{...e,isAvailable:l}})},"getConfiguratorCarObject",0,(e,t)=>e&&t?{id:0,make:e.manufacturer_name||"",model:e.name||"",dealership_id:o.WEBSITE.dealership_id,dealership_slug:"",car_type:"new",status:"in_stock",stocknum:"",payment_processors:[t]}:null,"getDefaultColourId",0,(e,t,a)=>e.find(e=>e.colour_type===a&&e.model_variant_id===t&&N(e))?.id,"hasAllowedPairing",0,N,"isNZConfigurator",0,c,"nonRefundableDeposit",0,x,"showConfiguratorExitButton",0,m,"showConfiguratorLocationSelect",0,p,"showN
1ZGovernmentCharges",0,f,"showSelectedColourPrice",0,h,"useCarouselImage",0,()=>{let[e,a]=(0,s.useAtom)(j),[l,r]=(0,s.useAtom)(v),o=(0,t.useCallback)((e,t)=>{let l=[];e?.photo_url&&l.push(e.photo_url),t?.photo_url&&l.push(t.photo_url),a(l)},[a]);return{carouselImages:e,carouselIndex:l,setCarouselImages:a,setCarouselIndex:r,updateCarouselImages:o}},"usePriceSummary",0,()=>{let[e,l]=(0,s.useAtom)(b),r=(0,t.useCallback)(e=>{let{groupedConfiguratorSelections:t,selectionSubtotal:s,registrationState:r=null,registrationType:o=null,groupedGovernmentCharges:i=[],dealerDeliveryFee:n=0,isLoading:d=!1}=e,c=s+n,u=i.reduce((e,t)=>e+(t.total_amount??0),0);l({groupedConfiguratorSelections:t,subtotal:c,registrationState:r,registrationType:o,groupedGovernmentCharges:i,dealerDeliveryFee:{label:`${a.default.manufacturer?.name||""} Preparation Fee`,amount:n},onRoadFeesSubtotal:u,driveawayTotal:c+u,isLoading:d})},[l]);return{priceSummary:e,setPriceSummary:l,updatePriceSummary:r}}])},469749,e=>{e.v({})},885457,929141,e=>{"use strict";var t=e.i(563705),a=e.i(941383),l=e.i(714533),s=e.i(469749);e.s(["default",0,({isOpen:e,className:r,children:o})=>(0,t.jsx)(a.default,{id:"navbar-collapse",duration:300,height:e?"auto":0,easing:"ease-out",className:(0,l.default)(s.default.NavbarCollapse,r),children:o})],929141),e.s([],885457)},524197,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3rcgq85o0pwjp.js"].map(t=>e.l(t))).then(()=>t(934302)))},998867,e=>{"use strict";var t=e.i(464645);e.s(["useIsMobile",0,function({breakpoint:e=768}){let[a,l]=t.useState(void 0);return t.useEffect(()=>{let t=window.matchMedia(`(max-width: ${e-1}px)`),a=()=>{l(window.innerWidth<e)};return t.addEventListener("change",a),l(window.innerWidth<e),()=>t.removeEventListener("change",a)},[e]),!!a}])},839953,e=>{"use strict";e.i(37622);var t=e.i(272560);e.s(["FaMapMarkerAlt",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}}]})(e)}])},7232,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0n9e_no_5voys.js"].map(t=>e.l(t))).then(()=>t(915741)))},473056,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0wh7d6i6cpk6u.js","static/immutable/chunks/1pk4atzvuvf36.css"].map(t=>e.l(t))).then(()=>t(116468)))},831700,e=>{e.v({LismoreContent:"ToyotaHeader-module-scss-module__lijfHa__LismoreContent",NavbarLogo:"ToyotaHeader-module-scss-module__lijfHa__NavbarLogo"})},872860,e=>{"use strict";var t=e.i(563705),a=e.i(473838),l=e.i(978036),s=e.i(19604),r=e.i(755131),o=e.i(998380),i=e.i(491315);let n=({src:e,width:t,quality:a=75})=>`https://res.cloudinary.com/total-dealer/image/upload/w_${t},f_auto,q_${a}/v1712556251/td_next/toyota/${e}`,d=()=>(0,t.jsxs)("div",{className:"container pb-4",children:[(0,t.jsx)("h3",{className:"text-center py-4",children:"Click a badge to view one of Galleria Toyota's advantages"}),(0,t.jsx)("div",{className:"row text-center",children:(0,t.jsxs)("div",{className:"col-12 mb-4",children:[(0,t.jsx)(o.default,{href:"/search/used-cars?refinementList%5Bmake%5D%5B0%5D=Toyota",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-usedcars-icon_ffumy5",width:250,height:70,loader:n,alt:"Toyota Used Cars"})}),(0,t.jsx)(o.default,{href:"/genuine-service",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-service-icon_higbq8",width:250,height:70,loader:n,alt:"Toyota Genuine Service"})}),(0,t.jsx)(o.default,{href:i.isGalleriaToyota?"/pages/toyota-genuine-parts":"/vehicle-parts-and-accessories",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-parts-icon_dwiz3e",width:250,height:70,loader:n,alt:"Toyota Genuine Parts"})}),(0,t.jsx)(o.default,{href:i.isGalleriaToyota?"/pages/toyota-warranty-advantage":"/warranty",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-warranty-icon_twgiz5",width:250,height:70,loader:n,alt:"Toyota 5 Year Warranty Advantage"})}),(0,t.jsx)(o.default,{href:"/pages/express-maintenance",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-expressMaintainence-icon_ntxn6f",width:250,height:70,loader:n,alt:"Toyota Express Maintenance"})})]})})]});var c=e.i(271104);let u=c.default["Toyota Base Domain"],h=`https://${u}.dealer.toyota.com.au/finance/car-loan-calculator`,m=({src:e,width:t,quality:a=75})=>`https://res.cloudinary.com/total-dealer/image/upload/w_${t},f_auto,q_${a}/v1712556251/td_next/toyota/${e}`,f=()=>(0,t.jsxs)("div",{className:"container pb-4",children:[(0,t.jsx)("h3",{className:"py-4 text-center",children:"Click a badge to view one of Scarboro Toyota's advantages"}),(0,t.jsx)("div",{className:"row text-center",children:(0,t.jsxs)("div",{className:"col-12 mb-4",children:[(0,t.jsx)(o.default,{href:"/search/used-cars?refinementList%5Bmake%5D%5B0%5D=Toyota",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-usedcars-icon_ffumy5",width:250,height:70,loader:m,alt:"Toyota Used Cars"})}),(0,t.jsx)(o.default,{href:"/genuine-service",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-service-icon_higbq8",width:250,height:70,loader:m,alt:"Toyota Genuine Service"})}),(0,t.jsx)(o.default,{href:i.isScarboroToyota?"/pages/toyota-genuine-parts":"/vehicle-parts-and-accessories",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-parts-icon_dwiz3e",width:250,height:70,loader:m,alt:"Toyota Genuine Parts"})}),(0,t.jsx)(o.default,{href:i.isScarboroToyota?"/pages/toyota-warranty-advantage":"/warranty",children:(0,t.jsx)(r.default,{src:"footer-badges-icon-warranty-icon_twgiz5",width:250,height:70,loader:m,alt:"Toyota 5 Year Warranty Advantage"})}),(0,t.jsx)(o.default,{href:h,children:(0,t.jsx)(r.default,{src:"140504_toyota-personalisedrate-pill-23-aug19-sa_eui9qx",width:250,height:70,loader:m,alt:"Toyota Personalised Rate"})})]})})]});var x=e.i(913436),p=e.i(916270),g=e.i(141974),y=e.i(615190),j=e.i(640162);let v="/our-location",w=()=>{var e;let t,{salesLocations:a,serviceLocations:l,partsLocations:s,locations:r,primaryLocation:o}=(0,j.useLocations)(),n=[...a,...l,...s],d=(t=[],i.isPacificToyota?r.filter(e=>[2387,3993,3994].includes(e.id)):i.isScarboroToyota?r.filter(e=>[847,3171,3172].includes(e.id)):((t=n.filter(e=>e.contact_detail.phone)).length>3&&(t=t.filter(e=>"sales"===e.location_type)),t)),c=i.isScarboroToyota?r.find(e=>847===e.id)?.address:o?.address,u=((e,t)=>{if(t)return{href:v,linkText:"Our Locations",isExternal:!1};let a=e?.place_url;return{href:a||v,linkText:[e?.street&&`${e.street}
1,`,e?.city,e?.state,e?.postcode].filter(Boolean).join(" "),isExternal:!!a}})(c,new Set((e=n.filter(e=>e.visible)).map(e=>{let t;return t=e.address,[t?.street,t?.city,t?.postcode].filter(Boolean).join("|").toLowerCase()}).filter(Boolean)).size>1||e.length>3);return{processedLocations:d,hasMultipleCities:new Set(d.map(e=>e.address?.city)).size>1,primaryAddress:c,locationLink:u}},b=()=>{let{processedLocations:e,hasMultipleCities:a,locationLink:l}=w();return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"d-flex align-items-center py-2 md:gap-2",children:[(0,t.jsx)(o.default,{href:"/",className:"py-lg-4 d-flex align-items-center py-3",children:(0,t.jsx)(r.default,{src:c.default.logo.url,alt:c.default.name+" logo",height:42,width:56,priority:!0,className:"h-auto w-12 object-contain md:w-14"})}),(0,t.jsxs)("div",{className:"ml-auto text-right",children:[(0,t.jsx)(o.default,{href:"/",className:"mt-2 mb-3 no-underline!",children:(0,t.jsx)("h2",{className:"ghf-dealer-name",children:c.default.name})}),(0,t.jsx)(()=>{let{images:s,loaders:i}=(0,p.useCloudinaryLoader)(["https://res.cloudinary.com/total-dealer/image/upload/v1752465219/td_next/toyota/svg-icons/toyota-
1phone_kqscbp","https://res.cloudinary.com/total-dealer/image/upload/v1752465219/td_next/toyota/svg-icons/toyota-location_i1vwcy"]),{bannerLocationLinks:n}=(0,x.useBannerConfig)();if(n&&n.length>0){let e=n.filter(e=>"phone"===e.linkType);return(0,t.jsx)("div",{className:"hidden justify-end gap-4 lg:flex",children:(0,t.jsxs)("div",{className:"flex items-end justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{src:s[1],alt:"Toyota location pin",width:16,height:16,loader:i[1]}),(0,t.jsx)(o.default,{href:l.href,className:"text-sm no-underline! hover:underline!",target:l.isExternal?"_blank":"_self",rel:l.isExternal?"noopener noreferrer":void 0,children:l.linkText})]}),e.map((e,a)=>(0,t.jsxs)("div",{className:"flex flex-col items-center text-sm",children:[e?.headingText&&(0,t.jsx)("span",{className:"mb-0 w-full text-right font-semibold!",children:e.headingText}),(0,t.jsxs)("div",{className:"flex w-full items-center justify-end gap-2",children:[(0,t.jsx)(r.default,{src:s[0],alt:"phone icon",width:14,height:14,loader:i[0]}),(0,t.jsx)(o.default,{href:e?.href||"/contact",className:(0,y.cn)("no-underline!",e?.href&&"hover:underline!"),target:"_self",children:e?.linkText})]})]},`phone-${a}`))]})})}let d=({location:e})=>{let l=a?e.address?.city:(0,g.capitalize)(e.location_type);return(0,t.jsxs)("div",{className:"flex flex-col items-center text-sm",children:[(0,t.jsx)("span",{className:"mb-0 w-full text-right font-semibold!",children:l}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{src:s[0],alt:"Toyota phone",width:14,height:14,loader:i[0]}),(0,t.jsx)(o.default,{href:`tel:${e.contact_detail.phone}`,className:"no-underline! hover:underline!",children:e.contact_detail.phone})]})]},e.id)};return(0,t.jsx)("div",{className:"hidden justify-end gap-4 xl:flex",children:(0,t.jsxs)("div",{className:"flex items-end justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{src:s[1],alt:"Toyota location pin",width:16,height:16,loader:i[1]}),(0,t.jsx)(o.default,{href:l.href,className:"text-sm no-underline! hover:underline!",target:l.isExternal?"_blank":"_self",rel:l.isExternal?"noopener noreferrer":void 0,children:l.linkText})]}),e.map(e=>(0,t.jsx)(d,{location:e},e.id))]})})},{})]})]})})})};var N=e.i(464645),_=e.i(25933),T=e.i(667568);e.i(317293);var k=e.i(936615),C=e.i(865768),S=e.i(222304);e.i(885457);var L=e.i(929141);e.i(450962);var B=e.i(453556);e.i(684263);var E=e.i(110455),F=e.i(551782);let D=()=>{let[e,a]=(0,N.useState)(!1),[l,s]=(0,N.useState)(!1),[i,n]=(0,N.useState)(!1),{images:d,loaders:u}=(0,p.useCloudinaryLoader)(["https://res.cloudinary.com/total-dealer/image/upload/v1752465219/td_next/toyota/svg-icons/toyota-
1phone_kqscbp","https://res.cloudinary.com/total-dealer/image/upload/v1752549289/td_next/toyota/svg-icons/toyota-location_i1vwcy","https://res.cloudinary.com/total-dealer/image/upload/v1752624702/td_next/toyota/svg-icons/toyota-search_gaym6o","https://res.cloudinary.com/total-dealer/image/upload/v1755914267/td_next/toyota/svg-icons/toyota-home_demygg"]),h=()=>{a(!e),T.default.header.NavDrawer&&(l?document.body.classList.remove("modal-open"):document.body.classList.add("modal-open"),s(!l))},m=()=>{a(!1),T.default.header.NavDrawer&&(document.body.classList.remove("modal-open"),s(!1))};(0,N.useEffect)(()=>{document.body.classList.remove("modal-open")},[]);let{bannerLocationLinks:f}=(0,x.useBannerConfig)(),{processedLocations:j,hasMultipleCities:v,locationLink:b}=w(),D=f.filter(e=>"phone"===e.linkType),P=f&&f.length>0?(0,t.jsx)("div",{className:"flex flex-col items-center justify-between gap-2 divide-y divide-gray-200 px-2",children:D.map((e,a)=>(0,t.jsxs)(o.default,{href:e?.href||"/contact",className:"flex w-full items-center justify-between py-1 no-underline!",target:"_self",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h5",{className:"mb-0! text-xl font-normal!",style:{fontFamily:"Toyota Type"},children:e?.headingText}),(0,t.jsxs)("span",{children:[e?.linkText," "]})]}),(0,t.jsx)(r.default,{src:d[0],alt:"Toyota phone",width:20,height:20,loader:u[0]})]},`${e?.linkType}-${a}`))}):(0,t.jsx)("div",{className:"flex flex-col items-center justify-between gap-2 divide-y divide-gray-200 px-2",children:j.map(e=>(0,t.jsxs)(o.default,{href:`tel:${e.contact_detail.phone}`,className:"flex w-full items-center justify-between py-1 no-underline!",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h5",{className:"mb-0! text-xl font-normal!",style:{fontFamily:"Toyota Type"},children:[(0,g.capitalize)(e.location_type),v&&e.address?.city].filter(Boolean).join(" - ")}),(0,t.jsxs)("span",{children:[e.contact_detail.phone.replace(/[()]/g,"")," "]})]}),(0,t.jsx)(r.default,{src:d[0],alt:"Toyota phone",width:20,height:20,loader:u[0]})]},e.id))});return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(S.StyledNavbar,{expand:"lg",className:"mt-1 px-0 pb-1!",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"container flex w-full flex-col items-start justify-start lg:hidden!",children:[(0,t.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full border p-2",children:(0,t.jsx)(r.default,{src:d[0],alt:"Toyota phone",width:20,height:20,loader:u[0],onClick:()=>n(!i)})}),(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full border p-2",children:(0,t.jsx)(o.default,{href:b.href,className:"unstlyed leading-0!",target:b.isExternal?"_blank":"_self",rel:b.isExternal?"noopener noreferrer":void 0,"aria-label":b.linkText||"Our location",children:(0,t.jsx)(r.default,{src:d[1],alt:"Toyota location",width:20,height:20,loader:u[1]})})})]}),(0,t.jsxs)("div",{className:"order-2",children:[(0,t.jsx)("div",{className:(0,y.cn)("lg:hidden",T.default.header.NavDrawer?"hidden":"block"),children:(0,t.jsx)(B.default,{onClick:h,variant:"dots",isOpen:e,className:""})}),T.default.header.NavDrawer&&(0,t.jsxs)(_.Root,{open:l,onOpenChange:()=>h(),className:(0,y.cn)("order-2",T.default.header.NavDrawer?"d-block":"d-none","d-lg-none"),children:[(0,t.jsx)(_.Trigger,{className:"btn m-0 p-0",children:(0,t.jsx)(B.default,{className:"",variant:"dots",isOpen:l})}),(0,t.jsxs)(E.default,{isOpen:l,setIsOpen:s,Logo:S.Logo,children:[(0,t.jsx)(C.Navbar,{closeCollapse:m,mobile:!0}),(0,t.jsx)("hr",{className:"my-4"}),(0,t.jsx)("div",{className:"mb-4 px-2 text-sm",children:c.default.name})]})]})]})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(L.default,{isOpen:i,className:"navbar-collapse",children:P})}),T.default?.navigation&&!T.default.header.NavDrawer&&(0,t.jsx)("div",{className:"order-lg-1 order-3 w-100",children:(0,t.jsxs)(L.default,{isOpen:e,className:"navbar-collapse",children:[(0,t.jsx)(C.Navbar,{closeCollapse:m,mobile:!0}),(0,t.jsx)("hr",{className:"my-4"}),(0,t.jsx)("div",{className:"mb-4 px-2 text-sm",children:c.default.name})]})})]}),(0,t.jsxs)("div",{className:"hidden w-full items-center justify-between gap-4 lg:flex",children:[(0,t.jsx)(o.default,{href:"/",children:(0,t.jsx)(r.default,{src:d[3],alt:"Toyota Home",width:22,height:22,loader:u[0],style:{padding:"var(--header-navlink-padding)"}})}),(0,t.jsx)(C.default,{closeCollapse:m}),T.default.header.searchBar&&(0,t.jsxs)(F.DropdownMenu,{modal:!1,children:[(0,t.jsx)(F.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(r.default,{src:d[2],alt:"Toyota search",width:20,height:20,loader:u[0],style:{padding:"var(--header-navlink-padding)"}})}),(0,t.jsx)(F.DropdownMenuContent,{asChild:!0,align:"end",className:"rounded-0 absolute top-1.5 -right-4 z-50 hidden! border-none! outline-none! lg:block!",children:(0,t.jsx)("div",{className:"bg-white px-2 py-3",style:{width:"340px"},children:(0,t.jsx)(k.default,{className:"w-full md:px-0! xl:px-0!"})})})]})]})]})})})};var P=e.i(757656);let z=()=>{let e=[{linkText:"Book a Service Now",href:"https://[toyota_domain].dealer.toyota.com.au/service/booking",icon:(0,t.jsx)(P.FaWrench,{size:20}
1),condition:i.isGalleriaToyota},{linkText:"Book a Service Now",href:"https://[toyota_domain].dealer.toyota.com.au/service/booking",icon:(0,t.jsx)(P.FaWrench,{size:20}),condition:i.isScarboroToyota}].find(e=>e.condition);return e?(0,t.jsx)("div",{className:"sticky bottom-0 border-t border-white bg-black py-1 md:hidden",children:(0,t.jsxs)(o.default,{href:e.href,className:"flex items-center justify-center gap-3 py-2 text-white no-underline!",children:[e.icon,(0,t.jsx)("span",{className:"mb-0.5 font-bold",children:e.linkText})]})}):null};var M=e.i(661979),$=e.i(831700);function G(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"bg-dark flex w-full justify-end text-white",children:(0,t.jsxs)("div",{className:"container flex flex-row justify-end py-3",children:[(0,t.jsx)("div",{className:"mt-1 flex flex-wrap items-center justify-end",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(P.FaMapMarkerAlt,{className:"mr-2"}),(0,t.jsx)(o.default,{href:"https://www.gympietoyota.com.au",className:"mr-2 text-white",children:"Gympie"})]})}),(0,t.jsx)("div",{className:"mt-1 flex flex-wrap items-center justify-end",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(P.FaMapMarkerAlt,{className:"mr-2"}),(0,t.jsx)(o.default,{href:"https://www.noosatoyota.com.au",className:"mr-2 text-white",children:"Noosaville"})]})})]})}),(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"d-flex align-items-center py-2 md:gap-2",children:[(0,t.jsx)(o.default,{href:"/",className:"navbar-brand py-lg-4 d-flex align-items-center py-3",children:(0,t.jsx)(M.default,{className:$.default.NavbarLogo,src:c.default.logo.url,alt:c.default.name+" logo",layout:"intrinsic",height:60,width:80})}),(0,t.jsx)("div",{className:"ml-auto text-right",children:(0,t.jsx)(o.default,{href:"/",className:"reset h4 m-0",children:"Gympie & Noosa Toyota"})})]})})]})}var I=e.i(184948),A=e.i(470636);function W(){let e={src:"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1747028282/td_next/john-madill-toyota/gympie-toyota_scm2p5",alt:"Gympie Toyota",url:"https://www.gympietoyota.com.au/",title:"Gympie Toyota"},a={src:"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1747028282/td_next/john-madill-toyota/noosa-toyota_niuamo",alt:"Noosa Toyota",url:"https://www.noosatoyota.com.au/",title:"Noosa Toyota"},{src:l,loader:s}=(0,p.useCloudinaryLoader)(e.src),{src:r,loader:o}=(0,p.useCloudinaryLoader)(a.src);return(0,t.jsx)("div",{className:"h-screen w-full overflow-hidden",children:(0,t.jsxs)("div",{className:"flex h-full w-full flex-col gap-4 p-4 pt-0! md:flex-row",children:[(0,t.jsx)("div",{className:"h-1/2 w-full md:h-full md:w-1/2",children:(0,t.jsx)(q,{image:e,processedSrc:l,loader:s,priority:!0,className:"items-start md:justify-end"})}),(0,t.jsx)("div",{className:"h-1/2 w-full md:h-full md:w-1/2",children:(0,t.jsx)(q,{image:a,processedSrc:r,loader:o,priority:!0,className:"items-start md:justify-start"})})]})})}function q({image:e,processedSrc:a,loader:l,priority:s=!1,className:o}){let{src:i,loader:n}=(0,p.useCloudinaryLoader)("https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1747016478/td_next/john-madill-toyota/Toyota_Logo_fquba4");return(0,t.jsx)("div",{className:(0,y.cn)("group relative flex h-full w-full items-center justify-center",o),children:(0,t.jsxs)(I.default,{href:e?.url||"#",className:"relative h-full w-full overflow-hidden rounded-lg",style:{maxHeight:700,maxWidth:700},children:[(0,t.jsx)(r.default,{src:a,alt:e?.alt,loader:l,fill:!0,sizes:"(max-width: 700px) 100v
1w, (max-width: 768px) 700px, (max-width: 1400px) 50vw, 700px",style:{objectFit:"cover"},className:"rounded-lg transition-transform duration-500 group-hover:scale-105",priority:s}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3 bg-black/60 px-8 text-center transition-all duration-300 ease-in-out md:gap-6",children:[(0,t.jsx)(r.default,{src:i,loader:n,alt:"Toyota Logo",width:200,height:100,className:"h-26 w-36 object-cover md:h-32 md:w-44 lg:h-46 lg:w-64"}),(0,t.jsx)("h2",{className:"text-2xl font-bold text-white transition-all duration-300 ease-in-out md:text-5xl! group-hover:md:text-6xl!",children:e?.title})]}),(0,t.jsx)("div",{className:"absolute bottom-8 left-1/2 z-10 -translate-x-1/2 transform",children:(0,t.jsx)(A.Button,{className:"btn btn-primary px-6 py-2 text-lg",children:"Visit Site"})})]})})}let O=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(G,{}),(0,t.jsx)(W,{})]});var H=e.i(688173),R=e.i(383950),Z=e.i(44836),U=e.i(998867),Y=e.i(774357),K=e.i(678497),V=e.i(389124),J=e.i(393001);let Q=(0,V.checkConfigComponent)(["footer","customLogo"]),X=()=>{let e=(0,Z.useFooterMenuItems)();return(0,t.jsx)("div",{className:"flex-column align-center col-12 flex justify-center",children:e.map((e,a)=>{let l=e.dropdownItems.filter(e=>e?.url);return(0,t.jsx)(Y.default,{title:e.name.toUpperCase(),dark:!0,className:(0,y.cn)("m-0 border-0 p-0"),collapseHeadingClassName:(0,y.cn)("border-b!",0===a&&"border-t! pt-3"),children:(0,t.jsx)("ul",{className:R.default.footerItems,children:(0,t.jsx)(H.DropDownItems,{items:l,listClassName:"text-md pb-4 list-none"})})},a)})})},ee=({disableCustomLogo:e=!1,defaultClassName:a="footer pt-4 pb-2"})=>{let l=(0,U.useIsMobile)({});return(0,t.jsxs)("div",{className:(0,y.cn)(R.default.Footer,a,T.default.footer.borderTop),children:[(0,t.jsx)("div",{className:T.default.footer.fluid?"container-fluid":"container",children:(0,t.jsxs)("div",{className:"row",children:[Q&&!e&&(0,t.jsx)(Q,{}),T.default.navigation?.footer&&(l?(0,t.jsx)(X,{}):(0,t.jsx)(H.Menu,{})),T.default?.footer.customLogoEnd&&(0,t.jsx)(T.default.footer.customLogoEnd,{}),T.default.footer.customText&&(0,t.jsx)(T.default.footer.customText,{})]})}),"tony-white"===c.default.dealership_group&&(0,t.jsx)(K.TwgGroupSubFooter,{}),(0,t.jsx)(J.default,{})]})};e.s(["default",0,({children:e,outerClassName:r="defaultPage",pageId:o=1,dataLayer:n,...c})=>i.isJohnMadillToyota?(0,t.jsx)(O,{}):(0,t.jsxs)("div",{className:r,children:[(0,t.jsx)(a.Head,{...c}),(0,t.jsx)(l.default,{pageId:o,dataLayer:n}),(0,t.jsxs)("div",{className:"header-group",children:[(0,t.jsx)(b,{}),(0,t.jsx)(D,{})]}),(0,t.jsx)(s.CompareHero,{}),e,i.isGalleriaToyota&&(0,t.jsx)(d,{}),i.isScarboroToyota&&(0,t.jsx)(f,{}),(0,t.jsx)(ee,{}),(0,t.jsx)(z,{})]})],872860)}]);
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.