1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87246,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(22016),a=e.i(57688),l=e.i(14294),o=e.i(78532);e.s(["BlogPage",0,({initialPosts:e})=>{let[i,n]=(0,r.useState)(e.reverse()),[c,d]=(0,r.useState)(!1),{setGlowColor:x,resetGlow:h}=(0,o.useGlow)(),m=async()=>{n((await (0,l.fetchBlogPosts)()).reverse()),d(!1)};return(0,t.jsx)("div",{className:"min-h-screen bg-[#121212] pt-32 pb-20 px-4",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("div",{className:"text-center mb-16 relative",children:[(0,t.jsx)("span",{className:"inline-block py-1 px-4 rounded-full bg-[#00ADC7]/10 border border-[#00ADC7]/20 text-[#00ADC7] text-[10px] font-black uppercase tracking-[0.3em] mb-6",children:"The Raw Journal"}),(0,t.jsxs)("h1",{className:"text-6xl md:text-8xl font-serif font-black text-white mb-6 tracking-tighter",children:["Ancestral ",(0,t.jsx)("span",{className:"text-[#00ADC7]",children:"Insights"})]}),(0,t.jsx)("p",{className:"text-xl text-gray-400 font-light max-w-2xl mx-auto mb-10",children:"Biological deep dives into canine physiology and performance protocols."}),(0,t.jsxs)("button",{onClick:()=>{d(!0),m()},className:"group text-[10px] font-black uppercase tracking-widest text-gray-500 hover:text-white flex items-center justify-center gap-2 mx-auto transition-all",disabled:c,children:[(0,t.jsx)("svg",{className:`w-4 h-4 ${c?"animate-spin":"group-hover:rotate-180 transition-transform duration-500"}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),c?"Updating Protocol...":"Refresh Feed"]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:i.map(e=>(0,t.jsxs)(s.default,{href:`/academy/blog/${e.slug}`,className:"glass-panel rounded-3xl overflow-hidden group flex flex-col h-full border border-white/5 hover:border-[#00ADC7]/30 transition-all duration-500",onMouseEnter:()=>x("#00ADC7"),onMouseLeave:h,children:[(0,t.jsxs)("div",{className:"h-64 overflow-hidden relative bg-black",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-linear-to-t from-[#121212] via-transparent to-transparent z-10 opacity-80"}),(0,t.jsx)(a.default,{src:(e=>{if(!e)return"https://placehold.co/800x400/1a1a1a/00ADC7?text=Raw+Journal";if(e.includes("drive.google.com")){let t=e.split("/d/")[1]?.split("/")[0]||e.split("id=")[1];return`https://lh3.googleusercontent.com/u/0/d/${t}`}return e})(e.featured_image),alt:e.title,fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",className:"object-cover transform group-hover:scale-105 transition-transform duration-700 opacity-80 group-hover:opacity-100"}),e.category&&(0,t.jsx)("span",{className:"absolute top-6 left-6 z-20 bg-black/60 backdrop-blur-md text-[#00ADC7] text-[10px] font-black px-4 py-1.5 rounded-full uppercase tracking-[0.2em] border border-[#00ADC7]/30",children:e.category})]}),(0,t.jsxs)("div",{className:"p-8 flex-1 flex flex-col",children:[(0,t.jsx)("h3",{className:"text-2xl font-serif font-black text-white mb-4 leading-tight group-hover:text-[#00ADC7] transition-colors line-clamp-2",children:e.title}),(0,t.jsx)("div",{className:"text-gray-400 text-sm mb-8 line-clamp-3 leading-relaxed flex-1 font-light",dangerouslySetInnerHTML:{__html:e.summary}}),(0,t.jsxs)("div",{className:"flex items-center justify-between pt-6 border-t border-white/5",children:[(0,t.jsx)("span",{className:"text-white text-[10px] font-black uppercase tracking-widest",children:"Read Protocol"}),(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-white/5 flex items-center justify-center group-hover:bg-[#00ADC7] group-hover:text-black transition-all",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})})]})]})]},e.slug))}),0===i.length&&!c&&(0,t.jsxs)("div",{className:"text-center py-24 bg-white/5 rounded-[2rem] border border-white/10 border-dashed max-w-2xl mx-auto",children:[(0,t.jsx)("div",{className:"text-5xl mb-6 opacity-20",children:"ð¬"}),(0,t.jsx)("h3",{className:"text-2xl font-serif font-black text-white mb-4",children:"No Protocols Found"}),(0,t.jsx)("p",{className:"text-gray-400 text-sm px-12 mb-8",children:'Ensure your Google Sheet is set to "Anyone with the link can view" and contains the required headers.'}),(0,t.jsx)("a",{href:"https://docs.google.com/spreadsheets/d/1-lLjc1ckmf5dWx2TWga0GwyAhm_cpP4iFnege7fgV28/edit",target:"_blank",rel:"noreferrer noopener",className:"text-[#00ADC7] font-black uppercase tracking-widest text-xs hover:underline",children:"Configure Breeder Database â"})]})]})})}])}]);
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.