1import{c as p,b as f,r as x,j as s,a,G as g}from"./index-DUXfgIUF.js";import{F as j}from"./FilmstripGallery-DTxLEQip.js";import{S as c}from"./SEO-D6egqeBe.js";import h from"./NotFound-Duw2Xt-k.js";import"./proxy-CJpZFTna.js";function k(){var o;const{slug:n}=p(),{getSeriesBySlug:l,photographer:t,loading:m}=f(),e=n?l(n):null,r=e?`${e.title} - ${(t==null?void 0:t.name)||"Portrait Photographer"}`:(t==null?void 0:t.name)||"Portrait Photographer",u=(e==null?void 0:e.description)||`${(e==null?void 0:e.title)||"Photography"} series by ${(t==null?void 0:t.name)||"professional photographer"}`,d=e?{"@context":"https://schema.org","@type":"ImageGallery",name:e.title,description:e.description,image:e.images.map(i=>({"@type":"ImageObject",url:i.src,caption:i.caption}))}:void 0;return x.useEffect(()=>{e&&(document.title=r);const i=document.createElement("link");i.rel="preconnect",i.href="https://images.unsplash.com",document.querySelector(`link[href="${i.href}"]`)||document.head.appendChild(i)},[e,r]),m?s.jsxs(a,{children:[s.jsx(c,{title:"Loading...",description:"Loading series"}),s.jsx("div",{className:"h-full flex items-center justify-center",children:s.jsx(g,{})})]}):e?s.jsxs(a,{children:[s.jsx(c,{title:r,description:u,image:(o=e.images[0])==null?void 0:o.src,type:"article",structuredData:d}),s.jsx("div",{className:"h-full flex items-center justify-center",children:s.jsx(j,{images:e.images})})]}):s.jsx(h,{})}export{k 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.