<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9020],{24788:function(t,e,o){var a=o(83346);o(86747);var r=o(94605);["4x4","alfa-romeo","barry-bourke-approved","bartons","bathurst-automotive-direct","bathurst-motor-group","citroen","bayside-european-group","beaudesert-auto-group","bergmans-auto-group","bmh-auto-group","beer-auto-group","booran-motors","brighton-auto","blacklock-trucks","caloundra-city-autos","central-coast-automotive","chery","cq-used-car-superstore","cricks","fiat","fiat-professional","ferntree-gully-automotive","ford","freightliner","frizelle-sunshine-automotive","fuso","geely","gmsv","gulson","gwm-haval","harrigan","heartland-motors","hfh-auto-group","holden","hyundai","isuzu-ute","jeep","john-blair-automotive","john-hughes","john-oxley-motors","kensells","kia","kilmore-auto-group","ldv","magic-enterprises","macarthur-automotive","mahindra","mazda","mercedes-benz-trucks","mg","mitsubishi","midwest-auto-group","moorooka-motor-group","motorama","nepean-motor-group","nissan","north-jacklin-motor-group","penfold","peninsula-dealer-group","peter-stevens-motorworld","peter-warren","peugeot","polaris","q-automotive","ram","reef-city-motors","renault","rockingham-auto","rosewarnes-kadina","servco-pre-owned","skoda","ssangyong","stewart-automotive-group","subaru","suzuki","suzuki-australia","sydney-south-automotive","sydney-north-shore-automotive","the-lane-group","toyota","trans-eurokars","tynan-motors","volkswagen","werribee-western-automotive-group","west-point-autos","western-automotive-group","westco-motors","wide-bay-motor-group","port-city-autos","formula-direct","whitsunday-auto-group","magnetic-motors","phoenix-motors","pickering-automotive-group","far-west-auto","keema-automotive-group","west-orange-motors","jefferson-automotive-group"].includes(a.cy.template),r.PS6},14819:function(t,e,o){o.d(e,{Rn:function(){return u},lb:function(){return i}});var a=o(83346),r=o(96964);o(80666);var n=o(40986);let i=t=&gt;n.e0.find(e=&gt;{let[,o]=e;return o===t})[0];async function u(t){return await (0,r.sY)({...t,indexUid:a.Bq,facets:n.Y8})}},80097:function(t,e,o){o.d(e,{tF:function(){return r}}),o(37496),o(24788),o(83346),o(96964),o(80666);var a=o(40986);let r=t=&gt;a.V5.find(e=&gt;{let[,o]=e;return o===t})[0]},85005:function(t,e,o){o.d(e,{nz:function(){return r}}),o(83346),o(96964),o(80666);var a=o(40986);let r=t=&gt;a.b$.find(e=&gt;{let[,o]=e;return o===t})[0]},80666:function(t,e,o){o.d(e,{qb:function(){return c},wD:function(){return s}}),o(37496);var a=o(14819),r=o(39870),n=o(83346);o(41132),o(94605);var i=o(80097),u=o(85005);o(40986);let s=t=&gt;(0,r.XB)(n.lL.includes(t)?"".concat(t,"-cars"):(null==t?void 0:t.includes(":"))?t.split(":")[1].trim():t),c=(t,e)=&gt;{switch(e){case"offer":return(0,i.tF)(t);case"car":return(0,a.lb)(t);case"part":return(0,u.nz)(t);default:throw Error("Invalid search type: ".concat(e))}}},40986:function(t,e,o){o.d(e,{Ay:function(){return n},V5:function(){return c},Y8:function(){return i},b$:function(){return d},e0:function(){return u}});var a=o(41132);let r={status:"status",badge:"badge",car_type:"car_type",categories:"categories",city:"city",colour:"colour",dealership_name:"dealership_name",filtered_features:"filtered_features",item_type:"item_type",km:"km",location_name:"location_name",make:"make",make_model:"make_model",model:"model",price:"price",price_range:"price_range",subscription_price:"subscription_price",seats:"seats",simple_body:"body",simple_drive:"drive",simple_fuel:"fuel",simple_transmission:"transmission",state:"state",tag:"tag",weekly_price_range:"weekly_price_range",year:"year"},n=[["car_type"],["dealership_name"],["city","make"],["city"],["location_name","make"],["location_name"],["make","make_model"],["make"],["body"],["drive"],["fuel"]],i=(0,a.RR)(r),u=(0,a.Cg)(r),s={"manufacturer.name":"make","model.name":"model","model.body":"body"};(0,a.RR)(s);let c=(0,a.Cg)(s),l={categories:"categories",price:"price"};(0,a.RR)(l);let d=(0,a.Cg)(l);[...(0,a.KX)(r)]},65902:function(t,e,o){o.d(e,{Z:function(){return a.Z}});var a=o(16172)},96964:function(t,e,o){o.d(e,{A:function(){return l},HQ:function(){return d},VX:function(){return f},bX:function(){return h},sY:function(){return m}});var a=o(37496),r=o(69741),n=o(14819),i=o(40986),u=o(83346),s=o(41132);"".concat(u.Bq,":").concat("created_at_timestamp:desc");let c=(0,s.S)(["(".concat(a.default.search_filters,")"),"(status=in_stock OR status=coming_soon OR sold_date_timestamp&gt;".concat(new Date(Date.now()-2592e5).getTime()/1e3,") AND show_on_dealer_website:true"),(0,s.e2)(null===a.default||void 0===a.default?void 0:a.default.manufacturer)].filter(t=&gt;t).join(" AND ")),l={Authorization:"Bearer ".concat(u.AK),"Content-Type":"application/json"};u.BW;let d="".concat(u.gk,"multi-search");async function m(t){let{filters:e={},facetKeys:o=[],query:a="",limit:n=100,offset:i=0,sort:u=[],search_filters:c,indexUid:m,facets:h,customUrl:f,customHeaders:g}=t,p=[],y=o.length&gt;0?o:(0,r.R)(e);y.forEach(t=&gt;{let o=e[t];if("string"==typeof o)p.push("".concat(t,'="').concat(o,'"'));else if(Array.isArray(o)){let e=[];o.forEach(o=&gt;{o.includes("&lt;")||o.includes("&gt;")?p.push(o):e.push("".concat(t,'="').concat(o,'"'))}),e.length&gt;0&amp;&amp;p.push(e)}}),c&amp;&amp;p.push(c);let _={indexUid:m,facets:h,attributesToHighlight:["*"],highlightPreTag:"&lt;ais-highlight-0000000000&gt;",highlightPostTag:"&lt;/ais-highlight-0000000000&gt;",limit:n,offset:i,filter:p,sort:u.length&gt;0?u:[],q:a},v=y.map(t=&gt;({..._,limit:1,offset:0,facets:[t],filter:p.filter(e=&gt;{var o;return e===c||("string"==typeof e?!(null==e?void 0:e.includes(t)):!(null===(o=e[0])||void 0===o?void 0:o.includes(t)))})})),b={queries:[_,...v]},w=await fetch(null!=f?f:d,{method:"POST",headers:null!=g?g:l,body:JSON.stringify(b)});return await (0,s.pd)(w)}async function h(){let t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:c,e="".concat(u.gk,"multi-search"),o={queries:[{indexUid:"Car_production",facets:i.Y8,attributesToHighlight:["*"],highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__",filter:[t],limit:1,sort:[]}]},a=await fetch(e,{method:"POST",headers:l,body:JSON.stringify(o)});return await (0,s.pd)(a)}let f=async t=&gt;{var e;let o=await (0,n.Rn)({search_filters:a.default.search_filters+" AND id=".concat(t),limit:1});return(null==o?void 0:o.results)?null==o?void 0:null===(e=o.results[0])||void 0===e?void 0:e.hits[0]:null}},86747:function(t,e,o){o.d(e,{Fh:function(){return g},PD:function(){return h},PN:function(){return m},st:function(){return f}});var a=o(83346),r=o(41132),n=o(83454),i=o(48764).lW;let u="https://dashboard.dealerstudio.com.au",s=u;n.env.STAGING&amp;&amp;(s="https://td-staging-c47de4ebb528.herokuapp.com");let c=i.from("".concat("totaldealer",":").concat("t12dsf90jsd4")).toString("base64"),l={Authorization:"Basic ".concat(c)};async function d(t,e){let o=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2],a=o?u:s,n=await fetch("".concat(a,"/").concat(t),{headers:l,next:e});return await (0,r.pd)(n)}let m=async function(t){let e=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];return e?await d("manufacturers/".concat(t,".json")):await d("manufacturers/".concat(t,".json?website_id=").concat(a.cy.id),{tags:["manufacturer-".concat(t)]},!0)},h=async t=&gt;await d("models/".concat(t,".json?website_id=").concat(a.cy.id),{tags:["model-".concat(t)]},!0),f=async()=&gt;await d("websites/".concat(a.cy.id,"/search_pages.json")),g=async()=&gt;await d("websites/".concat(a.cy.id,"/promotions.json?version=2"))}}]);</pre></body></html>