import{o as m,c as w,a,b as n,t as e,v as l,F as r,r as u,w as h,n as g,p as f,_ as y,E as b}from"./C_yW9YRN.js";const I={key:0,class:"project_card"},T={class:"project_card_content"},v={class:"project_details"},$={"data-wow-duration":"1.3s","data-wow-delay":"0s",class:"animated wow fadeInUp"},x={"data-wow-duration":"1.3s","data-wow-delay":"0.3s",class:"animated wow fadeInUp"},p={"data-wow-duration":"1.3s","data-wow-delay":"0.6s",class:"project__details animated wow fadeInUp"},U={class:"grid grid-cols-2 gap-8 mb-4"},j={"data-wow-duration":"1.3s","data-wow-delay":"0s",class:"animated wow fadeInUp"},k={"data-wow-duration":"1.3s","data-wow-delay":"0.3s",class:"animated wow fadeInUp"},z={"data-wow-duration":"1.3s","data-wow-delay":"0.6s",class:"col-span-2 md:col-span-1 animated wow fadeInUp"},S={"data-wow-duration":"1.3s","data-wow-delay":"0.9s",class:"animated wow fadeInUp"},E={class:"flex gap-2 items-center mt-1"},B={__name:"ProjectsCard",props:{item:{required:!0}},setup(t){return(s,o)=>{const i=y,c=b;return t.item?(m(),w("div",I,[a("div",T,[a("div",null,[n(i,{format:"webp",alt:t.item.name,src:t.item.image,"data-wow-duration":"1.3s","data-wow-delay":"0s",class:"max-h-[500px] object-contain aspect-[3/4] animated wow zoomIn",width:"500",height:"500",loading:"lazy",quality:"80",sizes:"350px sm:400px lg:500px"},null,8,["alt","src"])]),a("div",v,[a("h3",$,e(t.item.name),1),a("p",x,e(t.item.description),1),a("div",p,[a("div",U,[a("div",j,[a("h4",null,e(s.$t("TITLES.Downloads")),1),a("p",null,e(Math.abs(t.item.downloads)>999?Math.sign(t.item.downloads)*(Math.abs(t.item.downloads)/1e3).toFixed(1)+"k":t.item.downloads),1)]),a("div",k,[a("h4",null,e(s.$t("TITLES.Region")),1),a("p",null,[n(i,{format:"webp",alt:`Flag of ${t.item.location}`,src:t.item.flag,srcset:`${t.item.flag} 480w, ${t.item.flag} 1080w`,align:"center",loading:"lazy",width:"20",height:"20"},null,8,["alt","src","srcset"]),l(" "+e(t.item.location),1)])]),a("div",z,[a("h4",null,[l(e(s.$t("TITLES.Platforms")),1),o[0]||(o[0]=a("br",null,null,-1))]),a("p",null,e(t.item.platforms),1)]),a("div",S,[a("h4",null,[l(e(s.$t("TITLES.technology")),1),o[1]||(o[1]=a("br",null,null,-1))]),a("div",E,[(m(!0),w(r,null,u(t.item.tools,d=>(m(),w("p",{"data-wow-duration":"1.3s","data-wow-delay":"0s",class:"animated wow shakeX bounceIn",key:d.id},[n(i,{format:"webp",alt:d.alt_image,src:d.image,align:"center",loading:"lazy",class:"object-contain",width:"24",height:"24",sizes:"24px"},null,8,["alt","src"])]))),128))])])]),n(c,{class:"mt-11 flex items-center text-primary font-medium text-lg gap-2","aria-label":s.$t("BUTTONS.moreAbout",{name:t.item.name}),to:s.localePath(`/portfolio/${t.item.slug}`)},{default:h(()=>[l(e(s.$t("BUTTONS.moreAbout",{name:t.item.name}))+" ",1),a("i",{class:g(["fas",s.$i18n.locale=="en"?" fa-arrow-right":"fa-arrow-left"])},null,2)]),_:1},8,["aria-label","to"])])])])])):f("",!0)}}};export{B as _};
