import{_ as $}from"./carCard-BmOv0Cuo.js";import{a as b,u as x,_ as C}from"../server.mjs";import{mergeProps as H,unref as i,withCtx as R,createVNode as S,toDisplayString as g,useSSRContext as w}from"vue";import{ssrRenderAttrs as P,ssrInterpolate as m,ssrRenderList as y,ssrRenderComponent as l}from"vue/server-renderer";import"./NuxtImg-CUgs9eQf.js";import"defu";import"h3";import"klona";import"#internal/nuxt/paths";import"./riyal-BwoU6xRW.js";import"./car-BMObURKw.js";import"pinia";import"ofetch";import"hookable";import"unctx";import"unhead";import"@unhead/shared";import"vue-router";import"radix3";import"cookie-es";import"destr";import"ohash";import"@vue/devtools-api";import"axios";const d={__name:"HomeCars",__ssrInlineRender:!0,setup(n){const r=b();let e=x();return(o,t,a,u)=>{const f=$,v=C;t(`<div${P(H({class:"cars-section-home"},u))}><div class="container"><div class="text"><h2 class="mobileHead">${m(o.$t("cars"))}</h2><p>${m(o.$t("car1"))}</p></div>`),i(e).carsHome?(t('<div class="row"><!--[-->'),y(i(e).carsHome.slice(0,4),(c,s)=>{t('<div class="col-12 col-xl-3 col-lg-4 col-md-6 mb-5">'),t(l(f,{item:c},null,a)),t("</div>")}),t("<!--]--></div>")):t("<!---->"),t('<div class="d-flex align-items-center justify-content-center">'),t(l(v,{"aria-label":"more",to:i(r)("/cars")},{default:R((c,s,I,_)=>{if(s)s(`<button class="more-btn"${_}>${m(o.$t("more"))}</button>`);else return[S("button",{class:"more-btn"},g(o.$t("more")),1)]}),_:1},a)),t("</div></div></div>")}}},p=d.setup;d.setup=(n,r)=>{const e=w();return(e.modules||(e.modules=new Set)).add("components/home/HomeCars.vue"),p?p(n,r):void 0};export{d as default};
