PageSourceSearch

https://baycitymitsubishi.co.nz/assets/used-cars-tauranga-B_rRLKQl.js

js baycitymitsubishi.co.nz collected 2026-10-04 20:33:03 UTC 13,510 bytes, 5 lines download raw bytes

1import{an as C,u as B,r as i,j as e,S as D,af as H,ao as R,L,a as _}from"./index-Mfw5D6Uk.js";import{S as U,V as O}from"./vehicle-filter-radios-BwA0Ksu4.js";import{V as q}from"./vehicle-card-CLbgM2uY.js";import{P as I}from"./popular-searches-1CfGzOJa.js";import"./warranty-badge-DkSwUJyk.js";import"./shield-check-BZShLnkP.js";function E(c){return new Intl.NumberFormat("en-NZ",{style:"currency",currency:"NZD",maximumFractionDigits:0}).format(c)}function J(){const{vehicles:c,total:M,page:d,totalPages:m,facets:n}=C.useLoaderData(),a=C.useSearch(),h=B({from:C.fullPath}),l=s=>{h({search:t=>{const r={...t,...s,page:1};for(const S of Object.keys(r))(r[S]===""||r[S]===void 0)&&delete r[S];return r}})},V=s=>{h({search:t=>({...t,page:s})})},W=!!a.make||!!a.model||!!a.minYear||!!a.maxYear||!!a.minPrice||!!a.maxPrice||!!a.search||a.body&&a.body!=="all"||a.fuel&&a.fuel!=="all"||a.cond&&a.cond!=="used"||a.drive&&a.drive!=="all",x="w-full rounded-lg border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-primary/50",g=n.yearMin??new Date().getFullYear()-20,p=n.yearMax??new Date().getFullYear(),f=a.minYear??g,b=a.maxYear??p,[j,P]=i.useState([f,b]);i.useEffect(()=>{P([f,b])},[f,b]);const o=500,Y=n.priceMin??0,A=n.priceMax??1e5,y=Math.floor(Y/o)*o,v=Math.ceil(A/o)*o,w=a.minPrice??y,N=a.maxPrice??v,[k,T]=i.useState([w,N]);i.useEffect(()=>{T([w,N])},[w,N]);const[u,F]=i.useState(a.search);return i.useEffect(()=>{F(a.search)},[a.search]),i.useEffect(()=>{const s=setTimeout(()=>{u!==a.search&&l({search:u})},400);return()=>clearTimeout(s)},[u,a.search]),e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(D,{}),e.jsxs("main",{className:"mx-auto w-full max-w-7xl px-4 pb-10 pt-6 sm:px-6 sm:pb-14 sm:pt-8",children:[e.jsxs("div",{className:"mb-8 max-w-3xl",children:[e.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:"Used Cars for Sale in Tauranga"}),e.jsx("p",{className:"mt-3 text-base text-muted-foreground leading-relaxed sm:text-lg",children:"Looking for used cars for sale in Tauranga? Bay City Mitsubishi has a wide range of quality used cars, SUVs and utes available from our Tauranga car yard, one of the largest selections of used cars in Tauranga, NZ. Browse our current stock below, including Mitsubishi and other popular makes and models."})]}),e.jsxs("div",{className:"mb-8 rounded-2xl border border-border bg-card p-4 sm:p-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"filter-make",className:"mb-1 block text-xs font-medium uppercase tracking-wide text-muted-foreground",children:"Make"}),e.jsxs("select",{id:"filter-make",className:x,value:a.make,onChange:s=>l({make:s.target.value,model:""}),children:[e.jsx("option",{value:"",children:"All makes"}),n.makes.map(s=>e.jsx("option",{value:s,children:s},s))]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"filter-model",className:"mb-1 block text-xs font-medium uppercase tracking-wide text-muted-foreground",children:"Model"}),e.jsxs("select",{id:"filter-model",className:x,value:a.model,onChange:s=>l({model:s.target.value}),children:[e.jsx("option",{value:"",children:"All models"}),n.models.map(s=>e.jsx("option",{value:s,children:s},s))]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-baseline justify-between",children:[e.jsx("label",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:"Year"}),e.jsxs("span",{className:"text-xs font-medium text-foreground tabular-nums",children:[j[0]," – ",j[1]]})]}),e.jsx("div",{className:"px-1 pt-2",children:e.jsx(U,{min:g,max:p,step:1,minStepsBetweenThumbs:0,value:j,onValueChange:s=>P([s[0],s[1]]),onValueCommit:s=>l({minYear:s[0]===g?void 0:s[0],maxYear:s[1]===p?void 0:s[1]})})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-baseline justify-between",children:[e.jsx("label",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:"Price"}),e.jsxs("span",{className:"text-xs font-medium text-foreground tabular-nums",children:[E(k[0])," – ",E(k[1])]})]}),e.jsx("div",{className:"px-1 pt-2",children:e.jsx(U,{min:y,max:v,step:o,minStepsBetweenThumbs:0,value:k,onValueChange:s=>T([s[0],s[1]]),onValueCommit:s=>l({minPrice:s[0]===y?void 0:s[0],maxPrice:s[1]===v?void 0:s[1]})})})]})]}),e.jsxs("div",{className:"mt-5",children:[e.jsx("label",{htmlFor:"filter-search",className:"mb-1 block text-xs font-medium uppercase tracking-wide text-muted-foreground",children:"Search"}),e.jsx("input",{id:"filter-search",type:"search",placeholder:"Search make, model, transmission, features, VIN...",className:x,value:u,onChange:s=>F(s.target.value)})]}),e.jsx(O,{groups:[{name:"body",legend:"Vehicle type",value:a.body,defaultValue:"all",options:[{value:"all",label:"All"},{value:"suv",label:"SUVs"},{value:"ute",label:"Utes"}]},{name:"fuel",legend:"Fuel type",value:a.fuel,defaultValue:"all",options:[{value:"all",label:"All"},{value:"ev_phev",label:"EV/PHEV"}]},{name:"cond",legend:"Condition",value:a.cond,defaultValue:"used",options:[{value:"all",label:"All"},{value:"used",label:"Used"},{value:"used_warranty",label:"Used (with Warranty)"}]},{name:"drive",legend:"Drive type",value:a.drive,defaultValue:"all",options:[{value:"all",label:"All"},{value:"2wd",label:"2WD"},{value:"4wd",label:"4WD"}]}],onChange:(s,t,r)=>l({[s]:t===r?"":t})}),W&&e.jsx("div",{className:"mt-4 flex justify-end",children:e.jsx("button",{type:"button",onClick:()=>h({search:()=>({page:1})}),className:"text-sm text-muted-foreground underline underline-offset-4 hover:text-primary",children:"Clear filters"})})]}),e.jsxs("div",{className:"mb-4 flex items-center justify-between gap-3",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:[M," ",M===1?"vehicle":"vehicles"]}),e.jsxs("label",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx("span",{className:"hidden sm:inline",children:"Sort by"}),e.jsxs("select",{value:a.sort||"price_low",onChange:s=>l({sort:s.target.value==="price_low"?"":s.target.value}),"aria-label":"Sort vehicles",className:"rounded-lg border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-primary/50",children:[e.jsx("option",{value:"price_low",children:"Price: Low to High"}),e.jsx("option",{value:"price_high",children:"Price: High to Low"}),e.jsx("option",{value:"year_high",children:"Year: Newest First"}),e.jsx("option",{value:"year_low",children:"Year: Oldest First"})]})]})]}),c.length===0?e.jsx("p",{className:"text-center text-sm text-muted-foreground",children:"No vehicles match your filters. Try widening your search."}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:c.map(s=>e.jsx(q,{v:s},s.id))}),m>1&&e.jsxs("nav",{className:"mt-10 flex items-center justify-center gap-2","aria-label":"Pagination",children:[e.jsx("button",{type:"button",disabled:d<=1,onClick:()=>V(d-1),className:"rounded-lg border border-border bg-background px-3 py-2 text-sm font-medium text-foreground transition hover:bg-muted disabled:cursor-not-allowed disabled:opacity-40",children:"Previous"}),e.jsxs("span",{className:"px-3 text-sm text-muted-foreground",children:["Page ",d," of ",m]}),e.jsx("button",{type:"button",disabled:d>=m,onClick:()=>V(d+1),className:"rounded-lg border border-border bg-background px-3 py-2 text-sm font-medium text-foreground transition hover:bg-muted disabled:cursor-not-allowed disabled:opacity-40",children:"Next"})]})]}),e.jsxs("section",{className:"mt-16 max-w-3xl",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight text-foreground sm:text-3xl",children:"Used Cars, SUVs and Utes in Tauranga"}),e.jsxs("div",{className:"mt-4 space-y-4 text-base text-muted-foreground leading-relaxed",children:[e.jsx("p",{children:"Our Tauranga used car yard normally stocks around 80 vehicles, with a strong selection of SUVs and utes."}),e.jsx("p",{children:"Whether you search for used cars, second hand cars or 2nd hand cars in Tauranga, you'll find them all here. Explore quality pre-owned vehicles with new stock arriving regularly as trade-ins come in."}),e.jsx("p",{children:"As a Mitsubishi dealership, we have an especially good range of used Mitsubishi SUVs, including Outlander, Eclipse Cross and ASX models. You'll regularly find 7 seaters, petrol, diesel, hybrid and Plug-in Hybrid (PHEV) vehicles in stock."}),e.jsx("p",{children:"Most of our used vehicles sit in the $20,000 to $50,000 price range. We also occasionally have lower-priced trade-ins where the vehicle is tidy, has reasonable kilometres and meets our standards."}),e.jsx("p",{children:"Looking for a used ute? We normally have a selection of Mitsubishi Tritons available alongside trade-ins from other manufacturers."}),e.jsx("p",{children:"SUVs now make up a large proportion of our used vehicle range, but we also stock hatchbacks and smaller cars when good examples are traded, including models such as the Mitsubishi Mirage and Suzuki Swift."}),e.jsx("p",{children:"Mitsubishi has offered Plug-in Hybrid SUVs in New Zealand for many years, so our used stock regularly includes Outlander PHEVs as well as newer Eclipse Cross PHEV models."}),e.jsx("p",{children:"We also regularly stock 4WD vehicles, including Mitsubishi Outlander, Triton and Pajero models, together with selected Eclipse Cross and ASX models."})]})]}),e.jsxs("section",{className:"mt-14 max-w-3xl",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight text-foreground sm:text-3xl",children:"Why Buy a Used Car From Bay City Mitsubishi?"}),e.jsxs("div",{className:"mt-4 space-y-4 text-base text-muted-foreground leading-relaxed",children:[e.jsx("p",{children:"Bay City Mitsubishi is a locally owned and operated new and used car dealer in Tauranga. We've been selling Mitsubishi vehicles in the Bay of Plenty since the early 1980s."}),e.jsx("p",{children:"Our used car yard is located at 140 Cameron Road in central Tauranga, with off-street customer parking and easy access from across the city."}),e.jsx("p",{children:"We normally have around 80 used cars, SUVs and utes available, including both Mitsubishi vehicles and trade-ins from other manufacturers."}),e.jsx("p",{children:"When buying from Bay City Mitsubishi you can also access:"}),e.jsxs("ul",{className:"ml-6 list-disc space-y-1",children:[e.jsx("li",{children:"Vehicle inspections and preparation through our on-site workshop"}),e.jsx("li",{children:"Trade-in appraisals"}),e.jsx("li",{children:"Used vehicle finance"}),e.jsx("li",{children:"Warranties on qualifying vehicles"}),e.jsx("li",{children:"Full servicing and repair facilities after purchase"})]}),e.jsx("p",{children:"Many qualifying Mitsubishi used vehicles are sold as Diamond Certified vehicles and include our 2 Year Warranty."}),e.jsx("p",{children:"We also have a dedicated finance specialist on-site who can help arrange vehicle finance, subject to normal lending criteria and approval."})]})]}),e.jsx(I,{current:"/used-cars-tauranga"}),e.jsx(H,{className:"mt-14",title:"Tips for Buying a Used Car in Tauranga",items:R.map(s=>{const[t,...r]=s.a.split(`
2
3`);return{question:s.q,answer:t,explanation:r.join(`
4
5`)}})}),e.jsxs("section",{className:"mt-14 max-w-3xl",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight text-foreground sm:text-3xl",children:"Visit Our Tauranga Car Yard"}),e.jsxs("div",{className:"mt-4 space-y-4 text-base text-muted-foreground leading-relaxed",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-foreground",children:"Bay City Mitsubishi"}),e.jsx("p",{children:"140 Cameron Road"}),e.jsx("p",{children:"Tauranga"})]}),e.jsx("p",{children:"Come in and browse our used cars, SUVs and utes in person, talk to our sales team or arrange a test drive."}),e.jsxs("div",{className:"grid gap-6 sm:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-bold uppercase tracking-wide text-foreground",children:"Vehicle Sales"}),e.jsxs("dl",{className:"mt-2 space-y-1 text-sm text-muted-foreground",children:[e.jsxs("div",{className:"flex justify-between gap-4",children:[e.jsx("dt",{children:"Monday–Friday"}),e.jsx("dd",{children:"8:00am–5:00pm"})]}),e.jsxs("div",{className:"flex justify-between gap-4",children:[e.jsx("dt",{children:"Saturday"}),e.jsx("dd",{children:"9:00am–4:00pm"})]}),e.jsxs("div",{className:"flex justify-between gap-4",children:[e.jsx("dt",{children:"Sunday"}),e.jsx("dd",{children:"10:00am–4:00pm"})]})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-bold uppercase tracking-wide text-foreground",children:"Parts & Service"}),e.jsxs("dl",{className:"mt-2 space-y-1 text-sm text-muted-foreground",children:[e.jsxs("div",{className:"flex justify-between gap-4",children:[e.jsx("dt",{children:"Monday–Friday"}),e.jsx("dd",{children:"8:00am–5:00pm"})]}),e.jsxs("div",{className:"flex justify-between gap-4",children:[e.jsx("dt",{children:"Saturday–Sunday"}),e.jsx("dd",{children:"Closed"})]})]})]})]}),e.jsx("div",{className:"pt-2",children:e.jsx(L,{to:"/contact",className:"inline-block rounded-full bg-primary px-6 py-2.5 text-sm font-semibold text-primary-foreground shadow-md transition hover:brightness-110",children:"Contact Us"})})]})]})]}),e.jsx(_,{})]})}
5export{J as component};

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.