1import{_ as Ue}from"./Field.7322a01b.js";import{_ as Me}from"./Error.f57eebfb.js";import{a as d,h as Q,q as c,x as v,y as i,u as t,z as P,O as A,X as Ie,H as M,A as k,R as ne,U as oe,m as X,I as N,E as S,b as O,F as B,C as H,D as G,M as Ae,n as ce,N as ue,V as He,$ as Ye,a0 as Fe,g as Le,i as Ke,w as De,o as qe,c as Ge,d as Je,j as J,a1 as Qe,f as Ne,S as Xe,T as Ze,p as et,r as tt,P as te,Q as re}from"./swiper-vue.1b2a8b42.js";/* empty css */import{_ as z}from"./_plugin-vue_export-helper.c27b6911.js";import{_ as Ee}from"./Sanity.205561ac.js";import{_ as Oe}from"./CloseButton.c46bd095.js";import{_ as me,a as nt}from"./sanity-content.76a65c08.js";import{_ as Re}from"./nuxt-link.928736e8.js";import{b as se,d as je,a as ot,g as st,R as at,h as Ve,_ as lt,i as it,j as rt}from"./entry.7d939621.js";import{u as Z}from"./useLayoutState.5f5eff8f.js";import{_ as ct,c as ut}from"./client-only.40156c03.js";import{u as Be}from"./useMediaAssets.419faa5e.js";import{u as ze}from"./asyncData.48e529f7.js";import{d as dt}from"./directors.1a1810e4.js";import{N as We,u as pt,b as mt}from"./axios.93df6217.js";import{_ as ft}from"./Lightbox.0378f31d.js";import{u as _t}from"./cookie.c2dfd3c6.js";import{u as vt}from"./useCheckout.16d55811.js";import"./components.6c40c077.js";/* empty css *//* empty css */const ht=e=>(ne("data-v-24c56820"),e=e(),oe(),e),gt={class:"relative w-full"},yt=ht(()=>i("label",{for:"email",class:"sr-only"},null,-1)),xt=["value"],wt=["disabled"],bt={__name:"Newsletter",props:{hidePopup:Function},setup(e){const{subscriptionConfig:n}=Z(),a=d(""),o=d(""),l=d(!1),u=d(!0),{hidePopup:m}=e,$=Q(()=>{var y;return((y=n==null?void 0:n.value)==null?void 0:y.successMessage)||"Thank you!"}),f=Q(()=>{var y;return((y=n==null?void 0:n.value)==null?void 0:y.errorMessage)||"Whoops something went wrong on our end"}),V=()=>{var y;try{if(!((y=a==null?void 0:a.value)!=null&&y.length))return u.value=!1,o.value="Email Required";l.value=!0,window.setTimeout(()=>{u.value=!0,o.value=$.value,l.value=!1,localStorage.setItem(We,!0),m&&setTimeout(()=>{m()},2e3)},2e3)}catch(h){console.log(h),l.value=!1,u.value=!1,o.value=f.value}};return(y,h)=>{const x=Me;return c(),v("div",gt,[i("form",{class:"newsletter-form w-full h-12 border border-solid border-black px-4 flex items-center gap-x-4",onSubmit:Ie(V,["prevent"])},[yt,i("input",{class:"w-full",name:"newsletter-signup-alert",id:"newsletter-signup-alert",type:"email",value:t(a),onInput:h[0]||(h[0]=I=>a.value=I.target.value),placeholder:"Email Address"},null,40,xt),i("button",{class:P([t(l)&&"opacity-50 pointer-events-none","border-solid border-b border-client-black text-body-small"]),disabled:t(l),type:"submit"},A(t(l)?"Loading":"Submit"),11,wt)],32),i("div",{class:P(["absolute -bottom-6 w-full text-right mx-auto",t(u)?"text-notice":"text-alert"])},[t(o)?(c(),M(x,{key:0,msg:t(o),clearMessage:()=>{o.value="",u.value=!0}},null,8,["msg","clearMessage"])):k("",!0)],2)])}}},kt=z(bt,[["__scopeId","data-v-24c56820"]]),$t={class:"newsletter-content w-full h-full bg-white py-16 px-8"},St=["textContent"],Ct=["textContent"],Pt={__name:"NewsletterPopup.client",props:{title:String,description:String,enabled:Boolean},setup(e){const{title:n,description:a,enabled:o}=e,l=d(!1);return X(()=>{!localStorage.getItem(We)&&o&&setTimeout(()=>{l.value=!0},5e3)}),(u,m)=>{const $=kt,f=ft;return t(l)?(c(),M(f,{key:0,hideLightbox:()=>l.value=!1},{default:N(()=>[i("div",$t,[e.title?(c(),v("span",{key:0,class:"block mb-8",textContent:A(e.title)},null,8,St)):k("",!0),e.description?(c(),v("span",{key:1,class:"block mb-8",textContent:A(e.description)},null,8,Ct)):k("",!0),S($,{hidePopup:()=>l.value=!1},null,8,["hidePopup"])])]),_:1},8,["hideLightbox"])):k("",!0)}}},Tt=z(Pt,[["__scopeId","data-v-f9ad3474"]]),Vt={class:"flex flex-col md:flex-row items-start md:items-center uppercase gap-x-2 z-50"},Mt=["textContent"],It={class:"font-gtMono flex gap-x-1 items-center"},At=["textContent"],Lt=["src","poster"],Nt={__name:"ActiveVideo",props:{activeVideo:Object,activeVideoPosition:Object,activeDirector:Object,hideActiveVideo:Function},setup(e){const{generateVideoPoster:n}=Be(),a=se(),o=je(),l=d(null),u=d(!1),m=d(null),{activeVideo:$,activeVideoPosition:f,activeDirector:V,hideActiveVideo:y}=e;O($,x=>{},{deep:!0}),O(a,(x,I)=>{x.name==="directors-slug"&&h()},{deep:!0});const h=()=>{document.querySelector(".active-video-header").classList.add("please-fucking-hide"),m.value.classList.add("scale-down"),l.value.style.backgroundColor="transparent",o.push(`/directors/${V.slug}`),setTimeout(()=>{y()},500)};return X(()=>{u.value=!0,setTimeout(()=>{l.value.style.backgroundColor=`${V.background}`},250)}),(x,I)=>{var p,s;const b=Oe;return c(),v("div",{ref_key:"activeVideoNode",ref:l,class:"active-video fixed top-0 left-0 w-screen h-screen z-[1000] bg-transparent transition-all duration-500 overscroll-contain"},[i("div",{class:P([t(u)&&"active-header","active-video-header w-full flex items-start p-4 md:items-center justify-between h-[80px] px-6 transition-all duration-500"])},[i("h1",Vt,[i("span",{textContent:A(e.activeVideo.title)},null,8,Mt),i("span",It,[(c(!0),v(B,null,H((s=(p=e.activeDirector)==null?void 0:p.title)==null?void 0:s.split(" "),C=>(c(),v("span",{key:C,textContent:A(C)},null,8,At))),128))])]),S(b,{class:"z-50",handleClick:h})],2),i("div",{ref_key:"videoContainer",ref:m,class:"absolute rounded-[16px] overflow-hidden scale-up bg-black transition-all duration-500 z-50",style:G(e.activeVideoPosition?`width: ${e.activeVideoPosition.width}px; height: ${e.activeVideoPosition.height}px; top: ${e.activeVideoPosition.top}px; left: ${e.activeVideoPosition.left}px;`:"width: 100%; height: 100%; top: 50%; left: 50%;")},[i("video",{class:"w-full h-full object-cover block",src:e.activeVideo.videoURL,loop:"",controls:"",autoplay:"",playsinline:"",muted:!1,poster:e.activeVideo.image&&t(n)(e.activeVideo.image)},null,8,Lt)],4),i("button",{onClick:h,class:"w-full h-full active-video-close absolute top-0 left-0 z-40 md:block hidden"})],512)}}},Et=z(Nt,[["__scopeId","data-v-86e753da"]]),Ot={key:0,class:"video-container max-w-[50vw] w-full bg-black aspect-[16/9] absolute-center-v-h z-10 rounded-[16px] overflow-hidden hidden md:block"},Rt=["src","poster"],jt={key:1,class:"absolute-center-v-h active-director-carou
1sel max-h-[20vh] md:max-h-[50vh] lg:max-h-[60vh] h-full w-full bounce"},Bt=["id","onClick"],zt=["src","poster"],Wt={class:"w-full absolute bottom-0 z-50 w-full h-full flex items-center justify-center text-on-hover transition-all duration-500"},Ut=["textContent"],Ht={class:"block mb-2 text-center"},Yt=["src","poster"],Ft={key:0,class:"-mt-32 md:mt-24 flex flex-col-reverse gap-y-6 md:flex-row items-start justify-between w-full px-0 md:px-6 pb-24"},Kt={class:"flex flex-row gap-x-4 flex-wrap md:flex-col text-body-small uppercase md:w-1/2 flex-shrink-0"},Dt={class:"font-gtMono text-label md:w-[1/2]"},qt={__name:"ListContainer",async setup(e){let n,a;const o=ot(),{globalUrl:l}=Z(),{generateVideoPoster:u}=Be(),m=se(),$=je(),{data:f}=([n,a]=Ae(()=>ze("directors",()=>o.fetch(dt()))),n=await n,a(),n),V=d(null),y=d(null),h=d(null),x=d(null),I=d(null),b=d(null),p=d(null),s=d(null),C=d(null),R=_=>{s.value||(p.value=_)},E=_=>{p.value=null,s.value=_},j=_=>{var w;const g=document.getElementById(_._key);x.value=_,I.value=g.getBoundingClientRect(),$.push(`/directors/${(w=s==null?void 0:s.value)==null?void 0:w.slug}/videos/${encodeURIComponent(_.title)}`)},T=()=>{I.value=null,x.value=null},K=_=>{C.value=_},D=Q(()=>{var _;return m.name==="directors"?"/directors":m.name==="directors-slug"&&(s!=null&&s.value)?`/directors/${(_=s==null?void 0:s.value)==null?void 0:_.slug}`:m.name==="directors-slug-videos-title"&&(s!=null&&s.value)&&(x!=null&&x.value)?`/directors/${m.params.slug}/videos/${m.params.title}`:"/"});return O(s,async _=>{if(_){const g=window.innerWidth>768?document.getElementById(_.slug):document.getElementById("mobile-"+_.slug);await ce();const w=g.getBoundingClientRect(),L=b.value.getBoundingClientRect();window.requestAnimationFrame(()=>{g.style.transform=`translateY(${L.bottom-(w.top+(window.innerWidth>768?146:226+64)-32)}px) scale(1.05)`,window.innerWidth>768&&(g.style.fontSize="11.505vw"),g.style.whiteSpace="nowrap",setTimeout(()=>{g.style.transform=`translateY(${L.bottom-(w.top+(window.innerWidth>768?146+32:226+64))}px)`},350)})}}),O(m,(_,g)=>{if(_.name==="directors"){const w=window.innerWidth>768?document.getElementById(s.value.slug):document.getElementById("mobile-"+s.value.slug);w.getBoundingClientRect(),w.style.transform="translateY(-8px)",setTimeout(()=>{w.style.transform="translateY(0px)"},150),window.innerWidth>969?w.style.fontSize="8.466vw":w.style.fontSize=window.innerWidth>768?"128px":"40px",s.value=null}}),X(async()=>{var _;m.name==="directors-slug"&&(s.value=(_=f==null?void 0:f.value)==null?void 0:_.directors.find(g=>g.slug===m.params.slug)),await ce(),setTimeout(()=>{var g,w,L,W;if(m.name==="directors-slug-videos-title"){const{slug:Y,title:U}=m.params,ee=(w=(g=f==null?void 0:f.value)==null?void 0:g.directors)==null?void 0:w.find(F=>Y===F.slug);if(ee){s.value=ee;const F=(W=(L=s==null?void 0:s.value)==null?void 0:L.directorVideos)==null?void 0:W.find(le=>le.title===U);F&&(x.value=F)}}},1e3)}),(_,g)=>{var _e,ve,he,ge,ye,xe,we,be,ke,$e,Se,Ce;const w=Ee,L=Ye,W=Fe,Y=ct,U=Re,ee=me,F=nt,le=Et;return c(),v("div",{class:"w-full h-full transition-colors pt-[144px] md:pt-0 px-4 md:px-0",style:G(t(s)&&`background-color: ${t(s).background}`)},[(c(),M(w,ue(t(s)?(_e=t(s))==null?void 0:_e.seo:t(f).seo,{canonical:t(l)+t(D),key:t(s)}),null,16,["canonical"])),i("div",{ref_key:"directorBlock",ref:b,class:P(["director-block-container md:min-h-screen md:h-screen w-full md:w-screen flex items-center flex-col uppercase directors-text-sizes md:justify-center",t(s)&&"h-screen"])},[t(p)&&!t(s)?(c(),v("div",Ot,[i("video",{class:"bg-black rounded-[16px] overflow-hidden",src:(he=(ve=t(p))==null?void 0:ve.directorVideos[0])==null?void 0:he.videoURL,playsinline:"",autoplay:"",loop:"",muted:"",poster:((ye=(ge=t(p))==null?void 0:ge.directorVideos[0])==null?void 0:ye.image)&&t(u)((we=(xe=t(p))==null?void 0:xe.directorVideos[0])==null?void 0:we.image)},null,8,Rt)])):k("",!0),t(s)?(c(),v("div",jt,[S(Y,null,{default:N(()=>[i("button",{onClick:g[0]||(g[0]=()=>t(C).slidePrev()),ref_key:"carouselPrev",ref:h,class:"absolute top-0 left-0 w-1/4 h-full z-[10000] swiper-slide-prev"},null,512),i("button",{onClick:g[1]||(g[1]=()=>t(C).slideNext()),ref_key:"carouselNext",ref:y,class:"absolute top-0 right-0 w-1/4 h-full z-[10000] swiper-slide-next"},null,512),S(W,{class:"carousel h-full",ref_key:"carousel",ref:V,initialSlide:1,"slides-per-view":1.9,"centered-slides":"true",observer:!0,effect:"coverflow","space-between":0,loop:!0,speed:800,navigation:{nextEl:t(y),prevEl:t(h)},onSwiper:K},{default:N(()=>[(c(!0),v(B,null,H(t(s).directorVideos,r=>(c(),M(L,{class:"transition-all duration-500",key:r._id},{default:N(()=>[i("button",{id:r._key,onClick:ie=>j(r),class:"md:bg-black w-full h-auto aspect-[16/9] rounded-[16px] overflow-hidden relative flex flex-col md:flex-row items-center md:items-end md:justify-center video-card transition-all duration-500 video-slide"},[i("video",{class:"w-full h-full bg-black block object-cover z-40 rounded-[16px] overflow-hidden",src:r.videoURL,poster:r.image&&t(u)(r.image),playsinline:""},null,8,zt),i("div",Wt,[i("span",{style:G(`color: ${t(s).background||"#000"}`),class:"block text-mobile-heading md:text-desktop-subheadline text-director-detail uppercase z-50",textContent:A(r.title)},null,12,Ut)])],8,Bt)]),_:2},1024))),128))]),_:1},8,["navigation"])]),_:1}
1)])):k("",!0),(c(!0),v(B,null,H((be=t(f))==null?void 0:be.directors,r=>{var ie;return c(),v(B,{key:r.id},[S(U,{to:`/directors/${r.slug}`,id:r.slug,class:P(["relative z-20 uppercase transition-all hidden md:block desktop-experience text-center",[t(p)&&t(p).id!==r.id&&"opacity-0",t(s)&&t(s).id===r.id&&"director-title",t(s)&&t(s).id!==r.id&&"pointer-events-none opacity-0"]]),onMouseenter:q=>R(r),onClick:q=>E(r),style:G(((ie=t(p))==null?void 0:ie.id)===r.id&&`color: ${r.background}`)},{default:N(()=>[He(A(r.title),1)]),_:2},1032,["to","id","onMouseenter","onClick","class","style"]),S(U,{to:`/directors/${r.slug}`,id:"mobile-"+r.slug,class:P(["relative z-20 uppercase transition-all md:hidden mb-12 w-full mobile-experience text-center flex flex-col items-center",[t(s)&&t(s).id===r.id&&"director-title",t(s)&&t(s).id!==r.id&&"pointer-events-none opacity-0"]]),onClick:q=>E(r),style:G(!t(s)&&`color: ${r.background}`)},{default:N(()=>{var q,Pe,Te;return[i("span",Ht,A(r.title),1),i("div",{class:P(["video-container max-w-[750px] w-full bg-black aspect-[16/9] z-10 rounded-[16px] overflow-hidden",t(s)&&"hidden"])},[i("video",{class:"bg-black rounded-[16px] overflow-hidden",src:(q=r==null?void 0:r.directorVideos[0])==null?void 0:q.videoURL,playsinline:"",autoplay:"",loop:"",muted:"",poster:((Pe=r==null?void 0:r.directorVideos[0])==null?void 0:Pe.image)&&t(u)((Te=r==null?void 0:r.directorVideos[0])==null?void 0:Te.image)},null,8,Yt)],2)]}),_:2},1032,["to","id","onClick","class","style"])],64)}),128))],2),t(s)?(c(),v("div",Ft,[i("div",Kt,[(c(!0),v(B,null,H((ke=t(s))==null?void 0:ke.directorLinks,r=>(c(),M(ee,{class:"md:hover:opacity-60",key:r._key,link:r},null,8,["link"]))),128))]),i("div",Dt,[S(F,{blocks:(Se=($e=t(s))==null?void 0:$e.bio)==null?void 0:Se.content},null,8,["blocks"])])])):k("",!0),t(x)?(c(),M(le,{activeVideo:t(x),activeVideoPosition:t(I),activeDirector:t(s),key:(Ce=t(x))==null?void 0:Ce._key,hideActiveVideo:T},null,8,["activeVideo","activeVideoPosition","activeDirector"])):k("",!0)],4)}}},Gt=z(qt,[["__scopeId","data-v-fccbb2d7"]]),Jt=e=>(ne("data-v-e8077dfe"),e=e(),oe(),e),Qt={class:"footer-content text-white text-label uppercase"},Xt=Jt(()=>i("a",{class:"md:hover:opacity-75 font-gtMono",href:"https://specialoffer.inc",target:"_blank"},"Site Credit",-1)),Zt={__name:"Footer",props:{menus:{type:Array,default:()=>[]},menu:Object,newsletter:{type:Object}},setup(e){d(null);const n=()=>window.scrollTo(0,0);return(a,o)=>{const l=me;return c(),v("footer",null,[i("div",Qt,[e.menu?(c(!0),v(B,{key:0},H(e.menu.navItems,u=>(c(),M(l,{onClick:n,class:"md:hover:opacity-75 font-gtMono",key:u._key,link:u},null,8,["link"]))),128)):k("",!0),Xt])])}}},en=z(Zt,[["__scopeId","data-v-e8077dfe"]]),tn=""+globalThis.__publicAssetsURL("logo.png"),nn=""+globalThis.__publicAssetsURL("menu-btn.png");var on,sn=()=>on;function an(e){return typeof e=="function"?e():t(e)}function de(e,n=""){if(e instanceof Promise)return e;const a=an(e);return!e||!a?a:Array.isArray(a)?a.map(o=>de(o,n)):typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,l])=>o==="titleTemplate"||o.startsWith("on")?[o,t(l)]:[o,de(l,o)])):a}var ln=typeof window<"u",rn="usehead";function fe(){return Le()&&Ke(rn)||sn()}function cn(e,n={}){const a=fe(),o=d(!1),l=d({});De(()=>{l.value=o.value?{}:de(e)});const u=a.push(l.value,n);return O(l,$=>{u.patch($)}),Le()&&(qe(()=>{u.dispose()}),Ge(()=>{o.value=!0}),Je(()=>{o.value=!1})),u}function un(e,n={}){return fe().push(e,n)}function dn(e,n={}){var o;const a=fe();if(a){const l=ln||!!((o=a.resolvedOptions)!=null&&o.document);return n.mode==="server"&&l||n.mode==="client"&&!l?void 0:l?cn(e,n):un(e,n)}}var pn=e=>typeof e=="function",pe=e=>{if(!e)return;const n=Q(()=>pn(e)?e():e);dn(()=>n.value?{script:[{type:"application/ld+json",children:JSON.stringify(n.value,null,"")}]}:{})};const ae=e=>(ne("data-v-f2391957"),e=e(),oe(),e),mn={key:1,class:"social-links text-label md:text-desktop-subheadline flex gap-x-[40px] md:w-auto w-full font-gtMono md:font-gtPressura"},fn=["textContent"],_n={key:2,class:"text-white flex flex-col gap-y-2 md:gap-y-[40px] text-right text-desktop-subheadline justify-center md:justify-start md:items-end md:h-auto h-full"},vn=["textContent"],hn=ae(()=>i("span",{class:"relative -top-[2px]"},"â",-1)),gn=ae(()=>i("span",null,"Back",-1)),yn=ae(()=>i("img",{src:tn,alt:"Taste Logo"},null,-1)),xn={class:"menu-btn-container transition-transform duration-[1000ms]"},wn=ae(()=>i("img",{src:nn,alt:"Menu Button Icon"},null,-1)),bn=[wn],kn={__name:"Header",props:{menu:{type:Object,default:()=>null},socialLinks:{type:Object,default:()=>null},megaMenu:{type:Object,default:()=>null},announcementBar:Object},setup(e){const n=se(),a=d(n.name),{setMobileMenu:o,isSearchModalOpen:l,setSearchModal:u,setCartOpen:m,loaderEnabled:$}=Z();d(null);const f=d(!1),V=d(!1),y=d(0),h=d(null);pe({url:"https://www.tasteinmotion.com",name:"TASTE",description:"","@context":"http://schema.org","@type":"WebSite"});const x=()=>f.value=!1;O(a,b=>{b&&(f.value=!1)}),O(n,b=>{f.value=!1},{deep:!0}),O($,b=>{b===!1&&setTimeout(()=>{V.value=!0,window.addEventListener("scroll",I)},600)});const I=()=>{let b=window.pageYOffset||document.documentElement.scrollTop;const p=document.querySelector(".header-content"),s=document.querySelector(".menu-btn-container");b>y.value?n.name!=="director-slug"&&(window.innerWidth<768?n.name!=="contact"?p&&(p.style.transform="translateY(-100vh)"):(p&&(p.style.transform="translateY(0)"),h.value.$el.style.transform="translate(24px, -100vh)",s.style.transform="translate(24px, -100vh)"):h.value.$el.style.transform="translateY(-100vh)"):b<y.value&&n.name!=="director-slug"&&(window.innerWidth<768?n.name==="contact"?(b<96&&(h.value.$el.style.transform="translateY(0)"),s.style.transform="translate(24px, -24px)"):p&&(p.style.transform="translateY(0)"):h.value.$el.style.transform="translateY(0%)"),y.value=b<=0?0:b};return(b,p)=>{var E,j;const s=Oe,C=me,R=Re;return c(),v("header",{id:"site-header",class:P(t(n).name)},[i("div",{class:P(["site-menu text-white uppercase fixed bg-black ease top-0 left-0 w-screen h-screen transition-all duration-[600ms] z-[1000] p-4 md:p-6 flex md:flex-row flex-col-reverse items-end md:justify-between",t(f)&&"activate-menu"])},[t(f)?(c(),M(s,{key:0,handleClick:()=>f.value=!1},null,8,["handleClick"])):k("",!0),t(f)?(c(),v("div",mn,[(j=(E=e.socialLinks)==null?void 0:E.navItems)!=null&&j.length?(c(!0),v(B,{key:0},H(e.socialLinks.navItems,T=>(c(),M(C,{class:"md:hover:opacity-75 overflow-hidden md:h-[40px]",key:T._key,link:T},{default:N(()=>[i("span",{class:"nav-link block",textContent:A(T.title)},null,8,fn)]),_:2},1032,["link"]))),128)):k("",!0)])):k("",!0),t(f)?(c(),v("nav",_n,[(c(!0),v(B,null,H(e.menu.navItems,T=>(c(),M(C,{handleClick:x,key:T._key,link:T,class:"md:hover:opacity-75 md:h-[8vw] overflow-hidden"},{default:N(()=>[i("span",{class:"nav-link block",textContent:A(T.title)},null,8,vn)]),_:2},1032,["link"]))),128))])):k("",!0)],2),i("div",{class:P(["header-content text-body-small w-full p-4 md:px-6 flex overflow-hidden items-start justify-between mx-auto relative",[t($)?"loader-active":"loader-inactive",t(V)&&"h-[112px] md:h-[146px]"]])},[S(R,{class:"uppercase text-desktop-subheadline flex back-btn items-center gap-x-1",to:"/directors"},{default:N(()=>[hn,gn]),_:1}),S(R,{ref_key:"logo",ref:h,to:"/",class:"logo-container transition-all duration-[1000ms] flex justify-center"},{default:N(()=>[yn]),_:1}
1,512),i("div",xn,[t(V)?(c(),v("button",{key:0,onClick:p[0]||(p[0]=T=>f.value=!0),class:"menu-btn transition-all duration-[1000ms]"},bn)):k("",!0)])],2)],2)}}},$n=z(kn,[["__scopeId","data-v-f2391957"]]),Sn=e=>(ne("data-v-8b732c5c"),e=e(),oe(),e),Cn={key:0,class:"password-overlay fixed top-0 left-0 w-screen h-screen"},Pn={class:"bg-notice py-16 px-8 absolute-center-v-h password-form-modal"},Tn=["textContent"],Vn=Sn(()=>i("button",{class:"btn btn-fill-dark btn-full",type:"submit"},"Submit",-1)),Mn={class:"absolute left-0 uppercase text-body-small bottom-6 mx-auto block w-full flex justify-center"},In={__name:"PasswordProtectedOverlay",props:{password:String,message:String},setup(e){const{message:n,password:a}=e,o=d(!0),l=d(""),u=d(""),m=()=>{if(!l.value.length)return u.value="Fields Missing.";if(l.value!==a)return u.value="Incorrect Password";l.value===a&&(o.value=!1)};return($,f)=>{const V=Ue,y=Me;return t(o)?(c(),v("div",Cn,[i("div",Pn,[i("p",{class:"mb-8",textContent:A(e.message)},null,8,Tn),i("form",{onSubmit:Ie(m,["prevent"])},[S(V,{class:"mb-4",type:"password",value:t(l),label:"PASSWORD",handleChange:h=>l.value=h.target.value,placeholder:"Password"},null,8,["value","handleChange"]),Vn],32),i("div",Mn,[t(u)?(c(),M(y,{key:0,msg:t(u),clearMessage:()=>u.value=""},null,8,["msg","clearMessage"])):k("",!0)])])])):k("",!0)}}},An=z(In,[["__scopeId","data-v-8b732c5c"]]),Ln={__name:"SplashLanding",setup(e){const{setLoaderEnabled:n}=Z(),a=d(!1),o=d(!1),l=d(!1);return d(82),X(()=>{setTimeout(()=>{a.value=!0,setTimeout(()=>{o.value=!0,setTimeout(()=>{l.value=!0,n(!1)},1e3)},1e3)},1e3)}),(u,m)=>(c(),v("div",null,[i("div",{class:P(["bg-taste-orange fixed top-0 left-0 w-full h-full z-[79] transition-transform duration-[800ms] ease-in-out",t(l)&&"orange-out"])},null,2),i("div",{class:P(["bg-taste-pink fixed top-0 left-0 w-full h-full z-[81] transition-transform duration-[750ms] ease-in-out",t(o)&&"pink-out"])},null,2),i("div",{class:P(["bg-taste-green fixed top-0 left-0 w-full h-full z-[82] transition-transform duration-[750ms] ease-in-out",t(a)&&"green-out"])},null,2)]))}},Nn=z(Ln,[["__scopeId","data-v-e2875871"]]),En=(e,n)=>n.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,a=>{var o;return((o=e.params[a.slice(1)])==null?void 0:o.toString())||""}),On=(e,n)=>{const a=e.route.matched.find(l=>{var u;return((u=l.components)==null?void 0:u.default)===e.Component.type}),o=n??(a==null?void 0:a.meta.key)??(a&&En(e.route,a));return typeof o=="function"?o(e.route):o},Rn=(e,n)=>({default:()=>e?J(Qe,e===!0?{}:e,n):n}),jn=Ne({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:n}){const a=st();return()=>J(at,{name:e.name,route:e.route,...n},{default:o=>{if(!o.Component)return;const l=On(o,e.pageKey),u=a.deferHydration(),m=!!(e.transition??o.route.meta.pageTransition??Ve),$=m&&zn([e.transition,o.route.meta.pageTransition,Ve,{onAfterLeave:()=>{a.callHook("page:transition:finish",o.Component)}}].filter(Boolean));return lt(Ze,m&&$,Rn(e.keepalive??o.route.meta.keepalive??it,J(Xe,{onPending:()=>a.callHook("page:start",o.Component),onResolve:()=>{ce(()=>a.callHook("page:finish",o.Component).finally(u))}},{default:()=>J(Wn,{key:l,routeProps:o,pageKey:l,hasTransition:m})}))).default()}})}});function Bn(e){return Array.isArray(e)?e:e?[e]:[]}function zn(e){const n=e.map(a=>({...a,onAfterLeave:Bn(a.onAfterLeave)}));return rt(...n)}const Wn=Ne({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const n=e.pageKey,a=e.routeProps.route,o={};for(const l in e.routeProps.route)o[l]=Q(()=>n===e.pageKey?e.routeProps.route[l]:a[l]);return et("_route",tt(o)),()=>J(e.routeProps.Component)}});const Un=ut(Tt),Hn=i("h1",{class:"sr-only",textContent:"Taste"},null,-1),mo={__name:"default",async setup(e){let n,a;const o=new Date;o.setTime(o.getTime()+365*24*60*60*1e3),_t(mt,{expires:o}),vt();const{isCartOpen:l,isMobileMenuOpen:u,isSearchModalOpen:m,setSearchModal:$,isAnnouncementBarEnabled:f,setMiniCart:V,isMobile:y,setIsMobile:h,setGlobalSiteSettings:x,setMobileMenu:I}=Z();pt();const b=se(),{data:p}=([n,a]=Ae(async()=>ze(async()=>{try{const R=await x();if(!R)return{isError:!0};const{header:E,title:j,footer:T,siteUrl:K,seo:D,cookieConsent:_,newsletterPopup:g,passwordProtection:w}=R;return{userLocale:null,header:E,footer:T,title:j,seo:D,siteUrl:K,cookieConsent:_,newsletterPopup:g,passwordProtection:w}}catch(C){return console.log(C),{isError:C}}},"$VbeGLRT2Wl")),n=await n,a(),n);pe({legalName:"TASTE In Motion",address:"304 Spring Street, #1W New York, NY, 10013, United States",email:"[email protected]",telephone:"2122196303",sameAs:["https://www.instagram.com/tasteinmotion/"],"@context":"http://schema.org","@type":"Organization"}),pe({address:"304 Spring Street, #1W New York, NY, 10013 United States",name:"TASTE In Motion","@context":"http://schema.org","@type":"LocalBusiness"}),O(b,C=>{I(!1)},{deep:!0});const s=()=>{window.innerWidth<640&&h(!0),window.addEventListener("resize",()=>{window.innerWidth<640&&h(!0),window.innerWidth>640&&h(!1)},{passive:!0})};return X(()=>{s()}),(C,R)=>{var L,W,Y,U;
1const E=An,j=Ee,T=$n,K=Nn,D=jn,_=Gt,g=en,w=Un;return c(),v("div",{id:"app-layout",class:P([t(l)&&"move-page-left"])},[(W=(L=t(p))==null?void 0:L.passwordProtection)!=null&&W.passwordCheckbox?(c(),M(E,te(ue({key:0},t(p).passwordProtection)),null,16)):k("",!0),S(j,ue(t(p).seo,{canonical:t(p).siteUrl}),null,16,["canonical"]),S(T,te(re(t(p).header)),null,16),Hn,S(K),i("main",{class:P(["min-h-screen",t(f)?"pt-8":""])},[S(D),(U=(Y=t(b))==null?void 0:Y.name)!=null&&U.includes("directors")?(c(),M(_,{key:0})):k("",!0)],2),S(g,te(re(t(p).footer)),null,16),S(w,te(re(t(p).newsletterPopup)),null,16)],2)}}};export{mo 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.