1import B from"./MOgB9R2V.js";import{_ as k,j as p,r as s,w as M,u as d,l as L,x as j,a as P,b as v,n as _,h as g,y as b,o as V,i as S,t as T}from"#entry";import D from"./vh7mFEmW.js";import{b as G}from"./BUuZjhqo.js";import{S as N}from"./DkkuzaFX.js";import"./B1QDJ5b3.js";import"./Chx3igEn.js";const W={class:"set-life page-full"},Z={__name:"set-life",async setup(A){let n,c;p.registerPlugin(N);const a=s(null),f=s(null),l=s(null),o=s(!1),i=s(!1),r=s(null),u=s("Shuffle"),w=([n,c]=M(()=>G()),n=await n,c(),n);d({title:"Set Life â Chris Macari | Behind the Scenes",link:[{rel:"canonical",href:"https://chrismacarifilms.com/set-life"}]}),d({meta:[{name:"description",content:"Go behind the scenes with Chris Macari â set life moments, on-location footage, and the creative process behind films, commercials, and music videos."},{property:"og:title",content:"Set Life â Chris Macari | Behind the Scenes"},{property:"og:description",content:"Go behind the scenes with Chris Macari â set life moments and the creative process behind his projects."},{property:"og:url",content:"https://chrismacarifilms.com/set-life"},{property:"og:image",content:"https://chrismacarifilms.com/meta.jpg"},{name:"twitter:title",content:"Set Life â Chris Macari | Behind the Scenes"},{name:"twitter:description",content:"Go behind the scenes with Chris Macari â set life moments and the creative process behind his projects."},{name:"twitter:image",content:"https://chrismacarifilms.com/meta.jpg"}]});const h=t=>{const e=l.value?.$el||l.value;e&&p.to(e,{duration:.5,scrambleText:{text:t,revealDelay:0,speed:.5,tweenLength:!1},onComplete:()=>{u.value=t}})},y=t=>{i.value=!0,r.value=t,t&&h("Watch full version")},C=()=>{i.value=!1,r.value=null,h("Shuffle")};L(()=>{a.value=new D(f.value,w,{onPlaneZoom:y,onPlaneClose:C})}),j(()=>{a.value?.dispose()});const x=async()=>{if(i.value&&r.value){window.open(r.value,"_blank","noopener,noreferrer");return}if(!(!a.value||o.value)){o.value=!0;try{await a.value.shuffleVideos()}catch(t){console.error("Shuffle error:",t)}finally{o.value=!1}}};return(t,e)=>{const m=B;return V(),P("div",W,[e[2]||(e[2]=v("h1",{class:"sr-only"},"Set Life â Behind the Scenes with Chris Macari",-1)),v("canvas",{ref_key:"canvas",ref:f},null,512),_(m,{tag:"nuxt-link",to:"https://vimeo.com/chrismacarifilms",target:"_blank",rel:"noopener",class:"vimeo-link"},{default:g(()=>[...e[1]||(e[1]=[S(" Watch all set life ",-1)])]),_:1}),_(m,{ref_key:"shuffleBtn",ref:l,tag:"button",class:"shuffle-btn",onClick:b(x,["stop"]),onPointerup:e[0]||(e[0]=b(()=>{},["stop"])),disabled:o.value,"disable-hover":i.value},{default:g(()=>[S(T(u.value),1)]),_:1},8,["disabled","disable-hover"])])}}},z=k(Z,[["__scopeId","data-v-24321a48"]]);export{z 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.