PageSourceSearch

https://islamicdivinesystem.com/assets/DalilMubin-CrafI3jd.js

js islamicdivinesystem.com collected 2026-10-09 21:48:26 UTC 6,311 bytes, 1 lines download raw bytes

1import{j as e,H as v}from"./index-Ca8Qthj3.js";import{b as d}from"./react-vendor-Coattl4B.js";import{P as w}from"./PageHead-BV4JoAsM.js";import{g as _,b as k,a as M}from"./schema-yPQl4twP.js";import{supabase as c}from"./supabase-B_M_3bCE.js";import{A as f}from"./compartmentMeta-N3J5VvCm.js";import"./supabase-D56URzBO.js";function p(t){const[l,o]=t.split(":");return`/quran?surah=${l}&ayah=${o}`}const b=new Map(v.map(t=>[t.collection,t]));function q(t){return`${b.get(t.collection)?.name||t.collection} ${t.hadith_number}`}function D(t){const l=b.get(t.collection);return l?t.book_number==null?`/${l.slug}`:`/${l.slug}/book-${t.book_number}-book/hadith-${t.hadith_number}-hadith`:"/hadith"}function L(){const[t,l]=d.useState(null),[o,g]=d.useState(null),[m,y]=d.useState(!1);d.useEffect(()=>{let r=!0;return(async()=>{try{const[a,n,N]=await Promise.all([c.from("quran_trails").select("*").eq("published",!0).order("updated_at",{ascending:!1}),c.from("quran_trail_items").select("*").order("position"),fetch("/quran-verses.json").then(i=>i.json())]);if(!r)return;if(a.error)l([]);else{const i={};for(const s of n.data||[])(i[s.trail_id]=i[s.trail_id]||[]).push(s);const x=[...new Set((a.data||[]).flatMap(s=>[s.user_id,s.reviewed_by].filter(Boolean)))];let h={};if(x.length){const{data:s}=await c.from("profiles").select("id, full_name").in("id",x);h=Object.fromEntries((s||[]).map(u=>[u.id,u.full_name]))}if(!r)return;l((a.data||[]).map(s=>({...s,items:i[s.id]||[],author:h[s.user_id]||null,reviewer:h[s.reviewed_by]||null})))}g(N)}catch{r&&y(!0)}})(),()=>{r=!1}},[]);const j=_(M({title:"Dalil Mubin: Trails through the Qur'an",description:"Published research trails from the Qur’an Mind Atlas: sequences of ayat followed through the Book.",path:"/dalil-mubin",datePublished:"2026-07-12",dateModified:"2026-07-12"}),k([{name:"Home",path:"/"},{name:"Qur'an",path:"/quran"},{name:"Dalil Mubin",path:"/dalil-mubin"}]));return e.jsxs("div",{className:"min-h-screen bg-[#fafafa] font-sans",children:[e.jsx(w,{title:"Dalil Mubin: Trails through the Qur'an",description:"Published research trails from the Qur'an Mind Atlas: sequences of ayat followed through the Book, from the fourfold mission of 62:2 to the signs in the horizons and the self.",path:"/dalil-mubin",type:"article",schema:j}),e.jsxs("div",{className:"mx-auto max-w-3xl px-5 pt-28 pb-16",children:[e.jsxs("nav",{className:"mb-5 text-sm text-emerald-700",children:[e.jsx("a",{href:"/quran",className:"hover:text-emerald-900",children:"Qur’an"}),e.jsx("span",{className:"mx-2 text-gray-300",children:"›"}),e.jsx("span",{className:"text-gray-500",children:"Dalil Mubin"})]}),e.jsxs("h1",{className:"text-2xl font-bold text-gray-900",children:["Dalil Mubin",e.jsx("span",{dir:"rtl",className:"ms-3 text-xl text-emerald-800",style:{fontFamily:f},children:"دَلِيلٌ مُبِينٌ"})]}),e.jsxs("p",{className:"mt-2 text-sm leading-relaxed text-gray-600",children:["Trails of ayat followed through the Book and presented openly: the outcome of the fourfold assignment of"," ",e.jsx("a",{href:p("62:2"),target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-emerald-700 underline-offset-2 hover:underline",children:"62:2"}),". To follow the ayat (yatlu) is to trace their trail through the horizons and the self; each trail below walks one such trail, hop by hop. Explore every ayah by its function in the"," ",e.jsx("a",{href:"/quran/compartments",className:"text-emerald-700 hover:underline",children:"four compartments"}),"."]}),e.jsxs("div",{className:"mt-8 space-y-8",children:[m&&e.jsx("p",{className:"text-sm text-red-600",children:"Could not load the published trails."}),!t&&!m&&e.jsx("p",{className:"text-sm text-gray-400",children:"Loading…"}),t&&t.length===0&&e.jsx("p",{className:"text-sm text-gray-500",children:"No trails have been published yet. Research is under way in the Mind Atlas; the first trails will appear here when their authors publish them."}),t?.map(r=>e.jsxs("section",{id:`trail-${r.id}`,className:"scroll-mt-24 border border-gray-200 bg-white",children:[e.jsxs("div",{className:"border-b border-gray-100 bg-emerald-50/50 px-5 py-3",children:[e.jsx("h2",{className:"text-lg font-bold text-gray-900",children:e.jsx("a",{href:`#trail-${r.id}`,className:"hover:underline",title:"permanent link to this trail",children:r.title})}),r.thesis&&e.jsx("p",{className:"mt-0.5 text-sm italic text-gray-600",children:r.thesis}),e.jsxs("p",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-gray-500",children:[r.author&&e.jsxs("span",{children:["by ",r.author]}),r.reviewer&&e.jsxs("span",{className:"text-emerald-700",children:["reviewed by ",r.reviewer]}),r.updated_at&&e.jsx("span",{children:new Date(r.updated_at).toLocaleDateString("en-GB")}),(r.tags||[]).map(a=>e.jsx("span",{className:"border border-emerald-200 bg-white px-1.5 py-0.5 text-[11px] text-emerald-700",children:a},a))]})]}),e.jsx("ol",{className:"divide-y divide-gray-50",children:r.items.map((a,n)=>a.member_kind==="hadith"?e.jsxs("li",{className:"bg-amber-50/40 px-5 py-4",children:[e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsxs("span",{className:"text-xs font-bold text-amber-700",children:[n+1,"."]}),e.jsxs("a",{href:D(a),target:"_blank",rel:"noopener noreferrer",className:"text-sm font-semibold text-amber-700 underline-offset-2 hover:underline",children:["Hadith · ",q(a)]})]}),a.excerpt&&e.jsx("p",{className:"mt-1.5 border-l-2 border-amber-200 pl-3 text-[13px] leading-relaxed text-gray-700",children:a.excerpt}),a.note&&e.jsx("p",{className:"mt-1 text-[13px] leading-relaxed text-gray-600",children:a.note})]},a.ref+n):e.jsxs("li",{className:"px-5 py-4",children:[e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsxs("span",{className:"text-xs font-bold text-emerald-700",children:[n+1,"."]}),e.jsx("a",{href:p(a.ref),target:"_blank",rel:"noopener noreferrer",className:"text-sm font-semibold text-emerald-700 underline-offset-2 hover:underline",children:a.ref})]}),o?.[a.ref]&&e.jsx("p",{dir:"rtl",lang:"ar",className:"mt-1.5 text-[20px] leading-loose text-emerald-900",style:{fontFamily:f},children:o[a.ref]}),a.note&&e.jsx("p",{className:"mt-1 text-[13px] leading-relaxed text-gray-600",children:a.note})]},a.ref+n))})]},r.id))]})]})]})}export{L as default};

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.