1import{_ as w}from"./5w5yvCWH.js";import{d as _,E as r,D as a,F as t,H as d,bW as k,X as c,P as g,M as N,N as R,b as E,aP as S,eK as D,c9 as F,C as b,V as m,h as f,aL as $,Y as y}from"./DlFYsrWP.js";import{_ as C}from"./Bo0dyPxh.js";import"./C392xkM9.js";import"./weAkk1de.js";import"./gUtqD_h6.js";const P={class:"bg-[#f5f6fa] min-h-screen"},H={class:"bg-white"},V={class:"container mx-auto px-4 lg:px-8 py-12 lg:py-20"},A={class:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 items-start"},B={class:"lg:col-span-7"},I={class:"text-3xl md:text-4xl lg:text-5xl font-bold text-[#0b0c18] leading-tight mb-4"},q={key:0,class:"text-lg lg:text-xl text-gray-600 leading-relaxed mb-8 max-w-2xl"},L={key:1,class:"rounded-2xl overflow-hidden border border-gray-100 shadow-sm mb-10 lg:mb-0"},O=["src","alt"],W={class:"lg:col-span-5"},j={class:"rounded-3xl bg-white border border-gray-200 shadow-xl shadow-[#0b0c18]/5 p-6 lg:p-8 lg:sticky lg:top-24"},K={key:0,class:"py-16 lg:py-20"},T={class:"container mx-auto px-4 lg:px-8 max-w-4xl"},G={class:"space-y-4"},M={class:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-[#6654f5] to-[#ca5a8b] text-white font-bold text-sm"},Y={class:"text-base text-gray-800 leading-relaxed pt-1.5"},U={key:1,class:"py-14"},X={class:"container mx-auto px-4 lg:px-8 max-w-3xl text-center"},z={class:"text-xl lg:text-2xl text-[#0b0c18] leading-relaxed font-medium"},J=_({__name:"ResourceDownloadPage",props:{resource:{}},setup(s){return(n,e)=>{const i=w;return a(),r("main",P,[t("section",H,[t("div",V,[t("div",A,[t("div",B,[e[0]||(e[0]=t("p",{class:"mb-3 text-[11px] font-bold uppercase tracking-[0.2em] text-[#6654f5]"},"FREE RESOURCE",-1)),t("h1",I,c(s.resource.title),1),s.resource.subtitle?(a(),r("p",q,c(s.resource.subtitle),1)):d("",!0),s.resource.cover_image?(a(),r("div",L,[t("img",{src:s.resource.cover_image,alt:s.resource.title,class:"w-full h-auto block",loading:"eager"},null,8,O)])):d("",!0)]),t("div",W,[t("div",j,[e[1]||(e[1]=t("h2",{class:"text-xl lg:text-2xl font-bold text-[#0b0c18] mb-1"},"Get it in your inbox",-1)),e[2]||(e[2]=t("p",{class:"text-sm text-gray-500 mb-5"},"No drip sequence. One email, the resource, and a way to talk to Sam if you want to.",-1)),g(i,{slug:s.resource.slug,"collect-company":!!s.resource.collect_company},null,8,["slug","collect-company"])])])])])]),s.resource.what_inside?.length?(a(),r("section",K,[t("div",T,[e[3]||(e[3]=t("p",{class:"text-[11px] font-bold uppercase tracking-[0.2em] text-[#ca5a8b] mb-3"},"WHAT'S INSIDE",-1)),e[4]||(e[4]=t("h2",{class:"text-2xl lg:text-3xl font-bold text-[#0b0c18] mb-8"},"What you'll walk away with",-1)),t("ul",G,[(a(!0),r(N,null,R(s.resource.what_inside,(x,o)=>
1(a(),r("li",{key:o,class:"flex items-start gap-4 rounded-2xl bg-white border border-gray-100 p-5"},[t("span",M,c(o+1),1),t("span",Y,c(x),1)]))),128))])])])):d("",!0),e[8]||(e[8]=k('<section class="bg-white py-14"><div class="container mx-auto px-4 lg:px-8 max-w-4xl"><div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center"><div><h3 class="text-3xl md:text-4xl font-bold bg-gradient-to-r from-[#ca5a8b] to-[#f2b347] bg-clip-text text-transparent mb-1">220K+</h3><p class="text-sm text-gray-500">Professionals trained in data and analytics</p></div><div><h3 class="text-3xl md:text-4xl font-bold bg-gradient-to-r from-[#ca5a8b] to-[#f2b347] bg-clip-text text-transparent mb-1">50+</h3><p class="text-sm text-gray-500">Production agents deployed for businesses</p></div><div><h3 class="text-3xl md:text-4xl font-bold bg-gradient-to-r from-[#ca5a8b] to-[#f2b347] bg-clip-text text-transparent mb-1">10+</h3><p class="text-sm text-gray-500">Years in data and analytics</p></div></div></div></section>',1)),s.resource.audience_line?(a(),r("section",U,[t("div",X,[e[5]||(e[5]=t("p",{class:"text-[11px] font-bold uppercase tracking-[0.2em] text-[#6654f5] mb-3"},"WHO IT'S FOR",-1)),t("p",z,c(s.resource.audience_line),1),e[6]||(e[6]=t("p",{class:"text-sm text-gray-500 mt-6"},"I read every reply. Hit reply once it lands and tell me where you're stuck.",-1)),e[7]||(e[7]=t("p",{class:"text-sm text-gray-700 font-semibold mt-1"},"Sam McKay, Founder · Enterprise DNA",-1))])])):d("",!0)])}}}),Q={key:1,class:"bg-white min-h-screen flex items-center justify-center px-4"},Z={class:"text-center max-w-md"},tt={class:"flex gap-3 justify-center"},nt=_({__name:"[slug]",async setup(s){let n,e;const i=E(),x=String(i.params.slug),{data:o}=([n,e]=S(()=>D("/api/resources/manifest",{query:{slug:x,preview:i.query.preview,token:i.query.token},default:()=>null,onResponseError({response:u}){u.status===404||u.status}},"$GFCPxbnRSb")),n=await n,e(),n);return F(()=>({title:o.value?`${o.value.title} | Enterprise DNA`:"Resource not found",meta:o.value?[{name:"description",content:o.value.subtitle||""},{property:"og:title",content:o.value.title},{property:"og:description",content:o.value.subtitle||""},...o.value.cover_image?[{property:"og:image",content:o.value.cover_image}]:[]]:[]})),(u,l)=>{const h=J,p=$,v=C;return a(),b(v,{name:"new-home"},{default:m(()=>[f(o)?(a(),b(h,{key:0,resource:f(o)},null,8,["resource"])):(a(),r("div",Q,[t("div",Z,[l[2]||(l[2]=t("h1",{class:"text-3xl font-bold text-[#0b0c18] mb-3"},"Resource not found",-1)),l[3]||(l[3]=t("p",{class:"text-gray-500 mb-6"},"It might have been retired. Browse the catalog or head home.",-1)),t("div",tt,[g(p,{to:"/downloads",class:"rounded-full bg-[#0b0c18] text-white px-5 py-2.5 text-sm font-semibold"},{default:m(()=>[...l[0]||(l[0]=[y("All resources",-1)])]),_:1}),g(p,{to:"/",class:"rounded-full border border-gray-300 px-5 py-2.5 text-sm font-semibold text-[#0b0c18]"},{default:m(()=>[...l[1]||(l[1]=[y("Home",-1)])]),_:1})])])]))]),_:1})}}});
1export{nt 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.