import{j as b,v as _,x as y,i as v,y as k,r as j,B as g,o as l,c as o,d as r,e as s,b as m,p as i,f as u,t as H,D as C}from"./entry.7b317ec5.js";import{_ as x}from"./ConceptCredit.316bf7de.js";import{G as w}from"./GlitchHeaderStatic.acbf4c5b.js";const L={class:"sm:hidden relative"},R=["alt","src"],T=["src","alt"],U={class:"text-[10px] sm:hidden absolute left-auto right-6 md:left-12 lg:left-20 xl:left-36 bottom-4 md:bottom-6"},z={class:"display xxxs mt-10 sm:mt-0 mb-[12px] text-tt-grey-9"},B=["innerHTML"],M=["innerHTML"],O={class:"credit hidden sm:inline-block text-[10px] absolute right-auto left-20 xl:left-28 xl:ml-[4px] bottom-4 md:bottom-6"},S={__name:"HeroFullWidth",props:{page:Object,height:String,longHeader:Boolean},setup(e){const t=e,f=_(),{screenWidth:n}=y(f),d=v(),p=k();new j(t.padding||71),g(()=>{if(t.page)return n.value>=768?"700px":"320px"}),g(()=>{if(t.page)return t.page.template==="apply"&&n.value>=768?0:n.value>=768?t.height:"320px"});const h=g(()=>{let c=t.page.featured_project.hero_image.filename_disk;return d.CLOUDFRONT_URL+"/"+c});return(c,a)=>(l(),o("div",{class:i(["header project-header lg:bg-tt-black lg:mb-0",{"cross-cursor":e.page.featured_project}])},[r("div",L,[e.page.featured_project.mobile_hero_image&&e.page.featured_project.mobile_hero_image.filename_disk?(l(),o("img",{key:0,alt:"Art by "+e.page.featured_project.artist,src:s(d).CLOUDFRONT_URL+"/"+e.page.featured_project.mobile_hero_image.filename_disk,loading:"lazy"},null,8,R)):(l(),o("img",{key:1,src:s(d).API_URL+"/assets/"+e.page.featured_project.mobile_hero_image,alt:"Art by "+e.page.featured_project.artist,loading:"lazy"},null,8,T)),r("div",U,[m(x,{artist:e.page.featured_project.artist,conceptCredit:e.page.featured_project.concept_credit},null,8,["artist","conceptCredit"])])]),r("div",{class:"mx-auto max-w-[1440px] relative sm:bg-cover sm:flex sm:items-center sm:justify-end bg-no-repeat hero-background-image bg-center sm:h-[480px] md:h-[479px] lg:h-[622px] xl:h-[648px]",style:C({backgroundImage:"url("+s(h)+")"})},[r("div",{class:i([s(p).path.replace("/",""),"relative text px-6 sm:w-1/2 sm:pr-8 cursor-default"]),onClick:a[2]||(a[2]=u(()=>{},["stop"]))},[r("h1",z,H(e.page.h1),1),m(w,{route:c.$route.fullPath,class:i(["mb-[12px] text-tt-grey-9 lg:max-w-[260px] xl:max-w-[320px]",{"long-header":e.longHeader,"apply-header":s(p).name==="apply"}]),element:"h2",text:e.page.h2,size:"large",hero:!0,triggerAnimation:!0},null,8,["route","class","text"]),e.page.hero_text?(l(),o("div",{key:0,onClick:a[0]||(a[0]=u(()=>{},["stop"])),class:i(["text-tt-grey-4 lg:large-text lg:max-w-[420px] styled-links",{"mt-4":e.longHeader}]),innerHTML:e.page.hero_text},null,10,B)):(l(),o("div",{key:1,onClick:a[1]||(a[1]=u(()=>{},["stop"])),class:i([{"mt-4":e.longHeader,"sm:mt-0":e.longHeader},"text-tt-grey-4 lg:large-text lg:max-w-[420px] styled-links pb-8 lg:pb-0"]),innerHTML:e.page.body},null,10,M))],2),r("div",O,[m(x,{artist:e.page.featured_project.artist,conceptCredit:e.page.featured_project.concept_credit},null,8,["artist","conceptCredit"])])],4)],2))}},I=b(S,[["__scopeId","data-v-9f2b9528"]]);export{I as _};
