PageSourceSearch

https://jamaat.org/_next/static/chunks/130.a4fe830d2b623548.js

js jamaat.org collected 2026-10-02 07:26:17 UTC 5,142 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[130],{10130:(e,a,t)=>{t.r(a),t.d(a,{PostsSlider:()=>l});var r=t(95155),i=t(16429);function l(e){return(0,r.jsx)(i.a,{...e,config:{...e.config,variant:"carousel"}})}},16429:(e,a,t)=>{t.d(a,{a:()=>u});var r=t(95155),i=t(49050),l=t(52619),s=t.n(l),n=t(15239),o=t(16485),c=t(52987),d=t(87531),m=t(89792),p=t(45921),x=t(98726),h=t(22619);function u(e){var a,t,l,u;let{config:y,locale:g,direction:v,sectionId:w,posts:b}=e,f=!!(null==y?void 0:y.disableAutoFetch),j="rtl"===v,N=null!=(u=y.category)?u:null==(a=y.customData)?void 0:a.category,k=y.limit||6,A=!f,{data:V}=(0,x.j6M)(A&&N?{category:N,limit:N?k>0?k:50:k}:void 0,{enabled:A}),P=Array.isArray(V)?V:(null==V?void 0:V.data)&&Array.isArray(V.data)?V.data:[],I=N?f?null!=b?b:[]:P:null!=b?b:P,C=y.variant||"grid",D=y.title?j?y.title.ur:y.title.en:j?"تازہ ترین خبریں":"Latest News",M=y.subtitle?j?y.subtitle.ur:y.subtitle.en:j?"جماعت اسلامی کی تازہ ترین خبریں اور اعلانات":"Latest news and announcements from Jamaat-e-Islami",_=I.sort((e,a)=>new Date(a.createdAt).getTime()-new Date(e.createdAt).getTime()).slice(0,N?void 0:k);return 0===_.length?null:(0,r.jsxs)("section",{id:w,className:"py-20 md:py-32 bg-white relative overflow-hidden",style:{backgroundColor:y.backgroundColor||"#ffffff"},children:[(0,r.jsx)("div",{className:"absolute inset-0 opacity-[0.02] pointer-events-none",style:{backgroundImage:"radial-gradient(circle, #000 1px, transparent 1px)",backgroundSize:"32px 32px"}}),(0,r.jsxs)("div",{className:"relative container mx-auto px-4 md:px-6 lg:px-8",children:[(0,r.jsxs)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[(0,r.jsx)("h2",{className:(0,h.R_)(j,"sectionTitle",j?"mb-2":"mb-4"),children:D}),(0,r.jsx)("p",{className:(0,h.aV)(j,"text-gray-600 max-w-2xl mx-auto text-lg"),children:M}),(0,r.jsx)(i.P.div,{initial:{width:0},whileInView:{width:"4rem"},viewport:{once:!0},transition:{duration:.8,delay:.3},className:"h-0.5 bg-emerald-primary mx-auto mt-4"})]}),(0,r.jsx)("div",{className:(0,d.cn)("list"===C?"space-y-6":"carousel"===C?"flex gap-6 overflow-x-auto snap-x snap-mandatory scrollbar-hide pb-4":"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"),children:_.map((e,a)=>{var t;return(0,r.jsx)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*a},className:(0,d.cn)("carousel"===C&&"shrink-0 w-80 snap-start"),children:(0,r.jsxs)(s(),{href:(0,m.J)(e.slug,e.category,g),className:"block bg-white rounded-[5px] overflow-hidden shadow-sm border border-gray-200 hover:shadow-lg hover:border-emerald-200 transition-all duration-300 group h-full",children:[(null==(t=e.media)?void 0:t.url)&&(0,r.jsx)("div",{className:"relative aspect-video overflow-hidden bg-gray-100",children:(0,r.jsx)(n.default,{src:e.media.url,alt:e.title,fill:!0,className:"object-cover group-hover:scale-105 transition-transform duration-300",sizes:"(max-width: 768px) 100vw, 320px"})}),(0,r.jsxs)("div",{className:"p-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[e.category&&(0,r.jsx)("span",{className:"px-3 py-1 bg-emerald-primary/10 text-emerald-dark rounded-full text-xs font-medium",children:e.category}),(0,r.jsxs)("span",{className:"flex items-center gap-1 text-sm text-gray-500",children:[(0,r.jsx)(o.A,{className:"w-4 h-4"}),new Date(e.createdAt).toLocaleDateString(j?"ur-PK":"en-US",{year:"numeric",month:"short",day:"numeric"})]})]}),(0,r.jsx)("h3",{...(0,p.mr)(e.slug),className:(0,h.aV)(j,"text-lg font-semibold text-gray-900 group-hover:text-emerald-primary transition-colors mb-2 line-clamp-2"),children:e.title}),e.tagline&&(0,r.jsx)("p",{className:(0,h.aV)(j,"text-gray-500 text-sm line-clamp-2"),children:e.tagline}),(0,r.jsxs)("div",{className:"flex items-center gap-2 text-emerald-primary text-sm mt-4 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,r.jsx)("span",{className:(0,h.aV)(j),children:j?"مزید پڑھیÛ
1’":"Read More"}),(0,r.jsx)(c.A,{className:(0,d.cn)("w-4 h-4",j&&"rotate-180")})]})]})]})},e.id)})}),!1!==y.showCTA&&(0,r.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"text-center mt-12",children:(0,r.jsxs)(s(),{href:(null==(t=y.cta)?void 0:t.link)||"/".concat(g,"/posts"),className:(0,h.aV)(j,"inline-flex items-center gap-2 px-6 py-3 border-2 border-emerald-primary text-emerald-primary rounded-full font-medium","hover:bg-emerald-primary hover:text-white transition-all duration-300"),children:[(null==(l=y.cta)?void 0:l.text)?j?y.cta.text.ur:y.cta.text.en:j?"تمام پوسٹس دیکھیں":"View All Posts",(0,r.jsx)(c.A,{className:(0,d.cn)("w-4 h-4",j&&"rotate-180")})]})})]})]})}},16485:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(71847).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"}]])}}]);

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.