import{c as g,d as f,b as w,_ as x,s as b}from"./9wDxnFtt.js";import{_ as k}from"./CJ8CD_og.js";import{u as S}from"./DarFkT3I.js";import{u as y}from"./DqTv0isN.js";import{b as B,c as D,Y as c,_ as e,a0 as C,a1 as _,G as $,a6 as j,a4 as t,u as i,F as u,a2 as A,Z as r,a3 as L}from"./pvhYMo2c.js";const N={style:{"min-height":"100vh"}},V={class:"main-container"},z={class:"row-container"},E={class:"container"},F={class:"text-page"},I={class:"breadline","aria-label":"Breadcrumb"},K={"aria-current":"page"},M={class:"title mobileHead"},G={class:"img-container w-100"},H=["src","alt"],P={class:"layer"},R={class:"text-white text-capitalize"},T={class:"text-container"},Y={class:"mb-3 fs-5"},Z={class:"mb-5 service-description"},q={class:"features mb-5"},J={class:"mb-3 fs-5"},O={class:"items"},Q={__name:"[slug]",setup(U){const n=f();B(n.params.slug);const{locale:l}=w(),{setPageSeo:v}=y();let s=S();return D(()=>n.params.slug,async o=>{if(await s.getServiceBySlug(o),!s.service)throw b({statusCode:404,statusMessage:"Service not found"});v({title:l.value==="ar"?s.service?.title||"الخدمات - خليج أوتو":s.service?.title||"Services - Khalej Auto",description:l.value==="ar"?s.service?.description||"اكتشف خدمات خليج أوتو المتنوعة في مجال السيارات بالمملكة العربية السعودية":s.service?.description||"Discover Khalej Auto's diverse car services in Saudi Arabia",path:`/services/${n.params.slug}`})},{immediate:!0}),(o,a)=>{const h=x,m=k;return r(),c(u,null,[e("div",N,[a[2]||(a[2]=e("div",{class:"containe services-page"},null,-1)),e("div",V,[e("div",z,[e("div",E,[e("div",F,[e("nav",I,[$(h,{to:"/"},{default:j(()=>[L(t(o.$t("home")),1)]),_:1}),a[0]||(a[0]=e("svg",{class:"arrowDir",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},[e("path",{d:"M9.99998 13.28L5.65331 8.9333C5.13998 8.41997 5.13998 7.57997 5.65331 7.06664L9.99998 2.71997",stroke:"#A7B9D0","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",K,t(i(s).service?.title),1)]),e("div",null,[e("h1",M,t(i(s).service?.title),1),a[1]||(a[1]=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"3",viewBox:"0 0 50 3",fill:"none"},[e("rect",{x:"11.9048",width:"78.0952",height:"3.00022",rx:"1.50011",fill:"#2D9596"}),e("rect",{opacity:"0.9",width:"5.14286",height:"3.00022",rx:"1.50011",fill:"#2D9596"})],-1))])]),e("div",G,[i(s).service?.image?(r(),c("img",{key:0,src:i(s).service.image,alt:i(s).service?.title,class:"img-fluid w-100 h-100 rounded-3 object-fit-cover",loading:"lazy"},null,8,H)):_("",!0),e("div",P,[e("h2",R,t(i(s).service?.title),1)])]),e("div",T,[e("h2",Y,t(o.$t("description")),1),e("p",Z,t(i(s).service?.description),1),e("div",q,[e("h3",J,t(o.$t("features")),1),e("div",O,[(r(!0),c(u,null,A(i(s).service?.advantage,(d,p)=>(r(),c("div",{key:d,class:"item mb-2"},t(p+1)+" - "+t(d.title),1))),128))])])])])])])]),i(s).isLoading?(r(),C(m,{key:0})):_("",!0)],64)}}},ie=g(Q,[["__scopeId","data-v-3645eaa2"]]);export{ie as default};
