1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69393,e=>{"use strict";var t=e.i(43476);let a="bg-[#E74C3C] text-[#F2F1E9]",l="bg-[#2F4E85] text-[#F2F1E9]",i="bg-[#C7901E] text-[#0E1219]",s="bg-[#4A4A4A] text-[#F2F1E9]",r="bg-[#E6A38F] text-[#0E1219]",o="bg-[#D9C3A5] text-[#0E1219]",n="bg-[#AEBFB9] text-[#0E1219]",d="bg-[#B9BF74] text-[#0E1219]",c="bg-[#111111] text-[#F2F1E9]",u="bg-[#417656] text-[#F2F1E9]",h="bg-[#B6546A] text-[#F2F1E9]",x="bg-[#D77F4C] text-[#0E1219]",m="bg-[#0E1219] text-[#F2F1E9]",p={breaking:a,"breaking-en":a,urgent:a,"political-economy":l,"politics-and-economy":l,news:l,"news-en":l,reports:l,"reports-en":l,studies:l,"studies-en":l,investigation:l,investigations:l,"investigations-en":l,guide:l,"guides-en":l,corrections:l,"correction-en":l,economy:l,technology:l,"sports-news":l,blue:l,social:i,lifestyle:i,sports:"bg-[#2E7D32] text-[#F2F1E9]",culture:"bg-[#9B1C31] text-[#F2F1E9]",propaganda:h,schizophrenia:h,antifreedom:h,laytaha:h,aaajmonthlydigest:h,middleeastheroes:h,ads:h,opinion:s,voices:s,qa:s,fatwa:s,test:s,"quizzes-en":s,nominations:s,caricature:o,comics:o,infographic:o,"visual-en":o,cartoon:o,video:"bg-[#6B7C93] text-[#F2F1E9]",voice:d,audio:d,podcast:d,articles:r,article:r,"social-media":n,social_media:n,"social media":n,socialmedia:n,profiles:u,countries:u,dictionary:u,encyclopedia:u,green:u,archive:x,store:x,contest:c,competition:c,issue:c,"vox-pop":c,voxpop:c,"street-voice":c,default:m,dark:m},f={sm:"px-1.5 py-0.5 text-[10px]",md:"px-2 py-0.5 text-[11px]",lg:"px-3 py-1 text-[12px]"};function g({variant:e,children:a,className:l="",size:i="md",onDismiss:s,onClick:r,active:o=!1}){let n=p[e?.toLowerCase().trim()||"default"]||p.default;return(0,t.jsxs)("span",{onClick:r,className:` 2 inline-flex items-center gap-1 font-bold rounded-xl 3 ${n} 4 ${f[i]} 5 ${o?"scale-[1.03] shadow-md":"opacity-80 hover:opacity-100 hover:scale-[1.02] transition-transform"} 6 cursor-pointer 7 transition-colors 8 ${l} 9 `,children:[s&&(0,t.jsx)("button",{type:"button",onClick:s,className:"rounded-full p-0.5 pb-1 hover:bg-black/20 transition-colors focus:outline-none focus:ring-2 focus:ring-white/50","aria-label":"Remove",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"w-3 h-3 md:w-3.5 md:h-3.5",children:[(0,t.jsx)("path",{d:"M18 6 6 18"}),(0,t.jsx)("path",{d:"m6 6 12 12"})]})}),(0,t.jsx)("span",{children:a})]})}e.s(["default",()=>g])},16127,e=>{"use strict";var t=e.i(43476),a=e.i(22016),l=e.i(61745),i=e.i(69393);function s(e){return e.trim().toLowerCase().replace(/_/g,"-").replace(/\s+/g," ")}let r=new Map;function o(e){let t=s(e);return r.get(t)||null}function n({article:e,className:s="",size:r="md",onNavigate:n}){(0,l.useLocale)();let d=[],c=new Set;if(e.contentType?.slug&&e.contentType?.title){let t=o(e.contentType.slug.trim()),a=t?.slug??e.contentType.slug.trim(),l=t?.variant??"default";c.has(a)||(d.push({slug:a,label:e.contentType.title,variant:l}),c.add(a))}return((e.tags||[]).forEach(e=>{let t=function(e){if("string"==typeof e){let t=e.trim();if(!t)return null;let a=o(t);return{slug:a?.slug??t,label:t,variant:a?.variant??"default"}}let t=(e.title||e.name||e.slug||"").trim(),a=(e.slug||t).trim();if(!a)return null;let l=o(a)??(t!==a?o(t):null);return{slug:l?.slug??a,label:t||a,variant:l?.variant??"default"}}(e);!t||c.has(t.slug)||(d.push(t),c.add(t.slug))}),d.length)?(0,t.jsx)("div",{className:`flex flex-wrap gap-2 ${s}`,children:d.map(e=>(0,t.jsx)(a.default,{href:`/tags?tag=${encodeURIComponent(e.slug)}`,onClick:e=>{e.stopPropagation(),n?.()},children:(0,t.jsx)(i.default,{variant:e.variant,size:r,className:"cursor-pointer",children:e.label})},e.slug))}):null}[{slug:"breaking",variant:"urgent",aliases:["urgent","breaking","عاجÙ"]},{slug:"politics-and-economy",variant:"politics-and-economy",aliases:["politics-and-economy","political-economy","politics","economy","news","reports","studies","investigation","investigations","guide","corrections","ØªØºØ·ÙØ© Ø¥Ø®Ø¨Ø§Ø±ÙØ©","ØªØºØ·ÙØ© Ø§Ø®Ø¨Ø§Ø±ÙØ©"]},{slug:"social",variant:"social",aliases:["social","lifestyle","ÙØ§Ù٠ستاÙÙ","اجت٠اعÙ"]},{slug:"opinion",variant:"opinion",aliases:["opinion","voices","qa","fatwa","رأÙ"]},{slug:"sports",variant:"sports",aliases:["sports","Ø±ÙØ§Ø¶Ø©"]},{slug:"culture",variant:"culture",aliases:["culture","Ø«ÙØ§ÙØ©"]},{slug:"articles",variant:"articles",aliases:["articles","article","Ù ÙØ§Ùات","أخبار ÙÙ ÙØ§Ùات"]},{slug:"caricature",variant:"caricature",aliases:["caricature","cartoon","comics","ÙØ§Ø±ÙÙØ§ØªÙر","ÙØ§Ø±ÙÙØ§ØªÙر Ù ÙØ±ØªÙÙ"]},{slug:"social-media",variant:"social-media",aliases:["social-media","social media","social_media","Ø¥Ø¹ÙØ§Ù اجت٠اعÙ","إعÙÙØ§Ù Ø§Ø¬ÙØªÙ٠اعÙÙ"]},{slug:"video",variant:"video",aliases:["video","video-article","ÙÙØ¯ÙÙ"]},{slug:"voice",variant:"voice",aliases:["voice","audio","podcast","ØµÙØªÙ"]},{slug:"contest",variant:"contest",aliases:["contest","competition","issue","vox-pop","voxpop","Ù Ø³Ø§Ø¨ÙØ©","Ù Ø³Ø£ÙØ©","ØµÙØª Ù Ù Ø§ÙØ´Ø§Ø±Ø¹"]},{slug:"ads",variant:"ads",aliases:["ads","Ø¥Ø¹ÙØ§Ùات"]},{slug:"archive",variant:"archive",aliases:["archive","أرشÙÙ Ø§ÙØØ¯ÙØ¯"]},{slug:"store",variant:"archive",aliases:["store","اÙÙ ØÙ"]},{slug:"laytaha",variant:"opinion",aliases:["laytaha","ÙÙØªÙا Ø§ÙØØ¯ÙØ¯"]},{slug:"MEGallery",variant:"culture",aliases:["megallery","me gallery","gallery","٠عرض"]},{slug:"test",variant:"contest",aliases:["test","quiz","اختبار"]}
9].forEach(e=>{r.set(s(e.slug),{slug:e.slug,variant:e.variant}),e.aliases.forEach(t=>{r.set(s(t),{slug:e.slug,variant:e.variant})})}),e.s(["default",()=>n],16127)},47163,e=>{"use strict";function t(e){return e?e.replace("https://cms.alhudood.net","/cms-media"):""}e.s(["getProxyUrl",()=>t])},94222,e=>{"use strict";function t(e=400,a=300,l="#f1f5f9"){let i=Math.round(a/e*20),s=btoa(` 10 <svg width="20" height="${i}" viewBox="0 0 20 ${i}" fill="none" xmlns="http://www.w3.org/2000/svg"> 11 <rect width="100%" height="100%" fill="${l}" /> 12 </svg> 13 `);return`data:image/svg+xml;base64,${s}`}let a={blur:function(e=10,t=10){let a=btoa(` 14 <svg width="${e}" height="${t}" viewBox="0 0 ${e} ${t}" fill="none" xmlns="http://www.w3.org/2000/svg"> 15 <rect width="100%" height="100%" fill="url(#gradient)" /> 16 <defs> 17 <linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="100%"> 18 <stop offset="0%" stop-color="#f3f4f6" /> 19 <stop offset="50%" stop-color="#e5e7eb" /> 20 <stop offset="100%" stop-color="#d1d5db" /> 21 </linearGradient> 22 </defs> 23 </svg> 24 `);return`data:image/svg+xml;base64,${a}`}(),article:t(400,225),avatar:t(100,100,"#e2e8f0"),hero:t(800,400),shimmer:function(e=10,t=10){let a=btoa(` 25 <svg width="${e}" height="${t}" viewBox="0 0 ${e} ${t}" fill="none" xmlns="http://www.w3.org/2000/svg"> 26 <rect width="100%" height="100%" fill="url(#shimmer)" /> 27 <defs> 28 <linearGradient id="shimmer" x1="0%" y1="0%" x2="100%" y2="0%"> 29 <stop offset="0%" stop-color="#f6f7f8" stop-opacity="1" /> 30 <stop offset="20%" stop-color="#edeef1" stop-opacity="1" /> 31 <stop offset="40%" stop-color="#f6f7f8" stop-opacity="1" /> 32 <stop offset="100%" stop-color="#f6f7f8" stop-opacity="1" /> 33 </linearGradient> 34 <animate attributeName="x1" values="0%;100%" dur="1s" repeatCount="indefinite" /> 35 <animate attributeName="x2" values="0%;100%" dur="1s" repeatCount="indefinite" /> 36 </defs> 37 </svg> 38 `);return`data:image/svg+xml;base64,${a}`}()};e.s(["imagePlaceholders",0,a])},85930,e=>{"use strict";var t=e.i(43476);e.s(["default",0,({className:e,width:a,height:l,direction:i,...s})=>(0,t.jsx)("svg",{className:e,width:a,height:l,viewBox:"0 0 16 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...s,children:i&&"right"===i?(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 32L0 0L16 16L0 32V32Z",fill:"currentColor"}):(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 0L16 32L0 16L16 0Z",fill:"currentColor"})})])},31466,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(57688),i=e.i(47163);function s({videoUrl:e,posterUrl:s,posterAlt:r,blurDataURL:o}){let[n,d]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1);return n?(0,t.jsx)("div",{className:"w-full overflow-hidden rounded-lg",children:(0,t.jsx)("video",{src:e,poster:s?(0,i.getProxyUrl)(s):void 0,controls:!0,autoPlay:!0,playsInline:!0,preload:"metadata",className:"block h-auto max-h-screen w-auto max-w-full mx-auto"})}):s&&!c?(0,t.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"group relative w-full block overflow-hidden rounded-lg bg-black","aria-label":"Play video",children:[(0,t.jsx)(l.default,{src:(0,i.getProxyUrl)(s),alt:r,width:1280,height:720,sizes:"(max-width: 768px) 100vw, 768px",style:{width:"100%",height:"auto"},className:"block max-h-[85vh]",onError:()=>u(!0)}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/25 transition-opacity group-hover:bg-black/35",children:(0,t.jsx)("span",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-white/90 text-alhudood-dark shadow-lg",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M5 3L15 9L5 15V3Z",fill:"currentColor"})})})}),(0,t.jsxs)("div",{className:"absolute top-3 right-3 z-10 flex items-center gap-1 rounded-full bg-black/65 px-3 py-1 text-white",children:[(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M5 3L15 9L5 15V3Z",fill:"currentColor"})}),(0,t.jsx)("span",{className:"text-sm",children:"ÙÙØ¯ÙÙ"})]})]}):(0,t.jsx)("button",{type:"button",onClick:()=>d(!0),className:"relative mx-auto flex aspect-video w-full items-center justify-center overflow-hidden rounded-lg bg-black","aria-label":"Play video",children:(0,t.jsx)("span",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-white/90 text-alhudood-dark shadow-lg",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M5 3L15 9L5 15V3Z",fill:"currentColor"})})})})}e.s(["default",()=>s])},11196,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(18566),i=e.i(69393);let s=({children:e,isHeader:a=!1,disableHover:l=!1,onClick:i})=>(0,t.jsx)("div",{className:`p-2 cursor-pointer 39 ${a?"font-muna text-lg text-alhudood-dark my-2 text-center":l?"font-alhudood text-sm text-foreground":"font-alhudood text-sm text-foreground hover:bg-alhudood-dark hover:text-alhudood-cream"}`,onClick:i,children:e});e.s(["default",0,({triggerLabel:e,layout:r="columns",items:o,data:n,className:d,queryParam:c})=>{let[u,h]=(0,a.useState)(!1),[x,m]=(0,a.useTransition)(),p=(0,a.useRef)(null),f=(0,l.useRouter)(),g=(0,l.usePathname)(),v=(0,l.useSearchParams)();(0,a.useEffect)(()=>()=>{p.current&&clearTimeout(p.current)},[]);let w=e=>{if(!c)return;let t=new URLSearchParams(v.toString());t.get(c)===e?t.delete(c):t.set(c,e),h(!1);let a=t.toString();m(()=>{f.push(a?`${g}?${a}`:g)})},b=e=>{var a;let l=(a=e.id,!!c&&v.get(c)===a);return e.variant?(0,t.jsx)("div",{className:"flex justify-center w-full px-8 whitespace-nowrap",children:(0,t.jsx)(i.default,{variant:e.variant,size:"md",className:"whitespace-nowrap",active:l,children:e.label})}):(0,t.jsx)("div",{className:`text-center text-md whitespace-nowrap px-12 py-3 ${l?"font-bold text-alhudood-dark":""}`,children:(0,t.jsx)("span",{children:e.label})})},y="list"===r?o?o.map(e=>(0,t.jsx)(s,{disableHover:!!e.variant,onClick:()=>w(e.id),children:b(e)}
39,e.id)):null:n?n.map((e,a)=>(0,t.jsxs)("div",{children:[(0,t.jsx)(s,{isHeader:!0,children:e.header}),e.items.map(e=>(0,t.jsx)(s,{disableHover:!!e.variant,onClick:()=>w(e.id),children:b(e)},e.id))]},a)):null;return(0,t.jsxs)("div",{className:"relative inline-block",onMouseEnter:()=>{p.current&&(clearTimeout(p.current),p.current=null),h(!0)},onMouseLeave:()=>{p.current=setTimeout(()=>{h(!1)},150)},children:[(0,t.jsxs)("button",{disabled:x,className:`inline-flex justify-between items-center gap-6 w-auto px-4 py-2 bg-transparent text-xl font-muna text-alhudood-dark 40 focus:outline-none cursor-pointer rounded-md ${x?"opacity-70 pointer-events-none":""} ${d??""}`,onClick:()=>{p.current&&clearTimeout(p.current),h(!u)},children:[(0,t.jsx)("svg",{className:`-ml-1 mr-2 h-3 w-3 transition-transform duration-300 ${u?"transform rotate-0":"transform rotate-180"}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 15",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M7.5385,2C7.2437,2,7.0502,2.1772,6.9231,2.3846l-5.8462,9.5385C1,12,1,12.1538,1,12.3077C1,12.8462,1.3846,13,1.6923,13h11.6154C13.6923,13,14,12.8462,14,12.3077c0-0.1538,0-0.2308-0.0769-0.3846L8.1538,2.3846C8.028,2.1765,7.7882,2,7.5385,2z"})}),e]}),u&&(0,t.jsx)("div",{className:"md:origin-top-right absolute z-dropdown mt-2 mx-auto md:mx-0 rounded-md shadow-2xl bg-alhudood-cream/90 text-foreground ring-1 ring-black ring-opacity-5 focus:outline-none transform animate-slide-up z-9999",role:"menu","aria-orientation":"vertical","aria-labelledby":"menu-button",tabIndex:-1,style:{right:0},children:(0,t.jsx)("div",{className:`${"list"===r?"min-w-48":"flex"} border border-alhudood-dark`,role:"none",children:y})})]})}])},19806,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(57688),i=e.i(22016),s=e.i(16127),r=e.i(94222),o=e.i(47163);function n({article:e,showExcerpt:a=!0,variant:n="default",onClick:d,stretch:c=!1}){let u=e.featuredImage?.url,h=`/${e.id}`;if("image-only"===n&&!u)return null;let x=(0,t.jsxs)("article",{className:`flex ${"default"===n?`gap-3${c?" h-full":""}`:"with-text"===n?"flex-col h-full":"h-full w-full"}`,children:[(0,t.jsxs)("div",{className:`relative flex-shrink-0 overflow-hidden bg-alhudood-dark/10 41 ${"default"===n?`${c?"h-full aspect-square":"w-20 lg:w-24 aspect-square"}`:"w-full aspect-square"} 42 `,children:["default"!==n||d?u?(0,t.jsx)(l.default,{src:(0,o.getProxyUrl)(u),alt:e.featuredImage?.alt||e.title,fill:!0,sizes:"default"===n?"128px":"(max-width: 768px) 33vw, 25vw",quality:65,placeholder:"blur",className:"object-cover transition-transform duration-300 group-hover:scale-105",blurDataURL:r.imagePlaceholders.article,referrerPolicy:"no-referrer"}):(0,t.jsx)("div",{className:"w-full h-full bg-alhudood-dark/10"}):(0,t.jsx)(i.default,{href:h,className:"block w-full h-full",children:u?(0,t.jsx)(l.default,{src:(0,o.getProxyUrl)(u),alt:e.featuredImage?.alt||e.title,fill:!0,sizes:c?"(max-width: 768px) 50vw, 25vw":"(max-width: 1024px) 96px, 128px",quality:65,placeholder:"blur",className:"object-cover rounded-sm transition-transform duration-300",blurDataURL:r.imagePlaceholders.article,referrerPolicy:"no-referrer"}):(0,t.jsx)("div",{className:"w-full h-full bg-gray-200 flex items-center justify-center text-gray-400 text-xs"})}),("image-only"===n||"with-text"===n)&&u&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors"})]}),"default"===n&&(0,t.jsxs)("div",{className:"flex-1 flex flex-col justify-between",children:[d?(0,t.jsx)("h3",{className:"text-md line-clamp-3 leading-relaxed font-bold text-alhudood-dark group-hover:text-primary transition-colors",children:e.title}):(0,t.jsx)(i.default,{href:h,className:"group",children:(0,t.jsx)("h3",{className:"text-sm lg:text-base xl:text-[17px] font-normal leading-[22px] line-clamp-2 text-alhudood-dark group-hover:text-primary transition-colors",children:e.title})}),a&&e.excerpt&&(0,t.jsx)("p",{className:"text-xs text-alhudood-dark/60 line-clamp-1 mt-1",children:e.excerpt}),(0,t.jsx)(s.default,{article:e,className:"gap-1.5",size:"md"})]}),"with-text"===n&&(0,t.jsxs)("div",{className:"flex-1 flex flex-col gap-1.5 pt-2",children:[d?(0,t.jsx)("h3",{className:"text-[13px] sm:text-sm md:text-lg font-bold text-alhudood-dark line-clamp-3 leading-relaxed group-hover:text-primary transition-colors",children:e.title}):(0,t.jsx)(i.default,{href:h,className:"group",children:(0,t.jsx)("h3",{className:"text-base md:text-lg font-bold text-alhudood-dark line-clamp-3 leading-relaxed group-hover:text-primary transition-colors",children:e.title})}),a&&e.excerpt&&(0,t.jsx)("p",{className:"text-base md:text-lg text-alhudood-dark/60 line-clamp-2 leading-snug",children:e.excerpt})]})]});return d?(0,t.jsx)("div",{onClick:d,className:"block group cursor-pointer",role:"button",tabIndex:0,children:x}):"default"===n?(0,t.jsx)("div",{className:`block group${c?" h-full":""}`,children:x}):"with-text"===n?(0,t.jsx)("div",{className:"block group",children:x}):(0,t.jsx)(i.default,{href:h,className:"block group",children:x})}var d=e.i(85930),c=e.i(31466);function u({articles:e,initialIndex:i=0,isOpen:n,onClose:u}){let[h,x]=(0,a.useState)({initialIndex:i,currentIndex:i}),[m,p]=(0,a.useState)(null),f=h.initialIndex===i?h.currentIndex:i;(0,a.useEffect)(()=>
42{if(!n)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[n]);let g=(0,a.useRef)(u),v=(0,a.useRef)(e),w=(0,a.useRef)(i);if((0,a.useEffect)(()=>{g.current=u,v.current=e,w.current=i}),(0,a.useEffect)(()=>{if(!n)return;let e=v.current[w.current];if(!e)return;let t={current:!0};window.history.pushState({articleLightbox:!0},"",`/${e.id}`);let a=()=>{t.current=!1,g.current()};return window.addEventListener("popstate",a),()=>{window.removeEventListener("popstate",a),t.current&&window.history.back()}},[n]),(0,a.useEffect)(()=>{if(!n)return;let t=e[f];t&&window.history.replaceState({articleLightbox:!0},"",`/${t.id}`)},[f,n,e]),(0,a.useEffect)(()=>{let t=e[f];if(!n||!t)return;let a=!1,l=new AbortController;return fetch(`/api/article/${t.id}`,{signal:l.signal}).then(e=>e.json()).then(e=>{if(a)return;let l=e?.data?.content?.blocks;Array.isArray(l)&&p({articleId:t.id,blocks:l})}).catch(()=>{}),()=>{a=!0,l.abort()}},[f,n,e]),!n||0===e.length)return null;let b=e[f];if(!b)return null;let y=m?.articleId!==b.id,j=m?.articleId===b.id?m.blocks:[],k=t=>{t.stopPropagation(),x({initialIndex:i,currentIndex:0===f?e.length-1:f-1})},N=t=>{t.stopPropagation(),x({initialIndex:i,currentIndex:f===e.length-1?0:f+1})};return(0,t.jsxs)("div",{className:"fixed inset-0 z-[100] bg-black/90 backdrop-blur-sm overflow-y-auto md:overflow-hidden md:flex md:items-center md:justify-center",onClick:u,children:[(0,t.jsx)("button",{type:"button","aria-label":"Close",onClick:e=>{e.stopPropagation(),u()},className:"fixed top-3 right-3 md:top-4 md:right-4 text-white bg-black/60 hover:bg-black/80 rounded-full p-2 md:p-2.5 transition-colors z-[110]",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"md:w-7 md:h-7 pointer-events-none",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),(0,t.jsx)("button",{onClick:k,className:"hidden md:block fixed left-4 top-1/2 -translate-y-1/2 text-white p-2 hover:opacity-70 z-50",children:(0,t.jsx)(d.default,{width:16,height:32,className:"text-white w-4 h-8"})}),(0,t.jsxs)("div",{className:"relative w-full md:w-[min(75vw,170vh)] md:aspect-[2/1] md:mx-16 bg-alhudood-cream md:rounded-lg overflow-hidden flex flex-col md:flex-row-reverse",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"relative w-full md:w-2/3 md:h-full bg-black flex items-center justify-center overflow-hidden flex-shrink-0",children:[b.video?.url?(0,t.jsx)(c.default,{videoUrl:b.video.url,posterUrl:b.featuredImage?.url,posterAlt:b.featuredImage?.alt||b.title,blurDataURL:r.imagePlaceholders.article},f):(0,t.jsx)("div",{className:"relative w-full aspect-video md:aspect-auto md:h-full bg-alhudood-cream",children:(0,t.jsx)(l.default,{src:(0,o.getProxyUrl)(b.featuredImage?.url),alt:b.featuredImage?.alt||b.title,fill:!0,sizes:"(max-width: 768px) 100vw, 50vw",placeholder:"blur",className:"object-cover",blurDataURL:r.imagePlaceholders.article,referrerPolicy:"no-referrer"})},b.id),(0,t.jsx)("button",{onClick:k,className:"md:hidden absolute left-2 top-1/2 -translate-y-1/2 text-white bg-black/40 hover:bg-black/60 rounded-full p-1.5 z-10 transition-colors",children:(0,t.jsx)(d.default,{width:14,height:28,className:"text-white"})}),(0,t.jsx)("button",{onClick:N,className:"md:hidden absolute right-2 top-1/2 -translate-y-1/2 text-white bg-black/40 hover:bg-black/60 rounded-full p-1.5 z-10 rotate-180 transition-colors",children:(0,t.jsx)(d.default,{width:14,height:28,className:"text-white"})})]}),(0,t.jsx)("div",{className:"w-full md:w-1/3 md:h-full md:py-8 flex flex-col",dir:"rtl",children:(0,t.jsxs)("div",{className:"p-5 md:py-0 md:px-8 flex flex-col overflow-y-auto md:flex-1 gap-3",children:[(0,t.jsx)("h2",{className:"text-xl md:text-[29px] font-bold text-alhudood-dark leading-normal md:leading-[35px] md:text-right",children:b.title}),y?(0,t.jsxs)("div",{className:"space-y-3 animate-pulse flex-1",children:[(0,t.jsx)("div",{className:"h-4 bg-alhudood-dark/10 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-alhudood-dark/10 rounded w-5/6"}),(0,t.jsx)("div",{className:"h-4 bg-alhudood-dark/10 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-alhudood-dark/10 rounded w-4/5"}),(0,t.jsx)("div",{className:"h-4 bg-alhudood-dark/10 rounded w-full"})]}):j.length>0?(0,t.jsx)("div",{className:"font-muna text-lg md:text-[20px] md:font-bold leading-loose md:leading-[24px] md:text-right text-alhudood-dark space-y-4 flex-1",children:j.map((e,a)=>e.p?(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:e.p}},a):null)}):null,(0,t.jsxs)("div",{className:"mt-auto pt-4 border-t border-gray-200",children:[b.date&&(0,t.jsx)("span",{className:"text-lg text-alhudood-dark/60 font-geeza-pro block mb-2",children:b.date}),(0,t.jsxs)("div",{className:"flex items-center justify-start gap-6 text-gray-600 mb-3",children:[b.comments&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{children:b.comments}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})})]}),b.likes&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{children:b.likes}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})})]})]}),(0,t.jsx)(s.default,{article:b,onNavigate:u})]})]})})]}),(0,t.jsx)("button",{onClick:N,className:"hidden md:block fixed right-4 top-1/2 -translate-y-1/2 text-white p-2 hover:opacity-70 rotate-180 z-50",children:(0,t.jsx)(d.default,{width:16,height:32,className:"text-white w-4 h-8"})})]})}function h({articles:e}){let[l,i]=(0,a.useState)(!1),[s,r]=(0,a.useState)(0),[o,d]=(0,a.useState)(12),c=(0,a.useMemo)(()=>Math.min(o,e?.length||0),[o,e]);if(!e||0===e.length)return(0,t.jsx)("div",{className:"text-center py-20 opacity-50",children:"ÙØ§ ØªÙØ¬Ø¯ Ù
ÙØ§Ùات"});let h=e.slice(0,c),x=c<e.length;return(0,t.jsxs)("div",{className:"relative mx-auto pb-12",children:[(0,t.jsx)("div",{className:"mx-auto grid w-full grid-cols-2 gap-3 px-3 sm:grid-cols-3 sm:gap-4 md:grid-cols-4 md:gap-4 md:px-4",children:h.map((e,a)=>(0,t.jsx)(n,{article:e,variant:"with-text",onClick:()=>{r(a),i(!0)}},e.id))}),x&&(0,t.jsx)("div",{className:"flex justify-center mt-12",children:(0,t.jsx)("button",{onClick:()=>{d(e=>e+20)},className:"px-8 py-3 bg-transparent border border-alhudood-dark text-alhudood-dark hover:bg-alhudood-dark hover:text-alhudood-cream transition-colors duration-300 font-bold font-muna rounded-full",children:"عرض اÙÙ
Ø²ÙØ¯"})}),(0,t.jsx)(u,{articles:h,initialIndex:s,isOpen:l,onClose:()=>i(!1)})]})}e.s(["default",()=>h],19806)},83279,e=>{"use strict";var t=e.i(43476),a=e.i(18566),l=e.i(69393),i=e.i(22016),s=e.i(61745),r=e.i(48148);let o={"politics-and-economy":{namespace:"navigation",key:"politicalEconomy"},social:{namespace:"navigation",key:"social"},opinion:{namespace:"navigation",key:"opinion"},ads:{namespace:"navigation",key:"ads"},archive:{namespace:"navigation",key:"archive"},store:{namespace:"navigation",key:"store"},articles:{namespace:"mediaTypes",key:"articles"},"social-media":{namespace:"mediaTypes",key:"social"},caricature:{namespace:"mediaTypes",key:"caricature"},video:{namespace:"mediaTypes",key:"video"},voice:{namespace:"mediaTypes",key:"voice"}};function n({activeTagSlug:e,allTags:n,activeSlugLabel:d}){let c=(0,a.useRouter)(),u=(0,a.usePathname)();(0,s.useLocale)();let h=(0,r.useTranslations)("navigation"),x=(0,r.useTranslations)("mediaTypes");if(e){let a,i=n.find(t=>t.slug===e),s=d||i?.title||((a=o[e])?"navigation"===a.namespace?h(a.key):x(a.key):e.replace(/-/g," ")),r=i?.slug||e||"default";return(0,t.jsx)("div",{className:"flex flex-wrap gap-2 mx-auto justify-center",children:(0,t.jsx)(l.default,{variant:r,size:"md",className:"pl-3",active:!0,onDismiss:()=>{c.push(u)},children:s})})}return(0,t.jsx)("div",{className:"flex flex-wrap gap-2 mx-auto justify-center",children:n.map(e=>(0,t.jsx)(i.default,{href:`/tags?tag=${e.slug}`,children:(0,t.jsx)(l.default,{variant:e.slug,size:"md",className:"cursor-pointer",children:e.title})},e.id))})}e.s(["default",()=>n])},70709,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(18566);function i({className:e}){let i=(0,l.useRouter)(),s=(0,l.usePathname)(),r=(0,l.useSearchParams)(),[o,n]=(0,a.useTransition)(),d="asc"==("asc"===r.get("dir")?"asc":"desc");return(0,t.jsx)("button",{type:"button",onClick:()=>{let e=new URLSearchParams(r.toString());d?e.delete("dir"):e.set("dir","asc");let t=e.toString();n(()=>{i.push(t?`${s}?${t}`:s)})},disabled:o,"aria-pressed":d,"aria-label":d?"ØªØ±ØªÙØ¨ تصاعدÙ":"ØªØ±ØªÙØ¨ ØªÙØ§Ø²ÙÙ",title:d?"تصاعدÙ":"ØªÙØ§Ø²ÙÙ",className:`inline-flex h-8 w-8 items-center justify-center rounded-md text-alhudood-dark cursor-pointer focus:outline-none ${o?"opacity-70 pointer-events-none":""} ${e??""}`,children:(0,t.jsxs)("svg",{className:`h-4 w-4 transition-transform duration-300 ${d?"rotate-180":""}`,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,t.jsx)("polyline",{points:"19 12 12 19 5 12"})]})})}e.s(["default",()=>i])}]);
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.