1import{B as g,H as w}from"./Ba-gr6Kn.js";import{O as $,N as B,r as C,f as c,w as d,T as p,V as b,a as e,u as s,c as i,b as o,t as x,l as n,_ as z,F as L,e as N,d as V,n as A}from"./Cqn8-1BJ.js";import{_ as H}from"./B6w4Cwa1.js";import{_ as f}from"./B4hm3YWe.js";const D={key:1,id:"photo-album",class:"page"},F={class:"text wrap border-top"},R={class:"image-grid"},S={class:"grid"},W={__name:"[slug]",async setup(T){let l,u;const _=$(),{pending:h,data:m}=([l,u]=B(()=>b(_.path,()=>$fetch(`/api/photos?slug=${_.params.slug}`),"$Sj33QqdAIL")),l=await l,u(),l),t=C([]);return(j,r)=>{const y=g,v=w;return e(),c(p,{name:"fade",mode:"out-in"},{default:d(()=>[s(h)?(e(),c(H,{key:0})):(e(),i("div",D,[o("div",F,[o("h2",null,x(s(m).title),1),r[1]||(r[1]=o("br",null,null,-1)),n(z,{label:"Return to Watch and Listen",to:"/watch-and-listen",colour:"black"})]),o("div",R,[o("div",S,[(e(!0),i(L,null,N(s(m).images,(a,k)=>(e(),i("div",{key:k,class:"grid-item"},[n(f,{src:a[0],w:a[1],h:a[2],sizes:"20",wrap:!0,onClick:q=>t.value=a},null,8,["src","w","h","onClick"])]))),128))])]),n(p,{name:"fade"},{default:d(()=>[s(t).length?(e(),i("div",{key:0,id:"photo-overlay",onClick:r[0]||(r[0]=a=>t.value=[])},[(e(),c(f,{src:s(t)[0],key:s(t)[0],sizes:"100"},null,8,["src"]))])):V("",!0)]),_:1}),n(v,null,{default:d(()=>[n(y,{class:A({"photo-overlay":s(t).length})},null,8,["class"])]),_:1})]))]),_:1})}}};export{W 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.