(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4087],{15197:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(90425).A)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]])},16399:(e,t,r)=>{Promise.resolve().then(r.bind(r,54788))},54788:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var a=r(95155),l=r(15197),i=r(57420),s=r(98500),o=r.n(s);function n({berita:e}){return(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(e=>(0,a.jsxs)(o(),{href:`/berita/${e.id}`,className:"group bg-white/5 backdrop-blur-xl rounded-[2rem] overflow-hidden border border-white/10 shadow-[0_8px_32px_0_rgba(0,0,0,0.2)] hover:border-white/30 hover:shadow-[0_8px_40px_0_rgba(59,130,246,0.15)] transition-all duration-500 flex flex-col cursor-pointer",children:[e.imageUrl?(0,a.jsx)("div",{className:"aspect-[3/4] w-full overflow-hidden bg-black/20 relative",children:(0,a.jsx)("img",{src:e.imageUrl,alt:e.judul,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"})}):(0,a.jsx)("div",{className:"aspect-[3/4] w-full bg-black/20 flex items-center justify-center text-gray-600 relative overflow-hidden",children:(0,a.jsx)(l.A,{className:"w-12 h-12 stroke-[1.5] relative z-10"})}),(0,a.jsxs)("div",{className:"p-6 md:p-8 flex flex-col flex-1 relative",children:[(0,a.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-3/4 h-1/2 bg-blue-500/20 blur-[50px] rounded-full opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-400 mb-3 relative z-10",children:[(0,a.jsx)(i.A,{className:"w-3.5 h-3.5"}),new Date(e.createdAt).toLocaleDateString("id-ID",{day:"numeric",month:"long",year:"numeric"})]}),(0,a.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-white group-hover:text-transparent group-hover:bg-clip-text group-hover:bg-gradient-to-r group-hover:from-blue-400 group-hover:to-indigo-400 transition-all duration-300 mb-3 leading-tight line-clamp-2 relative z-10",children:e.judul}),(0,a.jsx)("p",{className:"text-gray-400 text-sm md:text-base leading-relaxed line-clamp-3 flex-1 relative z-10",children:e.narasi}),(0,a.jsx)("div",{className:"mt-6 pt-4 border-t border-white/10 text-right relative z-10",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 text-blue-400 font-semibold text-sm group-hover:translate-x-1 transition-transform",children:["Baca selengkapnya ",(0,a.jsx)("span",{className:"text-lg",children:"→"})]})})]})]},e.id))})}},57420:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(90425).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},90425:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(12115);let l=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,a.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:o="",children:n,iconNode:d,...c},h)=>(0,a.createElement)("svg",{ref:h,...s,width:t,height:t,stroke:e,strokeWidth:i?24*Number(r)/Number(t):r,className:l("lucide",o),...!n&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...d.map(([e,t])=>(0,a.createElement)(e,t)),...Array.isArray(n)?n:[n]])),n=(e,t)=>{let r=(0,a.forwardRef)(({className:r,...s},n)=>(0,a.createElement)(o,{ref:n,iconNode:t,className:l(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=i(e),r}}},e=>{e.O(0,[8500,8441,3794,7358],()=>e(e.s=16399)),_N_E=e.O()}]);