1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4337],{368:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},508:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return s.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}});let s=r(1209),n=r(5153),a=r(7197)},1847:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(2115);let n=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)},a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var l={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 c=(0,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:c=2,absoluteStrokeWidth:o,className:i="",children:d,iconNode:u,...m}=e;return(0,s.createElement)("svg",{ref:t,...l,width:n,height:n,stroke:r,strokeWidth:o?24*Number(c)/Number(n):c,className:a("lucide",i),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(m)&&{"aria-hidden":"true"},...m},[...u.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let r=(0,s.forwardRef)((r,l)=>{let{className:o,...i}=r;return(0,s.createElement)(c,{ref:l,iconNode:t,className:a("lucide-".concat(n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...i})});return r.displayName=n(e),r}},2987:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},4337:(e,t,r)=>{Promise.resolve().then(r.bind(r,5437))},5223:(e,t,r)=>{"use strict";r.d(t,{H8:()=>i,Ie:()=>c,g4:()=>l});var s=r(5155),n=r(2115);let a=(0,n.createContext)({headerMode:"ar",setHeaderMode:()=>{}});function l(e){let{children:t}=e,[r,l]=(0,n.useState)("ar");return(0,s.jsx)(a.Provider,{value:{headerMode:r,setHeaderMode:l},children:t})}function c(){return(0,n.useContext)(a)}let o=new Set(["40","41"]);function i(e){return null!=e&&o.has(String(e))}},5299:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},5437:(e,t,r)=>{"use strict";r.d(t,{default:()=>O});var s=r(5155),n=r(467),a=r(926);let l=(0,a.createServerReference)("6048a3222b106a6c8ad0301c1a460f600724916966",a.callServer,void 0,a.findSourceMapURL,"getNextArticle"),c=(0,a.createServerReference)("709ab7c91f90354fd628ce5e0aa3f585cd313c18e8",a.callServer,void 0,a.findSourceMapURL,"fetchRelatedArticles");var o=r(6155),i=r(3890),d=r(7195),u=r(7937),m=r(368),h=r(508),p=r(2987),f=r(1847);let x=(0,f.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"}]]);var g=r(6983);let b=(0,f.A)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]),w=(0,f.A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),v=(0,f.A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),y=(0,f.A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);
1var j=r(5299),k=r(2619),N=r.n(k),A=r(2115),E=r(7845),M=r(3519),I=r(8215),R=r(2307);let S=null,_=null;var L=r(5223);let P=[14,16,18,20,22,24];function C(e){History.prototype.replaceState.call(window.history,window.history.state,"",e)}function z(e){try{var t;return null!=(t=new URL(e).searchParams.get("url"))?t:e}catch(t){return e}}function U(e){let{images:t}=e,[r,n]=(0,A.useState)(0),[a,l]=(0,A.useState)(null),[c,o]=(0,A.useState)(!1),i=(0,A.useRef)(null),d=(0,A.useRef)(null),h=(0,A.useRef)(0),p=()=>n(e=>(e-1+t.length)%t.length),f=()=>n(e=>(e+1)%t.length),x=()=>{var e,t;if(null===a)return;let r=null!=(t=null==(e=i.current)?void 0:e.offsetWidth)?t:1,s=h.current;h.current=0,l(null),o(!1),s<-(.2*r)?f():s>.2*r&&p(),d.current&&(d.current.style.transition="transform 500ms ease-in-out")};return 1===t.length?(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden mb-8 bg-muted",children:[(0,s.jsx)("img",{src:t[0].url||"/images/placeholder.svg",alt:t[0].caption,className:"w-full h-auto",onError:e=>{e.currentTarget.src="/images/placeholder.svg"}}),t[0].caption&&(0,s.jsx)("p",{className:"text-sm text-muted-foreground text-center py-2 px-4 bg-muted/50",children:t[0].caption})]}):(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden mb-8 bg-muted",children:[(0,s.jsxs)("div",{ref:i,className:"relative select-none",style:{cursor:c?"grabbing":"grab"},onMouseDown:e=>{l(e.clientX),o(!1),h.current=0},onMouseMove:e=>{if(null===a)return;let t=e.clientX-a;if(h.current=t,Math.abs(t)>4&&!c&&o(!0),d.current&&i.current){let e=-(100*r)+t/i.current.offsetWidth*100;d.current.style.transform="translateX(".concat(e,"%)"),d.current.style.transition="none"}},onMouseUp:x,onMouseLeave:x,onTouchStart:e=>{l(e.touches[0].clientX),o(!1),h.current=0},onTouchMove:e=>{if(null===a)return;let t=e.touches[0].clientX-a;if(h.current=t,Math.abs(t)>4&&!c&&o(!0),d.current&&i.current){let e=-(100*r)+t/i.current.offsetWidth*100;d.current.style.transform="translateX(".concat(e,"%)"),d.current.style.transition="none"}},onTouchEnd:()=>{var e,t;if(null===a)return;let r=null!=(t=null==(e=i.current)?void 0:e.offsetWidth)?t:1,s=h.current;h.current=0,l(null),o(!1),s<-(.2*r)?f():s>.2*r&&p(),d.current&&(d.current.style.transition="transform 500ms ease-in-out")},children:[(0,s.jsx)("div",{className:"overflow-hidden",dir:"ltr",children:(0,s.jsx)("div",{ref:d,className:"flex",style:{transform:"translateX(".concat(-(100*r),"%)"),transition:null===a?"transform 500ms ease-in-out":"none"},children:t.map((e,t)=>(0,s.jsx)("div",{className:"relative w-full shrink-0",children:(0,s.jsx)("img",{src:e.url||"/images/placeholder.svg",alt:e.caption,className:"w-full h-[300px] md:h-[450px] object-contain pointer-events-none",onError:e=>{e.currentTarget.src="/images/placeholder.svg"},draggable:!1})},t))})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),c||p()},className:"absolute right-3 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-black/50 hover:bg-black/70 text-white flex items-center justify-center transition-colors",children:(0,s.jsx)(u.A,{className:"w-5 h-5"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),c||f()},className:"absolute left-3 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-black/50 hover:bg-black/70 text-white flex items-center justify-center transition-colors",children:(0,s.jsx)(m.A,{className:"w-5 h-5"})}),(0,s.jsx)("div",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5",children:t.map((e,t)=>(0,s.jsx)("button",{onClick:()=>n(t),className:"rounded-full transition-all ".concat(t===r?"w-5 h-2 bg-white":"w-2 h-2 bg-white/50 hover:bg-white/80")},t))}),(0,s.jsxs)("span",{className:"absolute top-3 left-3 bg-black/60 text-white text-xs px-2 py-1 rounded-md font-mono",children:[r+1," / ",t.length]})]}),t[r].caption&&(0,s.jsx)("p",{className:"text-sm text-muted-foreground text-center py-2 px-4 bg-muted/50",children:t[r].caption})]})}let F=[8,39];function T(e){let{authorId:t,authorName:r,authorImage:n}=e,[a,l]=(0,A.useState)(!1);return a?(0,s.jsx)("div",{className:"w-12 h-12 rounded-full border-2 border-[#ce9b2e]/60 bg-muted flex items-center justify-center shrink-0",children:(0,s.jsx)(h.A,{className:"w-6 h-6 text-muted-foreground
1/50"})}):(0,s.jsx)("img",{src:n||"https://cdnx.premiumread.com/?url=https://makkahnewspaper.com/uploads/authors/".concat(t,".jpg&w=250&q=72&f=webp"),alt:r,className:"w-12 h-12 rounded-full object-cover border-2 border-[#ce9b2e] shadow-md shrink-0",onError:()=>l(!0)})}function H(e){let{content:t,fontSize:r}=e,n=(0,A.useRef)(null);return(0,A.useEffect)(()=>{let e=n.current;e&&(e.querySelector(".twitter-tweet")&&(S||(S=new Promise(e=>{let t=document.getElementById("twitter-wjs");if(t){t.addEventListener("load",()=>e()),window.twttr&&e();return}let r=document.createElement("script");r.id="twitter-wjs",r.src="https://platform.twitter.com/widgets.js",r.async=!0,r.onload=()=>e(),document.body.appendChild(r)})),S.then(()=>{var t;return null==(t=window.twttr)?void 0:t.widgets.load(e)})),e.querySelector(".fb-post, .fb-video")&&(_||(_=new Promise(e=>{if(!document.getElementById("fb-root")){let e=document.createElement("div");e.id="fb-root",document.body.prepend(e)}if(window.FB)return void e();let t=document.getElementById("facebook-jssdk");if(window.fbAsyncInit=()=>{var t;null==(t=window.FB)||t.init({xfbml:!0,version:"v19.0"}),e()},t)return;let r=document.createElement("script");r.id="facebook-jssdk",r.src="https://connect.facebook.net/ar_AR/sdk.js",r.async=!0,document.body.appendChild(r)})),_.then(()=>{var t;return null==(t=window.FB)?void 0:t.XFBML.parse(e)})))},[t]),(0,s.jsx)("div",{ref:n,className:"prose prose-lg max-w-none text-foreground leading-[1.9] article-body",style:{fontSize:"".concat(r,"px")},dangerouslySetInnerHTML:{__html:function(e){let t=/(https?:\/\/[^\s<>"']+?)([.!?,;:]*(?=[\s<]|$))/g,r=e.split(/(<[^>]+>)/),s=!1;return r.map(e=>/^<[^>]+>$/.test(e)?(/^<a[\s>]/i.test(e)&&(s=!0),/^<\/a\s*>/i.test(e)&&(s=!1),e):s?e:e.replace(t,(e,t,r)=>'<a href="'.concat(t,'" target="_blank" rel="noopener noreferrer" style="color:#ce9b2e;text-decoration:underline;word-break:break-all;">').concat(t,"</a>").concat(r))).join("")}(function(e){let t=/https?:\/\/(?:www\.)?(?:twitter\.com|x\.com)\/\w+\/status\/(\d+)(?:\?\S*)?/g,r=e.split(/(<[^>]+>)/),s=!1;return r.map(e=>/^<[^>]+>$/.test(e)?(/^<a[\s>]/i.test(e)&&(s=!0),/^<\/a\s*>/i.test(e)&&(s=!1),e):s?e:e.replace(t,(e,t)=>'<iframe src="https://platform.twitter.com/embed/Tweet.html?id='.concat(t,'&dnt=true" style="border:none;width:100%;max-width:550px;display:block;" height="700" scrolling="no" loading="lazy"></iframe>'))).join("")}(t))}})}function B(e){let{article:t,fontSizeIndex:r,setFontSizeIndex:a,showControls:l,relatedArticles:c,onVisible:u}=e,m=(0,I.p)(),{theme:f}=(0,E.D)(),j=(0,A.useRef)(null),[k,S]=(0,A.useState)(!1),_="https://makkahnewspaper.com/article/".concat(t.id);return(0,A.useEffect)(()=>{if(!l)return;let e=null,t=setTimeout(()=>{(e=document.createElement("script")).src="https://vendo.mmpww.com/video/0517aa80-e83b-11ea-ad15-9bd3db25e55d",document.body.prepend(e)},2500);return()=>{clearTimeout(t),e&&document.body.contains(e)&&document.body.removeChild(e)}},[l]),(0,A.useEffect)(()=>{if(!l)return;let e=()=>{window.scrollY>20&&(S(!0),window.removeEventListener("scroll",e))};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[l]),(0,A.useEffect)(()=>{if(!u||!j.current)return;let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&u()},{rootMargin:"0px 0px -75% 0px"});return e.observe(j.current),()=>e.disconnect()},[u]),(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 py-6",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,s.jsxs)("article",{className:"lg:col-span-2",children:[(0,s.jsx)("div",{ref:j}),l&&(0,s.jsxs)(N(),{href:(0,L.H8)(t.sectionId)?"/english":"/",className:"text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 mb-4",children:[(0,s.jsx)(p.A,{className:"w-3 h-3"}),"Ø§ÙØ±Ø¦ÙØ³ÙØ©"]}),(0,s.jsx)("span",{className:"inline-block text-xs font-bold px-3 py-1 rounded-md text-white mb-4",style:{backgroundColor:(0,M.e)(t.categorySlug,"dark"===f)},children:t.category}),(0,s.jsx)("h1",{className:"font-heading font-black text-2xl md:text-4xl leading-tight mb-4 [overflow-wrap:anywhere]",children:t.title}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-4 text-sm text-muted-foreground mb-6",children:[F.includes(Number(t.sectionId))&&t.authorId?(0,s.jsxs)(N(),{href:(0,R.bE)({id:t.authorId,slug:t.author.replace(/\s+/g,"-")}),className:"flex items-center gap-2.5 hover:opacity-85 transition-opacity",children:[(0,s.jsx)(T,{authorId:t.authorId,authorName:t.author,authorImage:t.authorImage}),(0,s.jsx)("span",{children:t.author})]}):t.author?(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(h.A,{className:"w-4 h-4"}),t.author]}):null,(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(x,{className:"w-4 h-4"}),m?(0,n.Y)(t.publishedAt):""]}),(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(g.A,{className:"w-4 h-4"}),t.readTime," Ø¯ÙØ§Ø¦Ù ÙÙÙØ±Ø§Ø¡Ø©"]})]}),!F.includes(Number(t.sectionId))&&(!function(e){let t=z(e).toLowerCase();return t.includes("youtube.com")||t.includes("youtu.be")}(t.imageUrl)?t.images&&t.images.length>0?(0,s.jsx)(U,{images:t.images}):(0,s.jsx)("div",{className:"rounded-2xl overflow-hidden mb-8 bg-muted",children:(0,s.jsx)("img",{src:t.imageUrl||"/article-default.jpeg",alt:t.title,className:"w-full h-auto",onError:e=>{e.currentTarget.src="/article-default.jpeg"}})}):(0,s.jsx)("div",{className:"rounded-2xl overflow-hidden mb-8 relative w-full",style:{paddingBottom:"56.25%"},children:(0,s.jsx)("iframe",{className:"absolute inset-0 w-full h-full border-0",src:"https://www.youtube.com/embed/".concat(function(e){try{var t,r;let s=z(e),n=new URL(s);return null!=(r=null!=(t=n.searchParams.get("v"))?t:n.pathname.split("/").pop())?r:null}catch(e){return null}}(t.imageUrl)),title:t.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})),l&&(0,s.jsxs)("div",{className:"flex items-center justify-end gap-1 mb-4",children:[(0,s.jsx)(b,{className:"w-4 h-4 text-muted-foreground ml-2"}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground ml-1",children:"ØØ¬Ù
Ø§ÙØ®Ø·"}),(0,s.jsx)("button",{onClick:()=>a(e=>Math.max(0,e-1)),disabled:0===r,className:"w-8 h-8 rounded-lg border border-border flex items-center justify-center hover:bg-muted disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:(0,s.jsx)(w,{className:"w-3.5 h-3.5"})}),(0,s.jsx)("button",{onClick:()=>a(e=>Math.min(P.length-1,e+1)),disabled:r===P.length-1,className:"w-8 h-8 rounded-lg border border-border flex items-center justify-center hover:bg-muted disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:(0,s.jsx)(v,{className:"w-3.5 h-3.5"})})]}),(0,s.jsxs)("div",{className:"px-6 pb-6 md:px-8 md:pb-8 mb-8".concat(t.subtitle?" pt-6 md:pt-8":""),children:[t.subtitle&&(0,s.jsx)("p",{className:"font-semibold text-foreground leading-relaxed mb-6 border-r-4 border-[#ce9b2e] pr-4",style:{fontSize:"".concat(P[r]+2,"px")},children:t.subtitle}),(0,s.jsx)(H,{content:t.content,fontSize:P[r]})]}),t.tags.length>0&&(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2 mb-8",children:[(0,s.jsx)("span",{className:"text-sm font-semibold text-muted-foreground ml-2",children:"اÙÙØ³ÙÙ
:"}),t.tags.map(e=>(0,s.jsxs)(N(),{href:"/tags/".concat(e.replace(/\s+/g,"-")),className:"text-xs bg-muted text-muted-foreground px-3 py-1.5 rounded-full font-medium hover:bg-primary/10 hover:text-primary transition-colors",children:["#",e]},e))]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-muted rounded-xl mb-8",children:[(0,s.jsx)(y,{className:"w-5 h-5 text-muted-foreground"}),(0,s.jsx)("span",{className:"text-sm font-semibold",children:"Ø´Ø§Ø±Ù ÙØ°Ø§ اÙÙ
ÙØ§Ù"}),(0,s.jsxs)("div",{className:"flex gap-2 mr-auto",children:[(0,s.jsx)("a",{href:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(_),"&text=").concat(encodeURIComponent(t.title)),target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-[#1DA1F2] text-white flex items-center justify-center text-xs font-bold hover:opacity-80 transition-opacity",children:"X"}),(0,s.jsx)("a",{href:"https://wa.me/?text=".concat(encodeURIComponent(t.title+" "+_)),target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-[#25D366] text-white flex items-center justify-center text-xs font-bold hover:opacity-80 transition-opacity",children:"W"}),(0,s.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(_)),target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-[#1877F2] text-white flex items-center justify-center text-xs font-bold hover:opacity-80 transition-opacity",children:"F"})]})]}),l&&(0,s.jsx)(i.default,{slotId:d.u.ARTICLE_MPU.id,adPath:d.u.ARTICLE_MPU.path,sizes:d.u.ARTICLE_MPU.sizes,className:"mb-8 flex justify-center"})]}),(0,s.jsx)("aside",{children:(0,s.jsxs)("div",{className:"sticky top-28",children:[c.length>0&&(0,s.jsxs)("div",{className:"bg-card rounded-xl border border-border/50 p-5 mb-6",children:[(0,s.jsx)("h3",{className:"font-heading font-bold text-lg mb-4",children:"Ù
ÙØ§Ùات ذات ØµÙØ©"}),(0,s.jsx)("div",{className:"space-y-1",children:c.map(e=>(0,s.jsx)(o.default,{article:e,variant:"horizontal"},e.id))})]}),l&&(0,s.jsx)(i.default,{slotId:d.u.HALF_PAGE.id,adPath:d.u.HALF_PAGE.path,sizes:d.u.HALF_PAGE.sizes,className:"mb-6"}),l&&k&&(0,s.jsx)(i.default,{slotId:d.u.HALFPAGE_MPU.id,adPath:d.u.HALFPAGE_MPU.path,sizes:d.u.HALFPAGE_MPU.sizes,className:"mt-2"})]})})]})})}
1function O(e){let{initialArticle:t}=e,r=t.id,{setHeaderMode:n}=(0,L.Ie)();(0,A.useLayoutEffect)(()=>(n((0,L.H8)(t.sectionId)?"en":"ar"),()=>n("ar")),[t.sectionId,n]);let[a,o]=(0,A.useState)(1),[i,d]=(0,A.useState)([]);(0,A.useEffect)(()=>{t.sectionId&&c(String(t.sectionId),r,3).then(e=>d(e))},[r,t.sectionId]);let[u,m]=(0,A.useState)([]),[h,p]=(0,A.useState)(!1),[f,x]=(0,A.useState)(!0),g=(0,A.useRef)(0),b=(0,A.useRef)(!1),w=(0,A.useCallback)(async()=>{if(!b.current&&f){b.current=!0,p(!0);try{let e=await l(r,g.current);if(!e)return void x(!1);m(t=>t.some(t=>t.id===e.id)?(x(!1),t):[...t,e]),g.current+=1}catch(e){x(!1)}finally{p(!1),b.current=!1}}},[r,f]),v=(0,A.useRef)(w);(0,A.useEffect)(()=>{v.current=w},[w]),(0,A.useEffect)(()=>{m([]),x(!0),g.current=0,b.current=!1},[r]);let y=(0,A.useRef)(null);(0,A.useEffect)(()=>{let e=y.current;if(!e)return;let t=new IntersectionObserver(e=>{e[0].isIntersecting&&(t.disconnect(),v.current())},{rootMargin:"600px"});return t.observe(e),()=>t.disconnect()},[r]);let k=(0,A.useRef)(null);return((0,A.useEffect)(()=>{let e=k.current;if(!e||!f)return;let t=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&v.current()},{rootMargin:"400px"});return t.observe(e),()=>t.disconnect()},[f,u.length]),t)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B,{article:t,fontSizeIndex:a,setFontSizeIndex:o,showControls:!0,relatedArticles:i,onVisible:()=>{C((0,R.kM)({id:t.id,permalink:t.permalink}))}}),(0,s.jsx)("div",{ref:y,className:"h-1"}),u.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,s.jsx)("div",{className:"border-t-2 border-primary/30 my-4 pt-4",children:(0,s.jsx)("span",{className:"text-sm font-heading font-bold text-primary",children:"Ù
ÙØ§Ù Ø°Ù ØµÙØ©"})})}),(0,s.jsx)(B,{article:e,fontSizeIndex:a,setFontSizeIndex:o,showControls:!1,relatedArticles:[],onVisible:()=>{C((0,R.kM)({id:e.id,permalink:e.permalink}))}})]},e.id)),f&&(0,s.jsx)("div",{ref:k,className:"h-1"}),h&&(0,s.jsx)("div",{className:"flex justify-center py-8",children:(0,s.jsx)(j.A,{className:"w-6 h-6 animate-spin text-primary"})})]}):(0,s.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-16 text-center",children:[(0,s.jsx)("h1",{className:"font-heading font-bold text-2xl mb-2",children:"اÙÙ
ÙØ§Ù ØºÙØ± Ù
ÙØ¬Ùد"}),(0,s.jsx)("p",{className:"text-muted-foreground mb-6",children:"Ø¹Ø°Ø±Ø§ÙØ ÙÙ
ÙØªÙ
ÙÙ Ù
Ù Ø§ÙØ¹Ø«Ùر عÙ٠اÙÙ
ÙØ§Ù اÙÙ
Ø·ÙÙØ¨"}),(0,s.jsx)(N(),{href:"/",className:"text-primary font-semibold hover:underline",children:"Ø§ÙØ¹Ùدة ÙÙØ±Ø¦ÙØ³ÙØ©"})]})}},6983:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},7195:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});let s="/222593609",n={TRACKING_PIXEL:{path:"".concat(s,"/makkahnewspaper_com_1x1"),sizes:[[1,1]],id:"div-gpt-ad-1673259868336-0"},NAVBAR_TOP:{path:"".concat(s,"/makkahnewspaper_com_top"),sizes:[[350,50],[728,90],[320,100],[320,50]],id:"div-gpt-ad-1673260054989-0"},SKYSCRAPER_RIGHT:{path:"".concat(s,"/160x600-WIDE-SKYSCRAPER-RIGHT"),sizes:[[160,600]],id:"div-gpt-ad-1672822666943-0"},SKYSCRAPER_LEFT:{path:"".concat(s,"/160x600-WIDE-SKYSCRAPER-LEFT"),sizes:[[160,600]],id:"div-gpt-ad-1672822415021-0"},LEADERBOARD:{path:"".concat(s,"/Makkahnew_728x90"),sizes:[[728,90]],id:"div-gpt-ad-1672823253975-0"},HALF_PAGE:{path:"".concat(s,"/300x600-HALF-PAGE"),sizes:[[300,600]],id:"div-gpt-ad-1672822756842-0"},MPU:{path:"".concat(s,"/MPU-300x250"),sizes:[[300,250]],id:"div-gpt-ad-1672823203688-0"},MOBILE_LEADERBOARD:{path:"".concat(s,"/320x50-Mobile-Leaderboard"),sizes:[[320,50]],id:"div-gpt-ad-1672823054661-0"},MOBILE_OVERLAY:{path:"".concat(s,"/Overlay320x480mobilefullpage"),sizes:[[320,480]],id:"div-gpt-ad-1677075021166-0"},ARTICLE_MPU:{path:"".concat(s,"/MPU-300x250"),sizes:[[300,250]],id:"div-gpt-ad-1703593521850-0"},HALFPAGE_MPU:{path:"".concat(s,"/makkahnewspaper_com_halfpage_mpu"),sizes:[[300,600],[300,250]],id:"makkahnewspaper_com_halfpage_mpu"}}},7937:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])}}]);
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.