PageSourceSearch

https://thiagovibesp.com/assets/VideoPage-Bc5OotNV.js

js thiagovibesp.com collected 2026-10-02 00:56:59 UTC 7,823 bytes, 1 lines download raw bytes

1import{n as b,j as e,N as y,H as f,L as n,E as j,s as w}from"./index-Gd3ICOax.js";import{y as p}from"./videos-D1tqFLea.js";import{u as v}from"./useQuery-BRiRVS38.js";import{F as N}from"./Footer-wwnpDw4k.js";import{S}from"./ShareButtons-CPamIKRk.js";import{m as l}from"./proxy-Cyz9pufV.js";import{P as L}from"./play-UUekqkrh.js";const k="/shop",$=()=>{const{videoSlug:d}=b(),{data:a=[]}=v({queryKey:["db-videos"],queryFn:async()=>{const{data:i,error:s}=await w.from("videos").select("youtube_id, slug, title, published, thumbnail, description").order("published",{ascending:!1});if(s)throw s;return(i||[]).map(r=>({id:r.youtube_id,slug:r.slug,title:r.title,published:r.published,thumbnail:r.thumbnail,description:r.description}))}}),c=[...a,...p].filter((i,s,r)=>r.findIndex(g=>g.id===i.id)===s),t=c.find(i=>i.slug===d);if(!t)return a.length===0&&p.find(i=>i.slug===d),!t&&a.length>0?e.jsx(y,{to:"/videos",replace:!0}):e.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center text-muted-foreground",children:"Loading..."});const m=c.filter(i=>i.id!==t.id).slice(0,4),o=`https://thiagovibesp.com/videos/${t.slug}`,u={"@context":"https://schema.org","@type":"VideoObject",name:t.title,description:t.description,thumbnailUrl:[t.thumbnail],uploadDate:t.published,embedUrl:`https://www.youtube.com/embed/${t.id}`,contentUrl:`https://www.youtube.com/watch?v=${t.id}`,duration:"PT5M",inLanguage:"en-US",isFamilyFriendly:!0,transcript:t.description,publisher:{"@type":"Organization",name:"ThiagoVibesp Creative",url:"https://thiagovibesp.com",logo:{"@type":"ImageObject",url:"https://thiagovibesp.com/og-image.jpg",width:600,height:60}},author:{"@type":"Person",name:"Thiago Vibesp",url:"https://www.youtube.com/@thiagovibesp"},interactionStatistic:{"@type":"InteractionCounter",interactionType:{"@type":"WatchAction"},userInteractionCount:1e3},potentialAction:{"@type":"SeekToAction",target:`https://www.youtube.com/watch?v=${t.id}&t={seek_to_second_number}`,"startOffset-input":"required name=seek_to_second_number"}},h={"@context":"https://schema.org","@type":"WebPage",url:o,speakable:{"@type":"SpeakableSpecification",cssSelector:["h1","p"]}},x={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://thiagovibesp.com"},{"@type":"ListItem",position:2,name:"Videos",item:"https://thiagovibesp.com/videos"},{"@type":"ListItem",position:3,name:t.title,item:o}]};return e.jsxs(e.Fragment,{children:[e.jsxs(f,{children:[e.jsxs("title",{children:[t.title," — ThiagoVibesp Color Grading"]}),e.jsx("meta",{name:"description",content:t.description}),e.jsx("link",{rel:"canonical",href:o}),e.jsx("meta",{property:"og:title",content:t.title}),e.jsx("meta",{property:"og:description",content:t.description}),e.jsx("meta",{property:"og:url",content:o}),e.jsx("meta",{property:"og:image",content:t.thumbnail}),e.jsx("meta",{property:"og:type",content:"video.other"}),e.jsx("meta",{property:"og:video",content:`https://www.youtube.com/embed/${t.id}`}),e.jsx("meta",{name:"twitter:card",content:"player"}),e.jsx("meta",{name:"twitter:title",content:t.title}),e.jsx("meta",{name:"twitter:description",content:t.description}),e.jsx("meta",{name:"twitter:image",content:t.thumbnail}),e.jsx("meta",{name:"twitter:player",content:`https://www.youtube.com/embed/${t.id}`}),e.jsx("meta",{name:"twitter:player:width",content:"1280"}),e.jsx("meta",{name:"twitter:player:height",content:"720"})]}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs("main",{className:"max-w-5xl mx-auto px-6 py-20",children:[e.jsx("nav",{"aria-label":"Breadcrumb",className:"mb-10",children:e.jsxs("ol",{className:"flex items-center gap-2 text-sm font-body",children:[e.jsx("li",{children:e.jsx(n,{to:"/",className:"text-muted-foreground hover:text-primary transition-colors",children:"Home"})}),e.jsx("li",{className:"text-border",children:"/"}),e.jsx("li",{children:e.jsx(n,{to:"/videos",className:"text-muted-foreground hover:text-primary transition-colors",children:"Videos"})}),e.jsx("li",{className:"text-border",children:"/"}),e.jsx("li",{className:"text-foreground truncate max-w-[200px]",children:t.title})]})}),e.jsxs(l.div,{initial:{opacity:0,y:30}
1,animate:{opacity:1,y:0},transition:{duration:.8,ease:[.22,1,.36,1]},children:[e.jsx("div",{className:"relative w-full aspect-video rounded-xl overflow-hidden border border-border mb-8",children:e.jsx("iframe",{src:`https://www.youtube.com/embed/${t.id}?rel=0&modestbranding=1`,title:t.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 w-full h-full",loading:"lazy"})}),e.jsxs("div",{className:"mb-8",children:[e.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-4 mb-3",children:[e.jsx("time",{dateTime:t.published,className:"text-xs text-muted-foreground font-body",children:new Date(t.published).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}),e.jsx(S,{url:o,title:t.title,description:t.description,imageUrl:t.thumbnail})]}),e.jsx("h1",{className:"text-3xl md:text-5xl font-display text-foreground leading-tight mt-3 mb-6",children:t.title}),e.jsx("p",{className:"text-muted-foreground font-light text-lg leading-relaxed max-w-3xl",children:t.description})]}),e.jsxs("div",{className:"flex flex-wrap gap-4 mb-16",children:[e.jsxs("a",{href:`https://www.youtube.com/watch?v=${t.id}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 border border-border text-muted-foreground font-display text-sm tracking-[0.15em] rounded-full hover:border-primary hover:text-primary transition-all duration-500",children:["WATCH ON YOUTUBE ",e.jsx(j,{className:"w-4 h-4"})]}),e.jsx("a",{href:k,className:"inline-flex items-center gap-2 px-6 py-3 bg-primary text-primary-foreground font-display text-sm tracking-[0.15em] rounded-full hover:bg-primary/90 transition-all duration-500",children:"BROWSE LUTS"})]})]}),m.length>0&&e.jsxs("section",{children:[e.jsx(l.div,{initial:{width:0},whileInView:{width:"3rem"},viewport:{once:!0},transition:{duration:.5},className:"h-[2px] bg-primary mb-6"}),e.jsx("h2",{className:"text-2xl md:text-3xl font-display text-foreground mb-8",children:"MORE VIDEOS"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:m.map((i,s)=>e.jsx(l.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:s*.05},children:e.jsxs(n,{to:`/videos/${i.slug}`,className:"group block rounded-xl overflow-hidden border border-border hover:border-primary/40 transition-all duration-500",children:[e.jsxs("div",{className:"relative aspect-video overflow-hidden",children:[e.jsx("img",{src:i.thumbnail,alt:i.title,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),e.jsx("div",{className:"absolute inset-0 bg-background/30 group-hover:bg-background/10 transition-colors duration-500 flex items-center justify-center",children:e.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/90 flex items-center justify-center",children:e.jsx(L,{className:"w-5 h-5 text-primary-foreground ml-0.5",fill:"currentColor"})})})]}),e.jsx("div",{className:"p-4",children:e.jsx("h3",{className:"text-sm font-display text-foreground group-hover:text-primary transition-colors duration-300 line-clamp-2",children:i.title})})]})},i.id))})]})]}),e.jsx(N,{})]}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u)}}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(h)}})]})};export{$ 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.