1"use strict";(self.webpackChunkpantomath_v2=self.webpackChunkpantomath_v2||[]).push([[492,740],{3150(e,t,s){s.d(t,{A:()=>o});var a=s(5043),l=s(4975),r=s(7072),n=s(4367),i=s(579);function o(e){let{relatedData:t=null,hideTitle:s=!1,isRelatedSection:o=!1,customTitle:c=null}=e;const d=(0,a.useRef)(null),x=(0,a.useRef)(null),m=Array.isArray(t)?t:n.O.slice(0,6);return m&&0!==m.length?(0,i.jsx)("section",{className:o?"insights-wrapper min-min-h-[100dvh] py-[12vh] flex flex-col justify-center w-full bg-theme-bg-main relative":"insights-wrapper topgap100 bottomgap100",children:(0,i.jsxs)("div",{className:"cust-container w-full",children:[!s&&(0,i.jsx)("h2",{className:"common-sec-title brandcolor mb-8 md:mb-12",children:c||"Key Insights"}),(0,i.jsx)(l.RC,{loop:m.length>3,loopAdditionalSlides:2,modules:[r.Vx,r.dK,r.Ij],slidesPerView:3,slidesPerGroup:1,spaceBetween:24,watchSlidesProgress:!0,autoplay:{delay:4e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},onBeforeInit:e=>{e.params.navigation.prevEl=d.current,e.params.navigation.nextEl=x.current},navigation:{prevEl:d.current,nextEl:x.current},pagination:{type:"fraction",el:".swiper-fraction"},breakpoints:{0:{slidesPerView:1,spaceBetween:16},768:{slidesPerView:2,spaceBetween:20},1025:{slidesPerView:3,spaceBetween:24}},onSlideChange:e=>{const t=e.slides.length,s=(e.realIndex+1)/t*100,a=document.querySelector(".swiper-progress span");a&&(a.style.width="".concat(s,"%"))},onSwiper:e=>{const t=document.querySelector(".swiper-progress span");t&&(t.style.width="".concat(1/e.slides.length*100,"%"))},className:"insights-swiper",children:m.map((e,t)=>(0,i.jsx)(l.qr,{children:(0,i.jsxs)("article",{className:"insight-card",children:[(0,i.jsx)("div",{className:"image-wrap",children:(0,i.jsx)("img",{src:"/images/".concat(e.featuredImage,".webp"),alt:e.name})}),(0,i.jsxs)("div",{className:"card-content",children:[(0,i.jsx)("span",{className:"date",children:e.date}),(0,i.jsx)("h4",{className:"title",children:e.tag}),(0,i.jsx)("p",{className:"description",children:e.name}),(0,i.jsxs)("a",{href:e.url,className:"learn-more inline-flex items-center gap-2 whitespace-nowrap",children:["Learn More ",(0,i.jsx)("img",{src:"/images/home/branddigonalarw.svg",alt:"",className:"shrink-0 w-3 h-3"})]})]})]})},e.url||t))}),m.length>3&&(0,i.jsxs)("div",{className:"swiper-controls",children:[(0,i.jsx)("div",{className:"swiper-fraction"}),(0,i.jsx)("div",{className:"swiper-progress",children:(0,i.jsx)("span",{})}),(0,i.jsxs)("div",{className:"nav-buttons flex items-center gap-2",children:[(0,i.jsx)("button",{ref:d,className:"swiper-prev border-0 outline-none focus:outline-none bg-transparent shadow-none ring-0",children:(0,i.jsx)("img",{src:"/images/home/brand-left-arw.svg",alt:"Prev"})}),(0,i.jsx)("button",{ref:x,className:"swiper-next border-0 outline-none focus:outline-none bg-transparent shadow-none ring-0",children:(0,i.jsx)("img",{src:"/images/home/brand-right-arw.svg",alt:"Next"})})]})]})]})}):null}},1740(e,t,s){s.d(t,{supabase:()=>a});const a=(0,s(6255).UU)("https://mcbkvnfpwnfhbwfrnfai.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1jYmt2bmZwd25maGJ3ZnJuZmFpIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Nzc5NTU4OTIsImV4cCI6MjA5MzUzMTg5Mn0.Px0hLk-tE7IDb6jOPcTlJWn06WOIy8EgfHis6CFhlL4")},4492(e,t,s){s.r(t),s.d(t,{default:()=>b});var a=s(5043),l=s(5029),r=s(9624),n=s(184),i=s(3156),o=s(5200),c=s(2024),d=s(8326),x=s(3150),m=s(1740),h=s(4367),p=s(579);function b(){const{slug:e}=(0,l.g)(),[t,s]=(0,a.useState)(null),[b,g]=(0,a.useState)(!0),[u,f]=(0,a.useState)([]),w=window.location.href;if((0,a.useEffect)(()=>{!async function(){g(!0);try{const{data:t}=await m.supabase.from("strategic_reports").select("*").eq("slug",e).single();if(t){s(t);const{data:a}=await m.supabase.from("strategic_reports").select("*").neq("slug",e).limit(3);a&&a.length>0?f(a.map(e=>({id:e.id,category:e.label,title:e.title,date:new Date(e.created_at).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),image:e.image,url:"/reports/".concat(e.slug)}))):f(h.O.slice(0,3).map((e,t)=>({id:t.toString(),category:e.tag,title:e.name,date:e.date,image:"/images/".concat(e.featuredImage,".webp"),url:e.url})))}}catch(t){console.error("Failed to load report",t)}finally{g(!1)}}()},[e]),b)return(0,p.jsx)("div",{className:"min-h-screen bg-theme-bg
1-main flex items-center justify-center",children:(0,p.jsx)(c.A,{className:"w-12 h-12 text-[#813073] dark:text-[#C1217F] animate-spin"})});if(!t)return(0,p.jsxs)("div",{className:"min-h-screen bg-theme-bg-main flex flex-col items-center justify-center p-4",children:[(0,p.jsx)("h2",{className:"text-2xl font-bold text-slate-800 dark:text-white mb-4",children:"Report Not Found"}),(0,p.jsx)(l.N_,{to:"/reports",className:"bg-[#813073] hover:bg-[#a12b73] text-white px-6 py-2 rounded-lg font-semibold",children:"View All Reports"})]});const j=t.seo_title||t.title,N=[{icon:(0,p.jsx)(i.TCj,{}),url:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(w),"&text=").concat(encodeURIComponent(j)),label:"X"},{icon:(0,p.jsx)(n.H1h,{}),url:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent(w),"&title=").concat(encodeURIComponent(j)),label:"LinkedIn"},{icon:(0,p.jsx)(n.ok6,{}),url:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(w)),label:"Facebook"}],v=Array.isArray(t.content_bullets)?t.content_bullets:"string"===typeof t.content_bullets?JSON.parse(t.content_bullets):[];return(0,p.jsxs)("div",{className:"bg-theme-bg-main relative w-full overflow-x-hidden",children:[(0,p.jsx)(r.A,{title:t.seo_title||t.title,description:t.seo_description||t.description}),(0,p.jsxs)("section",{className:"relative h-[100dvh] flex flex-col justify-center overflow-hidden",children:[(0,p.jsxs)("div",{className:"absolute inset-0",children:[(0,p.jsx)("img",{src:t.hero_image||"/images/pantomath-building-5.png",alt:t.title,className:"w-full h-full object-cover"}),(0,p.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.2) 100%)"}})]}),(0,p.jsx)("div",{className:"container mx-auto px-4 md:px-[22px] relative z-10 flex flex-col justify-center h-full pt-10",children:(0,p.jsxs)("div",{className:"max-w-3xl",children:[(0,p.jsxs)("div",{className:"flex items-center gap-2 text-sm md:text-[15px] mb-10 text-white font-medium",children:[(0,p.jsx)(l.N_,{to:"/",className:"text-white/80 hover:text-white transition-colors",children:"Home"}),(0,p.jsx)(d.A,{className:"w-4 h-4 text-white/60"}),(0,p.jsx)(l.N_,{to:"/reports",className:"text-white/80 hover:text-white transition-colors",children:"Reports"}),(0,p.jsx)(d.A,{className:"w-4 h-4 text-white/60"}),(0,p.jsx)("span",{className:"text-white font-semibold",children:t.title.split(":")[0]})]}),(0,p.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-6 md:mb-8 leading-[1.1] tracking-tight",children:t.hero_title||t.title}),(0,p.jsx)("div",{className:"bg-white/10 backdrop-blur-md px-6 py-4 rounded-xl shadow-lg inline-block max-w-2xl",children:(0,p.jsx)("p",{className:"text-base md:text-lg text-white/90 leading-relaxed font-sans",children:t.hero_description||t.description})})]})})]}),(0,p.jsx)("section",{className:"relative w-full py-16 md:py-24 px-4 bg-white dark:bg-[#0a0a0a]",children:(0,p.jsxs)("div",{className:"max-w-[800px] mx-auto text-left",children:[(0,p.jsx)("h2",{className:"text-2xl md:text-3xl font-semibold text-slate-900 dark:text-white font-sans mb-6",children:t.content_title||t.title}),(0,p.jsx)("div",{className:"w-[2px] h-[40px] bg-[#813073] dark:bg-[#C1217F] absolute left-[-20px] top-0 hidden md:block"}),(0,p.jsx)("p",{className:"text-[17px] md:text-lg text-slate-600 dark:text-slate-400 font-sans leading-relaxed mb-12 border-l-[3px] border-[#813073] dark:border-[#C1217F] pl-5 py-1",children:t.description}),t.content_subtitle&&(0,p.jsx)("h3",{className:"text-xl md:text-2xl font-bold text-slate-900 dark:text-white font-sans mb-5",children:t.content_subtitle}),t.content_body&&(0,p.jsx)("p",{className:"text-[17px] text-slate-700 dark:text-slate-300 font-sans leading-relaxed mb-6",children:t.content_body}),v.length>0&&(0,p.jsx)("ul",{className:"space-y-4 mb-10",children:v.map((e,t)=>(0,p.jsxs)("li",{className:"flex items-start gap-4",children:[(0,p.jsx)("span",{className:"text-[#813073] dark:text-[#C1217F] mt-1 text-sm",children:"\u25fc"}),(0,p.jsx)("span",{className:"text-[17px] text-slate-700 dark:text-slate-300 font-sans leading-relaxed",children:e})]},t))}),t.download_text&&(0,p.jsx)("p",{className:"text-[17px] text-slate-600 dar
1k:text-slate-400 font-sans italic mb-8",children:t.download_text}),t.pdf&&(0,p.jsxs)("a",{href:t.pdf,target:"_blank",rel:"noopener noreferrer",className:"inline-flex bg-[#813073] hover:bg-[#a12b73] dark:bg-[#C1217F] dark:hover:bg-[#d82a93] text-white font-semibold font-sans py-3 px-8 transition-colors items-center gap-3 w-max",children:[t.cta||"View Complete Report",(0,p.jsx)(o.dyV,{className:"text-xl"})]}),(0,p.jsxs)("div",{className:"w-full border-t border-slate-200 dark:border-slate-800 mt-16 pt-8 flex flex-col md:flex-row justify-between items-center gap-6",children:[(0,p.jsxs)("div",{className:"flex items-center gap-4",children:[(0,p.jsx)("span",{className:"text-sm font-semibold text-slate-500 tracking-wide",children:"Share Report"}),(0,p.jsxs)("div",{className:"flex gap-3",children:[N.map((e,t)=>(0,p.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 border border-slate-200 dark:border-slate-700 flex items-center justify-center text-slate-500 hover:text-[#813073] dark:hover:text-[#C1217F] hover:border-[#813073] dark:hover:border-[#C1217F] transition-all",children:e.icon},t)),(0,p.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(window.location.href),alert("Link copied to clipboard!")},className:"w-10 h-10 border border-slate-200 dark:border-slate-700 flex items-center justify-center text-slate-500 hover:text-[#813073] dark:hover:text-[#C1217F] hover:border-[#813073] dark:hover:border-[#C1217F] transition-all",title:"Copy Link",children:(0,p.jsx)(n.AnD,{})})]})]}),(0,p.jsx)(l.N_,{to:"/reports",className:"group border border-[#813073] dark:border-[#C1217F] text-[#813073] dark:text-[#C1217F] hover:bg-[#813073] hover:text-white dark:hover:bg-[#C1217F] px-6 py-2.5 font-semibold text-sm transition-all flex items-center gap-2",children:"Back to All Reports"})]})]})}),(0,p.jsx)("div",{className:"bg-theme-bg-secondary w-full border-t border-slate-100 dark:border-slate-800",children:(0,p.jsx)(x.A,{relatedData:u,isRelatedSection:!0,customTitle:"Related Reports"})})]})}}}]); 2//# sourceMappingURL=492.eb2c18d7.chunk.js.map
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.