1import{r as e,t}from"./jsx-runtime-DGeXAQPT.js";import{t as n}from"./react-vt4WmSOl.js";import{A as r,D as i,F as a,T as o,j as s,k as c}from"./index-BBjV_ahL.js";var l=e(n(),1),u=t(),d={"60vh":`min-h-[48vh] sm:min-h-[60vh]`,"70vh":`min-h-[52vh] sm:min-h-[70vh]`,"80vh":`min-h-[58vh] sm:min-h-[80vh]`};function f({image:e,eyebrow:t,title:n,subtitle:f,body:p,className:m,height:h=`70vh`}){let g=`hero-${(0,l.useId)().replace(/[^a-zA-Z0-9_-]/g,``)}`,_=e.position??`center`,v=e.mobilePosition??_;return(0,u.jsxs)(`main`,{className:s(`bg-paper`,m),children:[(0,u.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`#${g}{object-position:${v};}@media(min-width:640px){#${g}{object-position:${_};}}`}}),(0,u.jsxs)(`section`,{className:s(`relative w-full bg-paper-sunk overflow-hidden hero-clamp`,d[h]),children:[(0,u.jsx)(`img`,{id:g,src:a(e.src),alt:e.alt,loading:`eager`,decoding:`async`,fetchpriority:`high`,className:s(`absolute inset-0 h-full w-full`,e.fit===`contain`?`object-contain`:`object-cover`)}),(0,u.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute inset-0`,style:{background:`radial-gradient(ellipse 85% 75% at 50% 45%, transparent 55%, color-mix(in oklch, var(--paper) 55%, transparent) 100%)`}}),(0,u.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute inset-x-0 bottom-0 h-[32%]`,style:{background:`linear-gradient(to bottom, transparent 0%, color-mix(in oklch, var(--paper) 70%, transparent) 65%, var(--paper) 100%)`}}),(0,u.jsx)(`div`,{className:`absolute inset-x-0 bottom-0`,children:(0,u.jsx)(r,{children:(0,u.jsx)(`div`,{className:`pb-space-7 md:pb-space-8`,children:(0,u.jsx)(`div`,{className:s(`inline-block max-w-[min(90vw,820px)]`,`scrim-ink-50`,`px-space-4 py-space-4 md:px-space-5 md:py-space-5`),children:(0,u.jsxs)(c,{gap:`3`,children:[t?(0,u.jsx)(o,{className:`text-paper/80`,children:t}):null,(0,u.jsx)(`h1`,{className:`font-serif text-display-l md:text-display-xl leading-[1.05] tracking-[-0.018em] text-paper`,children:n}),f?(0,u.jsx)(`p`,{className:`font-sans text-body-l md:text-body-xl text-paper/90 leading-[1.45] max-w-[56ch]`,children:f}):null]})})})})}),e.credit?(0,u.jsxs)(o,{className:`absolute bottom-space-2 right-space-3 text-paper/80`,children:[`Photography · `,e.credit]}):null]}),(0,u.jsx)(i,{pace:`tier-1`,surface:`paper`,children:(0,u.jsx)(r,{children:p})})]})}export{f as t};
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.