1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0ed8e-50b3-0000-6a86-d04a9fc2b9dc";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="00eaac19-98a8-5989-9d57-376bc7fd6ef8")}catch(e){}}();import{Q as P,Y as R,aN as V,H as F,au as U,bR as A,a1 as q,Z as G,g as i,h as e,F as f,k as C,N as M,i as l,j as a,p as r,w as Q,n as Y,m as g,a2 as Z,a3 as J,a4 as K,v as c,_ as W,bS as X,bT as ee,f as s,as as te,aD as se}from"./CCeOl0zp.js";import{_ as ie}from"./BBFlrm4p.js";import{_ as oe}from"./B14ymsaF.js";import{_ as ae}from"./Bzi49uIV.js";import"./CZp59iIO.js";import"./BXGDBzHl.js";const ne={class:"container-fluid absolute inset-x-0 bottom-0 z-10 flex flex-col gap-4 pb-16"},le={class:"max-w-2xl flex flex-col gap-4"},ce={key:0,class:"text-display-sm md:text-display-lg text-ink-inverse"},re={key:1,class:"text-semi text-ink-inverse-light"},de={key:0,class:"mb-10"},me={key:0,class:"text-display-xs md:text-display-sm text-ink mb-4"},pe={key:1,class:"text-ink-light max-w-2xl"},ue={key:1,class:"text-heading-sm md:text-heading text-ink mb-6"},_e={class:"flex flex-col gap-6"},he={key:1,class:"container-fluid pb-6 lg:pb-20"},we={__name:"[id]",async setup(fe){let d,v;const{t:I}=P(),{heroRef:N}=R(),m=V(),x=m.params.id;te({name:x});const{collection:t,fetchCollection:S,hasNextPage:_,isLoading:L,isInitialLoading:D}=F({id:x,first:24,lazy:!1}),{loadingTrigger:H}=U({fetchMore:S,isLoading:L,hasNextPage:_}),y=c(()=>t.value?.id===X),h=c(()=>!!t.value?.image),b=c(()=>t.value?.isCollectionSetChild===!0),p=c(()=>k.value&&!b.value&&h.value),k=c(()=>{const n=t.value;return n?h.value||!_.value&&(n.items?.length??0)<=12:!1});A(()=>{m.meta.transparentHeader=p.value,m.meta.noPaddingTop=p.value});const o=c(()=>t.value?.title?.trim()||""),T=([d,v]=q(()=>ee(m.path)),d=await d,v(),d);return G({noindex:!T,title:()=>o.value?I("collection_seo_title",{title:o.value}):void 0,description:()=>se(t.value?.description),image:()=>t.value?.image}),(n,u)=>{const $=W,j=ie,z=oe,B=K,E=ae;return s(),i(f,null,[e(k)&&!e(b)?(s(),i(f,{key:0},[e(p)?(s(),i("div",{key:0,ref_key:"heroRef",ref:N,class:"relative w-full aspect-[16/9] min-h-[720px] max-h-[100vh] overflow-hidden mb-10"},[e(t).image?(s(),C($,{key:0,provider:"bunny",width:"2560",height:"1440",quality:40,densities:"1x",preload:{fetchPriority:"high"},fetchpriority:"high",src:("transformImageUrl"in n?n.transformImageUrl:e(M))(e(t).image),alt:"",class:"absolute inset-0 w-full h-full object-cover object-top"},null,8,["src"])):l("",!0),u[0]||(u[0]=a("div",{class:"absolute inset-x-0 top-0 h-2/5 bg-gradient-to-b from-black/40 to-transparent pointer-events-none"},null,-1)),u[1]||(u[1]=a("div",{class:"absolute inset-x-0 bottom-0 h-3/4 bg-gradient-to-t from-black/90 via-black/30 to-transparent pointer-events-none"},null,-1)),a("div",ne,[a("div",le,[e(o)?(s(),i("h1",ce,r(e(o)),1)):l("",!0),e(t).description?(s(),i("p",re,r(e(t).description),1)):l("",!0)])])],512)):l("",!0),a("div",{class:Y(["container-fluid pb-6 lg:pb-20",!e(p)&&"pt-4"])},[e(h)?(s(),i("h2",ue,r(n.$t("titles_in_collection")),1)):(s(),i("div",de,[e(o)?(s(),i("h1",me,r(e(o)),1)):l("",!0),e(t).description?(s(),i("p",pe,r(e(t).description),1)):l("",!0)])),a("div",_e,[(s(!0),i(f,null,Q(e(t).items,(w,O)=>(s(),C(j,{key:w.id,item:w,"always-show-leaving":e(y),position:O+1},null,8,["item","always-show-leaving","position"]))),128))])],2)],64)):(s(),i("div",he,[g(z,{title:e(o),description:e(t).description,items:e(t).items,"is-initial-loading":e(D),"always-show-leaving":e(y)},null,8,["title","description","items","is-initial-loading","always-show-leaving"])])),Z(a("div",{ref_key:"loadingTrigger",ref:H,class:"flex justify-center py-10"},[g(B,{name:"ci-notch",size:32,class:"animate-spin text-ink"})],512),[[J,e(_)]]),g(E)],64)}}};export{we as default}; 2 3//# chunkId=00eaac19-98a8-5989-9d57-376bc7fd6ef8
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.