1"use strict";(self.webpackChunkcarcity=self.webpackChunkcarcity||[]).push([[667],{4667:(l,t,e)=>{e.r(t),e.d(t,{default:()=>f});var i=e(8253),a={class:"tab-small:pr-0"},s={class:"mb-10 HD:mb-14 flex flex-col 2K:px-[489px] full-HD:px-[139px] tab-small:px-[60px] pl-[24px] pr-0"},r=(0,i._)("h2",{class:"text-lg font-bold uppercase 2K:text-6xl full-HD:text-4xl tab-small:text-3xl"},"Available trims",-1),n={class:"flex mt-10 overflow-x-auto capitalize border-b no-scrollbar 2K:mt-14 full-HD:mt-12 border-border-color"},o=["onClick"],u={key:0,class:"flex flex-col-reverse 2K:mt-28 tab-small:mt-20 mt-14 tab-small:justify-between tab-small:flex-row"},c={class:"grow left-padding right-padding tab-small:pr-0"},x={class:"font-bold capitalize text-m tab-small:text-3xl"},v={key:0,class:"flex flex-col gap-6 mt-6"},d={key:1,class:"mt-6 mb-12 font-medium text-gray-900 text-s tab-small:text-m"},m=["href"],p={key:0,class:"grow-0 2K:h-[800px] 2K:w-[1250px] full-HD:h-[448px] full-HD:w-[762px] HD:h-[340px] HD:w-[497px] tab-small:w-[340px] tab-small:h-[340px] w-full h-[214px] tab-small:mb-0 mb-16"},b=["srcSet"];const f=(0,i.aZ)({__name:"AvailableTrims",props:{trims:{}},setup:function(l){var t=(0,i.iH)(null);(0,i.bv)((function(){t.value=(null==e?void 0:e.length)?e[0]:null}));var e=l.trims;return function(l,e){var f,g,w,h,k,y,D,_,S=(0,i.up)("the-button");return(0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",s,[r,(0,i._)("div",n,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(l.trims,(function(l){var e;return(0,i.wg)(),(0,i.iD)("div",{onClick:function(e){return i=l,void(t.value=i);var i},key:null==l?void 0:l.slug,class:(0,i.C_)(["flex-shrink-0 inline-block px-4 pb-2 cursor-pointer text-s tab-small:text-base text-grey/600",{"text-gray-900 font-bold border-b border-gray-900":(null==l?void 0:l.slug)===(null===(e=(0,i.SU)(t))||void 0===e?void 0:e.slug)}])},(0,i.zw)(null==l?void 0:l.name),11,o)})),128))])]),(0,i.SU)(t)?((0,i.wg)(),(0,i.iD)("div",u,[(0,i._)("div",c,[(0,i._)("h3",x,(0,i.zw)(null===(f=(0,i.SU)(t))||void 0===f?void 0:f.name),1),(null===(w=null===(g=(0,i.SU)(t))||void 0===g?void 0:g.highlights)||void 0===w?void 0:w.length)?((0,i.wg)(),(0,i.iD)("div",v,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(null===(h=(0,i.SU)(t))||void 0===h?void 0:h.highlights,(function(l,t){var e=l.highlight;return(0,i.wg)(),(0,i.iD)("p",{class:"text-xs font-normal text-gray-700 tab-small:text-base",key:t},"⢠"+(0,i.zw)(e),1)})),128))])):(0,i.kq)("",!0),(null===(k=(0,i.SU)(t))||void 0===k?void 0:k.starting_price)?((0,i.wg)(),(0,i.iD)("p",d,"Starting price $"+(0,i.zw)(null===(y=(0,i.SU)(t))||void 0===y?void 0:y.starting_price.toLocaleString("en-US")),1)):(0,i.kq)("",!0),(0,i._)("a",{href:(0,i.SU)(t).inventory_link,class:"flex justify-start w-full mt-5"},[(0,i.Wm)(S,{type:"primary",title:"View new cars"})],8,m)]),(null===(D=(0,i.SU)(t))||void 0===D?void 0:D.presentation_image_srcset)?((0,i.wg)(),(0,i.iD)("div",p,[(0,i._)("img",{srcSet:null===(_=(0,i.SU)(t))||void 0===_?void 0:_.presentation_image_srcset,alt:"",class:"object-cover w-full h-full"},null,8,b)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])}}})}}]);
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.