PageSourceSearch

https://babaobscura.com/assets/press-Bum6LbBG.js

js babaobscura.com collected 2026-09-24 13:44:55 UTC 5,116 bytes, 1 lines download raw bytes

1import{j as a,S as o,B as d,q as c,u as x,f as p,a as u,v as m,o as g}from"./index-Dr1GJUhr.js";import{u as h,C as f,G as b}from"./use-page-gate-Ny4_w4ZR.js";import{M as v,V as j}from"./Marquee-D-sgH5hG.js";import{P as k}from"./PageHero-DpZhDEBq.js";function y(t){if(!t)return null;const r=new Date(`${t}T12:00:00Z`);return Number.isNaN(r.getTime())?null:r.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",timeZone:"UTC"})}function l({item:t,variant:r="default"}){const s=y(t.publishedAt),i=t.url.replace(/^https?:\/\//,"").replace(/\/.*$/,""),e=r==="featured";return a.jsx("article",{className:e?"depth-card group relative rounded-2xl border-2 border-mustard bg-cream overflow-hidden flex flex-col":"depth-card group relative rounded-2xl border-2 border-ink/25 bg-cream overflow-hidden flex flex-col",children:a.jsxs("a",{href:t.url,target:"_blank",rel:"noopener noreferrer nofollow",onClick:()=>c("press_outbound_click",{publication:t.publication,url:t.url,featured:e}),className:"flex flex-col h-full focus:outline-none focus-visible:ring-2 focus-visible:ring-brick",children:[a.jsx("div",{className:`w-full overflow-hidden bg-ink/10 flex items-center justify-center ${e?"aspect-[2/1]":"aspect-[1.91/1]"}`,children:t.imageUrl?a.jsx(o,{src:t.imageUrl,alt:t.imageAlt||`${t.title} — ${t.publication}`,w:e?1200:760,h:e?600:400,sizes:e?"(max-width: 640px) 92vw, 900px":"(max-width: 640px) 92vw, 420px",loading:"lazy",decoding:"async",width:1200,height:630,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.03]"}):a.jsx(d,{className:e?"h-14 w-auto opacity-60":"h-10 w-auto opacity-60"})}),a.jsxs("div",{className:`flex flex-col gap-3 flex-1 ${e?"p-7 md:p-9":"p-6"}`,children:[a.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 font-display uppercase tracking-widest text-xs text-ink/70",children:[e&&a.jsx("span",{className:"rounded-full bg-mustard px-2.5 py-0.5 text-ink",children:"Featured"}),a.jsx("span",{className:"text-brick",children:t.publication||i}),s&&a.jsx("span",{children:s})]}),a.jsx("h2",{className:`font-display text-ink leading-tight [text-wrap:balance] ${e?"text-2xl md:text-4xl":"text-xl md:text-2xl"}`,children:t.title||i}),t.quote?a.jsxs("blockquote",{className:`border-l-2 border-mustard pl-3 italic text-ink/80 leading-relaxed ${e?"text-base md:text-lg":"text-sm"}`,children:["“",t.quote,"”"]}):t.excerpt?a.jsx("p",{className:`text-ink/80 leading-relaxed ${e?"text-base md:text-lg":"text-sm"}`,children:t.excerpt}):null,a.jsx("span",{className:"mt-auto pt-2 font-display uppercase tracking-widest text-sm text-ink group-hover:text-brick transition-colors",children:"Read the article →"})]})]})})}function $(){const{gate:t,showTeaser:r,previewing:s}=h("press"),{data:i}=x(p);return r?a.jsx(f,{eyebrow:i?.dateLabel,headline:t?.headline||"Coming soon",body:t?.body||void 0}):a.jsxs(a.Fragment,{children:[s?a.jsx(b,{headline:t?.headline||"Coming soon"}):null,a.jsx(w,{})]})}function w(){const{data:t}=u(m),r=t.filter(e=>e.featured),s=t.filter(e=>!e.featured),i={"@context":"https://schema.org","@type":"ItemList",name:"Baba Obscura press coverage",itemListElement:t.map((e,n)=>({"@type":"ListItem",position:n+1,url:e.url,item:{"@type":"NewsArticle",headline:e.title||e.publication,url:e.url,datePublished:e.publishedAt??void 0,description:e.excerpt||void 0,image:e.imageUrl?e.imageUrl.startsWith("http")?e.imageUrl:`${g}${e.imageUrl}`:void 0,publisher:e.publication?{"@type":"Organization",name:e.publication}:void 0}}))};return a.jsxs(a.Fragment,{children:[a.jsx(k,{src:"/videos/backdrop-5.mp4",poster:"/backdrops/backdrop-5.jpg",overlayClassName:"bg-[linear-gradient(180deg,color-mix(in_oklab,var(--ink)_70%,transparent)_0%,color-mix(in_oklab,var(--ink)_85%,transparent)_100%)]",eyebrow:"Word on the street",title:"Press"}),a.jsx(v,{text:"Press & Coverage",separator:"✦"}),a.jsxs("section",{className:"relative overflow-hidden py-12 md:py-20",children:[a.jsx(j,{src:"/videos/backdrop-8.mp4",poster:"/backdrops/backdrop-8.jpg",overlayClassName:"bg-[linear-gradient(180deg,color-mix(in_oklab,var(--lavender)_88%,transparent)_0%,color-mix(in_oklab,var(--lavender)_92%,transparent)_100%)]"}),a.jsxs("div",{className:"relative z-10 mx-auto max-w-7xl px-5 md:px-8",children:[a.jsx("p",{className:"mx-auto mb-10 max-w-2xl text-center text-ink/80 leading-relaxed",children:"Coverage of Baba Obscura from the writers, zines and stations who came out to see it for themselves. Press inquiries? Find contact details on the info page."}),t.length===0?a.jsx("p",{className:"text-center font-display uppercase tracking-widest text-ink/70",children:"Coverage coming soon."}):a.jsxs(a.Fragment,{children:[r.length>0&&a.jsx("div",{className:`mb-10 grid gap-6 ${r.length>1?"lg:grid-cols-2":"grid-cols-1"}`,children:r.map(e=>a.jsx(l,{item:e,variant:"featured"},e.id))}),s.length>0&&a.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:s.map(e=>a.jsx(l,{item:e},e.id))})]})]})]}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(i)}})]})}export{$ as component};

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.