1import{A as e,Ct as t,F as n,G as r,I as i,K as a,L as o,O as s,Q as c,T as l,W as u,d,it as f,j as p,k as m,q as h,rt as g,wt as _}from"./theme-Dr4Iz3jL.js";import{i as v}from"./app-C692B4mk.js";import{t as y}from"./GiscusComments-Cl_VIgf6.js";import{a as b,n as x}from"./data-D8w-Reg3.js";import{t as S}from"./ProjectThumb-C2a1Ro3i.js";import{t as C}from"./MediaCarousel-DPDIPWt3.js";var w={class:`col flex flex-col items-start gap-3 lg:gap-4`},T={class:`h-display-lg pt-3 lg:pt-8`},E={class:`text-[17px] leading-[1.5] text-muted-foreground lg:text-xl`},D={key:0,class:`flex w-full flex-col gap-2.5 pt-2 sm:w-auto sm:flex-row`},O={key:0,class:`col grid grid-cols-2 gap-4 pt-8 lg:grid-cols-3 lg:gap-y-6 lg:pt-12`},k={class:`text-[13px] leading-[1.4] text-muted-foreground lg:text-sm`},A={class:`text-[15px] leading-[1.45] lg:text-base`},j={class:`pt-14 lg:pt-24`},M={key:2,class:`col mt-16 print:hidden`},N={key:3,"aria-label":`Next case study`,class:`col flex flex-col gap-3 pt-18 print:hidden lg:gap-4 lg:pt-30`},P={class:`flex min-w-0 flex-1 flex-col gap-0.5`},F={class:`text-xl font-medium leading-[1.3] decoration-1 underline-offset-4 group-hover:underline lg:text-2xl`},I={class:`text-[13px] leading-[1.4] text-muted-foreground lg:text-[15px]`},L=o({__name:`WrapperProject`,props:{frontmatter:{}},setup(o){let L=o,R=d(),z=b(),B=z.findIndex(e=>e.path===R.path),V=z[B]??{...L.frontmatter,path:R.path,title:L.frontmatter.display||L.frontmatter.title},H=B>=0&&z.length>1?z[(B+1)%z.length]:void 0,U=x(V),W=U.some(e=>e.video),G=g();return(d,g)=>{let b=h(`RouterLink`),x=v,L=C,R=y,z=S;return u(),p(`article`,null,[s(`header`,w,[i(b,{to:`/projects`,class:`link-arrow mt-3 py-3 lg:mt-10 lg:py-0`},{default:c(()=>[...g[1]||=[s(`span`,{class:`i-ph-arrow-left h-4! w-4!`,"aria-hidden":`true`},null,-1),n(` All projects `,-1)]]),_:1}),s(`h1`,T,_(f(V).title),1),s(`p`,E,_(f(V).description),1),f(W)||f(V).link?(u(),p(`div`,D,[f(W)?(u(),p(`button`,{key:0,type:`button`,class:`btn-primary flex-1 px-4! lg:flex-none lg:px-5!`,onClick:g[0]||=e=>f(G)?.playFirstVideo()},[...g[2]||=[n(` Watch clip `,-1),s(`span`,{class:`i-ph-play-fill h-4! w-4!`,"aria-hidden":`true`},null,-1)]])):e(``,!0),f(V).link?(u(),m(x,{key:1,to:f(V).link,class:t([f(W)?`btn-secondary`:`btn-primary`,`flex-1 px-4! lg:flex-none lg:px-5!`])},{default:c(()=>[n(_(f(V).linkLabel??`Visit project`)+` `,1),g[3]||=s(`span`,{class:`i-ph-arrow-up-right h-4! w-4!`,"aria-hidden":`true`},null,-1)]),_:1},8,[`to`,`class`])):e(``,!0)])):e(``,!0)]),f(V).facts?(u(),p(`dl`,O,[(u(!0),p(l,null,r(f(V).facts,(e,t)=>(u(),p(`div`,{key:t,class:`flex flex-col gap-0.5`},[s(`dt`,k,_(t),1),s(`dd`,A,_(e),1)]))),128))])):e(``,!0),f(U).length?(u(),m(L,{key:1,ref_key:`carousel`,ref:G,items:f(U),label:`${f(V).title} media`,class:`pt-8 lg:pt-14`},null,8,[`items`,`label`])):e(``,!0),s(`div`,j,[a(d.$slots,`default`)]),o.frontmatter.disableComments===!0?e(``,!0):(u(),p(`div`,M,[i(R)])),f(H)?(u(),p(`nav`,N,[g[5]||=s(`p`,{class:`text-sm leading-[1.4] text-muted-foreground lg:text-[15px]`},` Next case study `,-1),i(b,{to:f(H).path,class:`group flex items-center gap-3.5 lg:gap-5`},{default:c(()=>[i(z,{project:f(H),class:`h-[54px] w-24 shrink-0 rounded-md! lg:h-[90px] lg:w-40`},null,8,[`project`]),s(`span`,P,[s(`span`,F,_(f(H).title),1),s(`span`,I,_([f(H).role,f(H).year].filter(
1Boolean).join(`, `)),1)]),g[4]||=s(`span`,{class:`btn-icon lg:h-12! lg:w-12!`,"aria-hidden":`true`},[s(`span`,{class:`i-ph-arrow-right h-4! w-4!`})],-1)]),_:1},8,[`to`])])):e(``,!0)])}}});export{L 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.