import{h as F,_ as y}from"./moment.4df9687d.js";import{_ as E}from"./Author.aae1330e.js";import{_ as I,p as k,r as h,w as f,u as j,c as d,a as s,t as i,e,b as n,j as M,F as C,f as D,l as v,g as L,h as T,o as _,n as B,q as R,s as A}from"./entry.126c240b.js";import{_ as P}from"./share.3283c0b5.js";const r=l=>(R("data-v-45f7d3dc"),l=l(),A(),l),S={class:"animate-fade w-full"},U={class:"bg-white uhjk py-6 mt-6 w-[90%] mx-auto rounded-xl my-12",style:{border:"1.4px solid #EFEFEF"}},Y={class:"sm:flex items-center justify-between w-full pb-4",style:{"border-bottom":"1px solid #EFEFEF"}},$={class:"sm:w-3/4 w-full"},H={class:"font-bold"},N={class:"huj flex flex-none items-center"},V={class:"ml-1 font-semibold text-[#111111] cursor-pointer"},q={class:"grid grid-cols-1 sm:grid-cols-3 mt-[1rem] gap-y-6 sm:gap-10"},z={class:"col-span-1"},G={class:"w-full mt-8"},J={class:"col-span-2 rounded-2xl relative p-2 sm:p-6"},K={style:{"border-bottom":"1.5px solid #EFEFEF"},class:"pb-4"},O={class:"flex items-center justify-between"},Q={class:"font-semibold"},W=r(()=>s("div",{class:"text-lg text-[#111111] tracking-widest"},"Informasi Mahasiswa",-1)),X={class:"text-base text-[#111111] flex items-center"},Z={class:"ml-1"},ss={class:"cursor-pointer rounded-full"},ts=r(()=>s("img",{class:"w-[28px]",src:P},null,-1)),es=[ts],os=["innerHTML"],is={class:"bg-white uhjk py-6 mt-6 w-[90%] mx-auto rounded-xl my-12",style:{border:"1.4px solid #EFEFEF"}},as=r(()=>s("div",{class:"sm:flex items-center justify-between w-full pb-4",style:{"border-bottom":"1px solid #EFEFEF"}},[s("div",null,[s("h1",{class:"font-bold"},"Informasi Mahasiswa Terbaru")])],-1)),ns={class:"grid grid-cols-1 sm:grid-cols-2 mt-[2rem] gap-6"},ls={style:{border:"1px solid #EFEFEF"},class:"sm:flex items-center rounded-xl p-4"},cs={class:"flex-none"},ds={class:"sm:px-6 ui"},_s=r(()=>s("div",{class:"uppercase tracking-widest font-semibold text-[#2E8586]"},[s("span",null,"Informasi Mahasiswa")],-1)),rs=["onClick"],ms={class:"mt-1 text-[#7F7F7F] line-clamp-2"},ps={class:"mt-5 flex items-center justify-between"},us={class:"flex items-center"},hs={class:"flex-0 mr-2"},fs={class:"flex-1"},vs={class:"text-base font-medium"},xs={__name:"[id]",async setup(l){let t,c;const x=k().currentRoute.value.params.id,o=h({}),p=h([]);return o.value=([t,c]=f(()=>$fetch(v().public.API_PUBLIC_URL+`/api/informasi-mahasiswa/slug/${x}`)),t=await t,c(),t),p.value=([t,c]=f(()=>$fetch(v().public.API_PUBLIC_URL+"/api/informasi-mahasiswa?limit=4")),t=await t,c(),t).data,j({title:o.value.title}),(u,ws)=>{const b=y,m=L("v-img"),w=E,g=T("ripple");return _(),d("div",S,[s("div",U,[s("div",Y,[s("div",$,[s("h1",H,i(e(o).title),1)]),s("div",N,[n(b),s("div",V,i(e(F)(e(o).created_at).format("DD MMM YYYY")),1)])]),s("div",q,[s("div",z,[s("div",G,[n(m,{class:"rounded-xl",cover:"",src:e(o).thumbnail,width:"100%"},null,8,["src"])])]),s("div",J,[s("div",K,[s("div",O,[s("div",Q,[W,s("div",X,[n(w),s("div",Z,"Ditulis oleh "+i(e(o).name),1)])]),M((_(),d("div",ss,es)),[[g]])])]),s("div",{class:"mt-4 text-lg",innerHTML:e(o).content},null,8,os)])])]),s("div",is,[as,s("div",ns,[(_(!0),d(C,null,D(e(p),a=>(_(),d("div",ls,[s("div",cs,[n(m,{cover:"",src:a.thumbnail,class:"rounded-xl w-full sm:w-[160px] h-[160px]"},null,8,["src"])]),s("div",ds,[_s,s("div",{class:"text-2xl font-semibold line-clamp-2 cursor-pointer",onClick:gs=>("navigateTo"in u?u.navigateTo:e(B))("/informasi-mahasiswa/"+a.slug)},[s("span",null,i(a.title),1)],8,rs),s("div",ms,[s("span",null,i(a.description),1)]),s("div",ps,[s("div",us,[s("div",hs,[n(m,{src:"/avatar.png",width:"30"})]),s("div",fs,[s("div",vs,[s("span",null,i(a.created_by),1)])])])])])]))),256))])])])}}},ks=I(xs,[["__scopeId","data-v-45f7d3dc"]]);export{ks as default};
