PageSourceSearch

https://www.ambfilmproductionhouse.com/assets/works-BU7VloYI.js

js ambfilmproductionhouse.com collected 2026-10-07 14:57:46 UTC 10,949 bytes, 1 lines download raw bytes

1import{d as e,l as t,r as n}from"./useRouter-D-xeXV9i.js";import{t as r}from"./useSuspenseQuery-CgQaduMH.js";import{F as i,d as a,f as o,l as s,p as c,u as l}from"./index-BQK3MtGJ.js";import{t as u}from"./award-DVvWKqcI.js";import{n as d,t as f}from"./site-shell-Wrplo8by.js";import{a as p,n as m,r as h,t as g}from"./dialog-bN4PvrXo.js";var _=e(t()),v=n();function y(){let{data:e}=r(c),{data:t}=r(a),{data:n}=r(l),{data:y}=r(o),{data:b}=r(s),[x,S]=(0,_.useState)(null),[C,w]=(0,_.useState)(!1),[T,E]=(0,_.useState)(null),[D,O]=(0,_.useState)(null),[k,A]=(0,_.useState)(null),j=e.find(e=>e.title.toLowerCase().includes(`historic`)),M=e.filter(e=>e!==j),N=y.reduce((e,t)=>((e[t.project_id]||=[]).push(t),e),{}),P=b.reduce((e,t)=>((e[t.night_id]||=[]).push(t),e),{});return(0,v.jsxs)(d,{children:[(0,v.jsx)(f,{eyebrow:`Selected Works`,title:(0,v.jsxs)(v.Fragment,{children:[`The `,(0,v.jsx)(`i`,{className:`text-brand`,children:`archive`}),`.`]}),intro:`A living index of the films, series, commercials, and music videos we've made — and the ones we're proudest of.`}),(0,v.jsxs)(`section`,{className:`px-6 py-24`,children:[j&&(0,v.jsxs)(`div`,{className:`mx-auto mb-16 max-w-[1100px]`,"data-reveal":`fade-up`,children:[(0,v.jsx)(`button`,{type:`button`,onClick:()=>w(e=>!e),className:`group block w-full overflow-hidden border border-border bg-muted focus:outline-none focus-visible:ring-2 focus-visible:ring-brand`,"aria-expanded":C,children:(0,v.jsx)(`div`,{className:`aspect-[16/9] overflow-hidden`,children:j.image_url&&(0,v.jsx)(`img`,{src:j.image_url,alt:j.title,className:`h-full w-full object-contain transition-transform duration-[1200ms] ease-out group-hover:scale-[1.02]`})})}),(0,v.jsxs)(`div`,{className:`mt-4 flex flex-col items-center text-center`,children:[(0,v.jsx)(`p`,{className:`font-mono text-[10px] uppercase tracking-[0.25em] text-brand`,children:j.genre||j.format}),(0,v.jsx)(`h3`,{className:`mt-2 font-serif text-2xl`,children:j.title}),(0,v.jsxs)(`p`,{className:`text-xs uppercase tracking-widest text-muted-foreground`,children:[j.client,` · `,j.year]}),(0,v.jsx)(`button`,{type:`button`,onClick:()=>w(e=>!e),className:`mt-4 font-mono text-[10px] uppercase tracking-[0.3em] text-brand hover:underline`,children:C?`— Hide moments`:`+ Reveal moments`})]}),(0,v.jsx)(`div`,{className:`grid overflow-hidden transition-[grid-template-rows,opacity,margin] duration-700 ease-out ${C?`mt-10 grid-rows-[1fr] opacity-100`:`grid-rows-[0fr] opacity-0`}`,children:(0,v.jsx)(`div`,{className:`min-h-0`,children:(0,v.jsx)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4`,children:t.map((e,t)=>(0,v.jsx)(`div`,{className:`aspect-[4/3] overflow-hidden bg-muted`,style:{transform:C?`translateY(0)`:`translateY(20px)`,opacity:+!!C,transition:`transform 600ms ease-out ${t*60}ms, opacity 600ms ease-out ${t*60}ms`},children:(0,v.jsx)(`img`,{src:e.image_url,alt:e.caption||`Historic moment`,loading:`lazy`,className:`h-full w-full object-cover transition-transform duration-700 hover:scale-105`})},e.id))})})})]}),(0,v.jsxs)(`div`,{className:`mx-auto mb-20 max-w-[1200px]`,"data-reveal":`fade-up`,children:[(0,v.jsxs)(`div`,{className:`mb-10 text-center`,children:[(0,v.jsx)(`p`,{className:`font-mono text-[10px] uppercase tracking-[0.35em] text-brand`,children:`A Three-Day Celebration`}),(0,v.jsxs)(`h2`,{className:`mt-3 font-serif text-3xl md:text-5xl`,children:[`Three-Day `,(0,v.jsx)(`i`,{className:`text-brand`,children:`"Bundeliwood Night"`})]}),(0,v.jsx)(`p`,{className:`mt-3 text-sm uppercase tracking-widest text-muted-foreground`,children:`Karyakram ka Ayojan Karaya`})]}),(0,v.jsx)(`div`,{className:`grid gap-6 sm:grid-cols-2 md:grid-cols-3`,children:n.map((e,t)=>{let n=P[e.id]??[],r=D===e.id;return(0,v.jsxs)(_.Fragment,{children:[(0,v.jsxs)(`div`,{"data-reveal":`bounce-up`,style:{transitionDelay:`${t*.12}s`},className:`group relative overflow-hidden border border-border bg-muted`,children:[(0,v.jsx)(`div`,{className:`aspect-[3/4] flex items-center justify-center overflow-hidden bg-gradient-to-br from-muted via-background to-muted`,children:e.image_url?(0,v.jsx)(`img`,{src:e.image_url,alt:e.title,loading:`lazy`,className:`h-full w-full object-cover transition-transform duration-[1200ms] ease-out group-hover:scale-[1.03]`}):(0,v.jsxs)(`div`,{className:`text-center px-6`,children:[(0,v.jsx)(`p`,{className:`font-mono text-[10px] uppercase tracking-[0.3em] text-brand`,children:e.day_label||`Day ${String(t+1).padStart(2,`0`)}`}),(0,v.jsx)(`p`,{className:`mt-4 font-serif text-2xl italic text-muted-foreground`,children:`Poster coming soon`})]})}),(0,v.jsxs)(`div`,{className:`border-t border-border p-4 text-center`,children:[(0,v.jsx)(`p`,{className:`font-mono text-[10px] uppercase tracking-[0.25em] text-brand`,children:e.subt
1itle||`Night ${t+1}`}),(0,v.jsx)(`h3`,{className:`mt-1 font-serif text-lg`,children:e.title||`Bundeliwood Night`}),n.length>0&&(0,v.jsx)(`button`,{type:`button`,onClick:()=>O(t=>t===e.id?null:e.id),className:`mt-3 font-mono text-[10px] uppercase tracking-[0.3em] text-brand hover:underline`,children:r?`— Hide photos`:`+ ${n.length} photo${n.length>1?`s`:``}`})]})]}),r&&n.length>0&&(0,v.jsx)(`div`,{className:`col-span-full`,children:(0,v.jsx)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4`,children:n.map((t,n)=>(0,v.jsx)(`button`,{type:`button`,onClick:()=>A({url:t.image_url,caption:t.caption??e.title}),className:`group/photo aspect-[4/3] overflow-hidden bg-muted focus:outline-none focus-visible:ring-2 focus-visible:ring-brand`,style:{animation:`posterRevealFade 700ms ease-out ${n*70}ms both`},children:(0,v.jsx)(`img`,{src:t.image_url,alt:t.caption||e.title,loading:`lazy`,className:`h-full w-full object-cover transition-transform duration-700 group-hover/photo:scale-105`})},t.id))})})]},e.id)})})]}),M.length>0&&(0,v.jsx)(`div`,{className:`poster-3d-stage mx-auto grid max-w-[1400px] gap-12 md:grid-cols-2 lg:grid-cols-3`,children:M.map((e,t)=>{let n=N[e.id]??[],r=T===e.id;return(0,v.jsxs)(_.Fragment,{children:[(0,v.jsxs)(`article`,{"data-reveal":`slide-3d`,style:{transitionDelay:`${t%3*160}ms`},className:`poster-3d group`,children:[(0,v.jsx)(`button`,{type:`button`,onClick:()=>S(e),className:`poster-deck relative block w-full overflow-hidden border border-border bg-black shadow-[0_30px_60px_-30px_rgba(0,0,0,0.4)] focus:outline-none focus-visible:ring-2 focus-visible:ring-brand`,children:(0,v.jsx)(`div`,{className:`${e.aspect===`wide`?`aspect-[16/9]`:`aspect-[3/4]`} overflow-hidden bg-muted`,children:e.image_url&&(0,v.jsx)(`img`,{src:e.image_url,alt:e.title,loading:`lazy`,className:`h-full w-full object-contain transition-transform duration-[1400ms] ease-out group-hover:scale-105`})})}),(0,v.jsxs)(`div`,{className:`mt-4 flex items-start justify-between gap-3`,children:[(0,v.jsxs)(`div`,{children:[(0,v.jsxs)(`p`,{className:`font-mono text-[10px] uppercase tracking-[0.25em] text-brand`,children:[`0`,t+1,` · `,e.genre||e.format]}),(0,v.jsx)(`h3`,{className:`mt-2 font-serif text-xl`,children:e.title}),(0,v.jsxs)(`p`,{className:`text-xs uppercase tracking-widest text-muted-foreground`,children:[e.client,` · `,e.year]})]}),n.length>0&&(0,v.jsx)(`button`,{type:`button`,onClick:()=>E(r?null:e.id),className:`shrink-0 border border-brand px-3 py-2 font-mono text-[10px] uppercase tracking-[0.3em] text-brand transition-colors hover:bg-brand hover:text-brand-foreground`,"aria-expanded":r,children:r?`— Hide`:`+ ${n.length} photos`})]})]}),r&&n.length>0&&(0,v.jsx)(`div`,{className:`col-span-full`,children:(0,v.jsx)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4`,children:n.map((t,n)=>(0,v.jsx)(`div`,{className:`aspect-[4/3] overflow-hidden bg-muted`,style:{animation:`posterRevealFade 600ms ease-out ${n*60}ms both`},children:(0,v.jsx)(`img`,{src:t.image_url,alt:t.caption||e.title,loading:`lazy`,className:`h-full w-full object-cover transition-transform duration-700 hover:scale-105`})},t.id))})})]},e.id)})}),(0,v.jsx)(`div`,{"data-reveal":`fade-up`,className:`mt-20 flex justify-center`,children:(0,v.jsxs)(i,{to:`/awards`,className:`group inline-flex items-center gap-3 border border-brand bg-brand px-8 py-4 text-xs font-bold uppercase tracking-[0.3em] text-brand-foreground transition-transform hover:scale-[1.03]`,children:[(0,v.jsx)(u,{className:`size-4`}),(0,v.jsx)(`span`,{children:`Awards & Recognition`}),(0,v.jsx)(`span`,{"aria-hidden":`true`,className:`transition-transform group-hover:translate-x-1`,children:`→`})]})})]}),(0,v.jsx)(g,{open:!!x,onOpenChange:e=>!e&&S(null),children:(0,v.jsx)(m,{className:`max-w-3xl overflow-hidden border-border bg-card p-0 sm:rounded-none`,children:x&&(0,v.jsxs)(`div`,{className:`grid md:grid-cols-[1.1fr_1fr]`,children:[(0,v.jsx)(`div`,{className:`relative ${x.aspect===`wide`?`aspect-[16/9]`:`aspect-[3/4]`} md:aspect-auto md:min-h-[520px] bg-muted`,children:x.image_url&&(0,v.jsx)(`img`,{src:x.image_url,alt:x.title,className:`absolute inset-0 h-full w-full object-contain`})}),(0,v.jsxs)(`div`,{className:`flex flex-col gap-6 p-8`,children:[(0,v.jsxs)(`div`,{className:`space-y-2`,children:[(0,v.jsx)(`p`,{className:`font-mono text-[10px] uppercase tracking-[0.3em] text-brand`,children:x.genre||`Film`}),(0,v.jsx)(p,{asChild:!0,children:(0,v.jsx)(`h3`,{className:`font-serif text-3xl leading-tight`,children:x.title})}),x.client&&(0,v.jsx)(`p`,{className:`text-xs uppercase tracking-widest text-muted-foreground`,children:x.client})]}),(0,v.jsx)(h,{asChild:!0,children:(0,v.jsx)(`p`,{className:`text-pretty font-serif text-base italic leading-relaxed text-accent`,children:x.synopsis||`A film from the AMB archive.`})}),(0,v.jsx)(`dl`,{className:`grid grid-cols-2 gap-x-6 gap-y-4 border-t border-border pt-6`,children:[{k:`Year`,v:x.year},{k:`Length`,v:x.length},{k:`Director`,v:x.director},{k:`Format`,v:x.format}].filter(e=>e.v).map(e=>(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`dt`,{className:`font-mono text-[10px] uppercase tracking-[0.25em] text-muted-foreground`,children:e.k}),(0,v.jsx)(`dd`,{className:`mt-1 font-serif text-lg`,children:e.v})]},e.k))})]})]})})}),k&&(0,v.jsxs)(`div`,{className:`fixed inset-0 z-[100] flex items-center justify-center bg-black/90 p-6 backdrop-blur-sm`,onClick:()=>A(null),style:{animation:`posterRevealFade 300ms ease-out both`},children:[(0,v.jsx)(`button`,{type:`button`,onClick:()=>A(null),className:`absolute right-6 top-6 border border-white/40 px-4 py-2 font-mono text-[10px] uppercase tracking-[0.3em] text-white hover:bg-white hover:text-black`,children:`Close ✕`}),(0,v.jsxs)(`figure`,{className:`relative max-h-[90vh] max-w-[90vw]`,onClick:e=>e.stopPropagation(),children:[(0,v.jsx)(`img`,{src:k.url,alt:k.caption||`Photo`,className:`max-h-[85vh] max-w-[90vw] object-contain shadow-2xl`}
1),k.caption&&(0,v.jsx)(`figcaption`,{className:`mt-4 text-center font-mono text-[11px] uppercase tracking-[0.25em] text-white/80`,children:k.caption})]})]})]})}export{y as component};

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.