1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,356760,(e,o,t)=>{o.exports=["albion-park-city-automotive","albion-park-motor-group","alfa-romeo","all-round-motors","andrew-simms-auckland-group","aston-martin","audi","ausmv","auto-brokering","bmw","perth-ute-centre","auto-centre-townsville","barry-bourke-motors","bartons","bartons-commercials","bartons-new-energy-vehicles","bayside-european-group","beaudesert-auto-group","beer-auto-group","bellbowrie-motors","bergmans-auto-group","blacklocks","bmh-auto-group","booran-motors","brighton-auto","byd","byd-nz","caloundra-city-autos","callaghan-motor-group","car-arena","cardiff-motor-group","carlin-gazzard","cars-galore-toowoomba","carworks","cash-for-cars","central-coast-automotive","coastal-auto-group","cheap-car-co","chery-nz","chery","citroen","clancy-automotive","cowra-motors","cricks","cricks-maroochydore","cricks-noosa","curtis-coast-automotive","cupra","dc-motors","deepal","denza","east-coast-commercials-brisbane","east-coast-commercials","echuca-auto-group","eln-motor-group","farizon","ferntree-gully-automotive","fiat-professional","fiat","ford","formula-direct","foton","forthing","freightliner","frizelle-sunshine-automotive","fuso","gac","gardner-autos","geely","geissler-motors-group","genesis-motors","gibbons-automotive","gippsland-motor-group","gmsv","grand-prix-auto-group","great-lakes-automotive","gulson","gwm-haval","harrigan","harrison-motor-group","heartland-motors","hfh-auto-group","highway-cars","hino","hmm-auto-cars","holden","hughes-car-sales","huntermotive-group","hyundai","ineos","infinity-point-motors","isuzu-ute","iveco","jac-trucks","jackson-motor-company","jaecoo","jeep","john-blair-automotive","john-hughes","john-oxley-motors","keema-automotive-group","kensells","kia","kilmore-auto-group","klosters","land-rover","lawrences-motor-group","ldv","leapmotor","lepas","lucrum-automotive-group","macarthur-automotive","magic-enterprises","magnetic-motors","mahindra","market-city-motors","mantello-motor-group","mazda","mercedes-benz-trucks","mercedes-benz","mg","mid-coast-automotive-group","midwest-auto-group","mitsubishi","moorooka-motor-group","motus-ballarat","motus-gippsland","national-capital-motors","nepean-motor-group","nissan","northeast-hampstead-gardens","northeast-truck-centre","newcastle-motor-group","o-neill-auto-group","ogr","central-coast-motor-group","orange-motor-group","osborne-auto-group","parramatta-motor-group","penfold","peninsula-dealer-group","pennant-hills-auto-traders","perth-city-auto-group","peter-warren-automotive-regional","peter-warren","peugeot","pickering-automotive-group","polaris","port-city-autos","q-automotive","quayside-motors","ram","reef-city-motors","renault","rockingham-auto","ron-doyle-motors","ryde-automotive-group","save-on-finance","sci-fleet-motors","scl-southgate-automotive","sharp-motor-group","skoda","south-morang-motor-group","ssangyong","stewart-automotive-group","subaru","suzuki-australia","suzuki","sydney-auto-sales","sydney-north-shore-automotive","sydney-south-automotive","the-lane-group","thomas-bros-group","thomson-automotive","toyota","tradies-heaven","trans-eurokars","trinity-auto-group","tropical-auto","turnbull-motors","tynan-motors","vans-direct","volkswagen","wakeling-automotive","wangaratta-motor-group","wayne-phillis-automotive","west-coast-automotive-group","west-orange-motors","west-point-autos","westco-motors","westpoint-ev","whitsunday-auto-group","wide-bay-motor-group","xpeng","shacks-motor-group","zeekr","von-bibra","rex-gorell"]},628070,e=>{"use strict";var o=e.i(327142),t=e.i(271104);e.i(274525);var a=e.i(129182),r=e.i(491315);let s=e.r(356760).includes(a.WEBSITE.template),l=new Map(o.default.map(e=>[String(e.id),e])),i=new Set(t.default.excluded_models.map(e=>e.slug)),n=new Set((t.default.excluded_test_drive_models||[]).map(e=>e.slug));e.s(["TEST_DRIVE_EXCLUSION_COPY",0,{coming_soon:{label:"Coming Soon",title:"This model is coming soon"},excluded:{label:"Unavailable",title:"This model is not currently available for a test drive"}},"getTestDriveExclusionReason",0,(e,o)=>{if("/book-test-drive"!==o)return null;let t=r.isOEMSite&&l.get(String(e.id));return t?.status==="coming_soon"?"coming_soon":i.has(e.slug)||n.has(e.slug)?"excluded":null},"hasBookTestDrivePage",0,s,"isModelHidden",0,e=>"Model"!==e.class||(r.isAusMV||r.isPeterWarrenFord||"Ford"!==e.make?!!r.isFoton&&"Aumark S"===e.model||e.
1id==a.GR_SUPRA_DISCONTINUED_MODEL_ID:["F-150","F-250"].some(o=>e.name.includes(o))),"modelsDataById",0,l])},496283,e=>{"use strict";var o=e.i(563705),t=e.i(749846),a=e.i(820376),r=e.i(746223),s=e.i(491315);e.s(["default",0,({children:e})=>{let l=(0,t.usePathname)(),i="/book-test-drive"===l&&s.hasFullscreenBookTestDrivePage,n=l.startsWith("/dealerships")&&s.isPeninsulaGroupSite;return i?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.default,{stepIndex:0}),e]}):(0,o.jsx)(r.default,{appRouter:!0,outerClassName:n?"indexPage":void 0,children:e})}])},820376,e=>{"use strict";var o=e.i(563705),t=e.i(222304),a=e.i(389415),r=e.i(361904);e.s(["default",0,({previousStep:e,stepIndex:s,progress:l,backHref:i})=>(0,o.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,o.jsx)(t.Logo,{}),r.showConfiguratorExitButton&&0===s&&i&&(0,o.jsx)(a.default,{fallbackHref:i}),s>0&&100!==l&&(0,o.jsx)(a.default,{onClick:e})]})])},389415,e=>{"use strict";var o=e.i(563705),t=e.i(749846),a=e.i(470636);e.s(["default",0,({fallbackHref:e,onClick:r})=>{let s=(0,t.useRouter)();return(0,o.jsx)(a.Button,{type:"button",className:"order-2 hidden! sm:flex! lg:min-w-50",size:"lg",variant:"outline",onClick:()=>{if(r)r();else{let o;((o=window.navigation?.currentEntry)?o.index>0:window.history.length>1&&document.referrer.startsWith(window.location.origin))?s.back():e&&s.push(e)}},children:"Back"})}])},361904,e=>{"use strict";var o=e.i(464645),t=e.i(271104),a=e.i(512211),r=e.i(974036),s=e.i(774116),l=e.i(129182),i=e.i(615190),n=e.i(491315);let u=["denza","byd-nz"].includes(l.WEBSITE.template)&&!n.isDenzaShowcase,d=n.isNZWebsite&&u,c=n.isBYDNZ,m=n.isBYDNZ,p=!n.isDenza,g=n.isBYDNZ,h=n.isAndrewSimmsByd,f=n.isBYDNZ,v=(0,s.atomWithStorage)("configurator-postcode",""),b=(0,a.atom)(""),x=(0,a.atom)([]),y=(0,a.atom)(0),w=(0,a.atom)({groupedConfiguratorSelections:[],subtotal:0,registrationState:null,registrationType:null,groupedGovernmentCharges:[],dealerDeliveryFee:{label:`${l.WEBSITE.manufacturer||""} Preparation Fee`,amount:0},onRoadFeesSubtotal:0,driveawayTotal:0,isLoading:!1}),j=e=>{let o="interior"===e.colour_type?e.allowed_exterior_colour_ids:e.allowed_interior_colour_ids;return!!(o&&o.length>0)};e.s(["buildGroupedSelections",0,e=>{let{selectedVariant:o,selectedColour:a,selectedInterior:r,selectedWheel:s,selectedAccessories:l=[],dealerDeliveryFee:i=0,variantPrice:n=0}=e,u=[],c=[];n&&c.push({label:"Vehicle Price (Excl. LCT)",amount:n}),i>0&&c.push({label:`${t.default.manufacturer?.name||""} Preparation Fee (Excl. LCT)`,amount:i}),c.length>0&&u.push({category:`Model - ${o?.name||""}`,items:c,total_amount:c.reduce((e,o)=>e+o.amount,0)});let m=[];a&&m.push({label:`Exterior - ${a.name} (Excl. LCT)`,amount:a.price?parseFloat(a.price):0}),r&&m.push({label:`Interior - ${r.name} (Excl. LCT)`,amount:r.price?parseFloat(r.price):0}),m.length>0&&u.push({category:"Colour & Trim",items:m,total_amount:m.reduce((e,o)=>e+o.amount,0)}),s&&u.push({category:"Wheels",items:[{label:s.name,amount:s.price??0}],total_amount:s.price??0});let p=l.filter(e=>e?.category!=="service plan"),g=l.filter(e=>e?.category==="service plan");if(p.length>0){let e=p.map(e=>({label:e.name,amount:e.price??0}));u.push({category:"Accessories",items:e,total_amount:e.reduce((e,o)=>e+o.amount,0)})}if(g.length>0){let e=g.map(e=>({label:e.name,amount:e.price??0}));u.push({category:"Pre-Paid Service Plan",items:e,total_amount:e.reduce((e,o)=>e+o.amount,0)})}return d?u.map(e=>({...e,items:e.items.map(e=>({...e,label:e.label.replace(" (Excl. LCT)","")}))})):u},"calculateSelectionSubtotal",0,e=>{let{variantPrice:o,selectedColour:t,selectedInterior:a,selectedWheel:r,selectedAccessories:s=[]}=e;return o+(t?.price?parseFloat(t.price):0)+(a?.price?parseFloat(a.price):0)+(r?.price??0)+s.reduce((e,o)=>e+(o.price??0),0)},"configuratorLocationAtom",0,b,"configuratorPostcodeAtom",0,v,"containedCarouselImage",0,c,"formatPrice",0,e=>null==e||0===e?"Included":(0,i.money)(e),"getColoursWithAvailability",0,(e,o,t,a,r)=>{let s=e.find(e=>e.id===a&&("exterior"===e.colour_type||!e.colour_type)),l=e.find(e=>e.id===r&&"interior"===e.colour_type),i=(o,t)=>{if(!o)return null;let a=e.filter(e=>e.name===o.name&&e.hexCode===o.hexCode&&e.colour_type===o.colour_type),r=new Set;for(let e of a)for(let o of e[t]||[])r.add(o);return r.size>0?r:null},n=i(l,"allowed_exterior_colour_ids"),u=i(s,"allowed_interior_colour_ids");return e.filter(e=>{let a=o?e.colour_type===o:!e.colour_type||"exterior"===e.colour_type,r=e.model_variant_id===t;return a&&r}).map(e=>{let t="exterior"===o?n:u,a=!t||t.has(e.id);return{...e,isAvailable:a}})},"getConfiguratorCarObject",0,(e,o)=>e&&o?{id:0,make:e.manufacturer_name||"",model:e.name||"",dealership_id:l.WEBSITE.dealership_id,dealership_slug:"",car_type:"new",status:"in_stock",stocknum:"",payment_processors:[o]}:null,"getDefaultColourId",0,(e,o,t)=>e.find(e=>e.colour_type===t&&e.model_variant_id===o&&j(e))?.id,"hasAllowedPairing",0,j,"isNZConfigurator",0,d,"nonRefundableDeposit",0,h,"showConfiguratorExitButton",0,p,"showConfiguratorLocationSelect",0,f,"showNZGovernmentCharges",0,g,"showSelectedColourPrice",0,m,"useCarouselImage",0,()=>{let[e,t]=(0,r.useAtom)(x),[a,s]=(0,r.useAtom)(y),l=(0,o.useCallback)((e,o)=>{let a=[];e?.photo_url&&a.push(e.photo_url),o?.photo_url&&a.push(o.photo_url),t(a)},[t]);return{carouselImages:e,carouselIndex:a,setCarouselImages:t,setCarouselIndex:s,updateCarouselImages:l}},"usePriceSummary",0,()=>{let[e,a]=(0,r.useAtom)(w),s=(0,o.useCallback)(e=>{let{groupedConfiguratorSelections:o,selectionSubtotal:r,registrationState:s=null,registrationType:l=null,groupedGovernmentCharges:i=[],dealerDeliveryFee:n=0,isLoading:u=!1}=e,d=r+n,c=i.reduce((e,o)=>e+(o.total_amount??0),0);a({groupedConfiguratorSelections:o,subtotal:d,registrationState:s,registrationType:l,groupedGovernmentCharges:i,dealerDeliveryFee:{label:`${t.default.manufacturer?.name||""} Preparation Fee`,amount:n}
1,onRoadFeesSubtotal:c,driveawayTotal:d+c,isLoading:u})},[a]);return{priceSummary:e,setPriceSummary:a,updatePriceSummary:s}}])},524197,e=>{e.v(o=>Promise.all(["static/immutable/chunks/2osf4y-eei9lm.css","static/immutable/chunks/2d0bfeyeuy_4p.js"].map(o=>e.l(o))).then(()=>o(934302)))},998867,e=>{"use strict";var o=e.i(464645);e.s(["useIsMobile",0,function({breakpoint:e=768}){let[t,a]=o.useState(void 0);return o.useEffect(()=>{let o=window.matchMedia(`(max-width: ${e-1}px)`),t=()=>{a(window.innerWidth<e)};return o.addEventListener("change",t),a(window.innerWidth<e),()=>o.removeEventListener("change",t)},[e]),!!t}])},7232,e=>{e.v(o=>Promise.all(["static/immutable/chunks/0n9e_no_5voys.js"].map(o=>e.l(o))).then(()=>o(915741)))},516876,e=>{e.v({NavbarLogo:"HyundaiHeader-module-scss-module__Tke9BW__NavbarLogo"})},746223,e=>{"use strict";let o;var t=e.i(563705),a=e.i(271104),r=e.i(667568),s=e.i(688173),l=e.i(563446),i=e.i(486376),n=e.i(623428),u=e.i(473838),d=e.i(388358),c=e.i(978036),m=e.i(19604),p=e.i(678497),g=e.i(464645),h=e.i(649854),f=e.i(707156),v=e.i(450166),b=e.i(865768),x=e.i(222304);e.i(450962);var y=e.i(453556),w=e.i(757656);let j=(0,h.default)(()=>e.A(524197),{loadableGenerated:{modules:[934302]},ssr:!1}),_="tel:"+a.default.phone.replace(/ /g,""),k=()=>{let[e,o]=(0,g.useState)(!1),s=()=>o(!1),l=f.default.header?.HeaderLargeCustomMobileLink;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(x.StyledNavbar,{expand:"lg",className:"border-top px-md-0",style:{backgroundColor:"white"},children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"d-flex flex-column align-items-start justify-content-start d-lg-none w-100",children:[(0,t.jsxs)("div",{className:"d-flex justify-content-between align-items-center w-100",children:[l?(0,t.jsx)(l,{}):(0,t.jsx)(v.HeaderItem,{phone:a.default.phone,Icon:w.FaPhone,url:_,klass:"d-lg-none d-flex mr-3 text-white",title:""}),(0,t.jsx)("div",{className:"order-2",children:(0,t.jsx)(y.default,{onClick:()=>o(!e),className:"d-lg-none"})})]}),r.default?.navigation&&(0,t.jsx)("div",{className:"order-lg-1 order-3 w-100",children:(0,t.jsx)(j,{isOpen:e,className:"navbar-collapse",children:(0,t.jsx)(b.Navbar,{closeCollapse:s,mobile:!0})})})]}),(0,t.jsx)(b.default,{closeCollapse:s,outerClassName:"navbar-collapse d-none d-lg-flex justify-content-end"})]})})})};var C=e.i(661979),N=e.i(998380),S=e.i(491315),B=e.i(516876);let E={showBanner:!0,hideBannerMobile:!1,showHeaderContactInfo:!1,showSellYourCarButton:!!S.isBrightonHyundai,showBookServiceButton:!!S.isBrightonHyundai,showButtonsInLogo:!!S.isBrightonHyundai,showBuyOnlineButton:!1,showHeaderAddress:!0},P=(o=a.default.slug,{...E,...{}[o]}),T="tel:"+a.default.phone.replace(/ /g,""),F=`${a.default.address.street}, ${a.default.address.city}`,I=()=>{let{showBanner:e,showHeaderContactInfo:o,showSellYourCarButton:r,showBookServiceButton:s,showButtonsInLogo:l,showHeaderAddress:n,hideBannerMobile:u}=P,d=f.default.header?.LogoComponent;return(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)(i.default,{wrapperClassName:u&&"d-none d-lg-block"}),(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"d-flex align-items-center",children:[(0,t.jsx)(N.default,{href:"/",className:"d-md-flex d-none navbar-brand py-lg-4 align-items-center py-3",children:d?(0,t.jsx)(d,{}):(0,t.jsx)(C.default,{className:B.default.NavbarLogo,src:a.default.logo.url,alt:a.default.name+" logo",layout:"intrinsic",height:41,width:150})}),(0,t.jsx)(N.default,{href:"/",className:"d-sm-flex d-md-none navbar-brand py-lg-4 align-items-center py-3",children:d?(0,t.jsx)(d,{}):(0,t.jsx)(C.default,{className:B.default.NavbarLogo,src:"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1/td_next/hyundai/logo_small",alt:a.default.name+" logo small",layout:"intrinsic",height:60,width:80})}),l&&(r||s?(0,t.jsxs)("div",{className:"d-none d-sm-flex justify-content-end py-2",style:{marginRight:"-8px"},children:[r&&(0,t.jsx)(N.default,{href:"/trade-in",className:"btn btn-outline-primary",children:"Sell Your Car"}),s&&(0,t.jsx)(N.default,{href:"/service",className:"btn btn-primary ml-2",children:"Book a Service"})]}):null),(0,t.jsxs)("div",{className:"ml-auto text-right",children:[(0,t.jsx)(N.default,{href:"/",className:"reset h4 m-0",children:a.default.name}),o&&(0,t.jsxs)("div",{className:"d-flex justify-content-end",children:[n&&(0,t.jsx)(v.HeaderItem,{title:void 0,phone:F,Icon:w.FaMapMarkerAlt,url:"/contact",klass:"d-md-flex d-none mr-3"}),(0,t.jsx)(v.HeaderItem,{title:void 0,phone:a.default.phone,Icon:w.FaPhone,url:T,klass:"d-lg-flex d-none"})]})]})]}),(0,t.jsx)("div",{className:"d-block d-md-none",children:!1})]})]})};e.s(["default",0,({children:e,outerClassName:o="defaultPage",pageId:g=1,dataLayer:h,...f})=>(0,t.jsxs)("div",{className:o,children:[(0,t.jsx)(u.Head,{...f}),(0,t.jsx)(c.default,{pageId:g,dataLayer:h}),(0,t.jsxs)("div",{className:"header-group",children:[(0,t.jsx)(d.default,{}),r.default.header.headerLarge?(0,t.jsxs)(t.Fragment,{children:[r.default.banner&&(0,t.jsx)(i.default,{website:a.default}),(0,t.jsx)(n.default,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I,{}),(0,t.jsx)(k,{})]})]}),(0,t.jsx)(m.CompareHero,{}),e,(0,t.jsx)(s.default,{}),"tony-white"===a.default.dealership_group&&(0,t.jsx)(p.TwgGroupSubFooter,{website:a.default}),(0,t.jsx)(l.default,{})]})],746223)}]);
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.