1import{x as F,aa as U,av as j,a7 as I,P as o,s,v as l,e as N,aw as r,c as V,u as m,$ as p,a0 as f,p as k,F as _,X as h,_ as E,r as M,o as y}from"./DQIkdDWl.js";const O={class:"relative px-[20px] lg:py-20 py-8 overflow-hidden"},$={class:"divide-y-2 divide-black"},L={class:"flex gap-6"},S=["href"],z=F({__name:"TheFollowUs",async setup(A){let a,d;const{locale:b}=U(),x=[{id:"instagram",icon:"simple-icons:instagram"},{id:"facebook",icon:"ri:facebook-fill"},{id:"youtube",icon:"simple-icons:youtube"},{id:"tiktok",icon:"simple-icons:tiktok"}],{data:u}=([a,d]=j(()=>I("/api/follow-us","$rObTY36gQ4")),a=await a,d(),a),g={en:"titleEn",th:"titleTh",id:"titleId",my:"titleMy",mm:"titleMm"},v=y(()=>{const t=g[b.value]??"titleEn";return u.value?.followUs?.[t]??""}),w=y(()=>{const t=u.value?.followUs;return t?Object.entries(t).filter(([,n])=>typeof n=="object").map(([,n])=>{const e=n;return{name:e.title,links:{instagram:e.instagram,facebook:e.facebook,youtube:e.youtube,tiktok:e.tiktok}}}):[]}),B=(t,n)=>!!t.links[n]?.trim();return(t,n)=>{const e=V,T=E,C=N;return o(),s("section",O,[l(C,null,{default:r(()=>[l(e,{variant:"h2",weight:"black",family:"condensed",class:"section-headline mb-12"},{default:r(()=>[m(p(f(v)),1)]),_:1}),k("div",$,[(o(!0),s(_,null,h(f(w),i=>(o(),s("div",{key:i.name,class:"flex justify-between items-center py-6 group transition-colors"},[l(e,{weight:"bold",variant:"h4",class:"tracking-widest uppercase text-brand-navy"},{default:r(()=>[m(p(i.name),1)]),_:2},1024),k("div",L,[(o(),s(_,null,h(x,c=>(o(),s(_,{key:c.id},[B(i,c.id)?(o(),s("a",{key:0,href:i.links[c.id],target:"_blank",rel:"noopener noreferrer",class:"text-black hover:text-brand-red transition-colors"},[l(T,{name:c.icon,size:"22"},null,8,["name"])],8,S)):M("",!0)],64))),64))])]))),128))])]),_:1})])}}}),K=Object.assign(z,{__name:"TheFollowUs"});export{K as _};
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.