1import{n as N,r as l,s as $,j as e,N as u,e as v,L as o,B as x,a6 as S}from"./index-Gd3ICOax.js";import{S as L}from"./SEOHead-C7dcErS8.js";import{F as T}from"./Footer-wwnpDw4k.js";import{D as k}from"./download-cOV1e_tl.js";const h=[{slug:"davinci-resolve",name:"DaVinci Resolve",folder:"LUT folder (Color page â LUTs)",extension:".cube",short:"DaVinci"},{slug:"premiere-pro",name:"Adobe Premiere Pro",folder:"Lumetri â Creative â Look (browse to .cube)",extension:".cube",short:"Premiere"},{slug:"final-cut-pro",name:"Final Cut Pro",folder:"Effects â Custom LUT â Choose Custom LUT",extension:".cube",short:"Final Cut"}],A=i=>h.find(n=>n.slug===i)??null,D=()=>{var p;const{software:i,slug:n}=N(),s=A(i),[t,g]=l.useState(null),[f,y]=l.useState(!0);if(l.useEffect(()=>{n&&$.from("digital_products").select("id,name,slug,description,price,image_url,category").eq("slug",n).eq("is_active",!0).maybeSingle().then(({data:a})=>{g(a),y(!1)})},[n]),!s)return e.jsx(u,{to:"/shop",replace:!0});if(f)return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx(v,{className:"w-8 h-8 animate-spin text-primary"})});if(!t)return e.jsx(u,{to:"/shop",replace:!0});const c=`How to Install ${t.name} in ${s.name} | Step-by-Step`,d=`Step-by-step guide to install and apply ${t.name} inside ${s.name}. Works on Mac and Windows. Includes troubleshooting and quick-start tips.`,j=`/install/${s.slug}/${t.slug}`,m=[`Download ${t.name} after purchase and unzip the folder to your computer.`,`Open ${s.name} and load your project (any timeline using log footage will work).`,`Locate the ${s.short} ${s.folder}.`,`Drag and drop the ${s.extension} files into that folder (or use the import dialog).`,`Restart ${s.name} so it indexes the new LUTs.`,"Apply the LUT to your clip and tweak exposure, contrast and saturation to taste."],b={"@context":"https://schema.org","@type":"HowTo",name:c,description:d,totalTime:"PT5M",estimatedCost:{"@type":"MonetaryAmount",currency:"USD",value:t.price},tool:[s.name],step:m.map((a,r)=>({"@type":"HowToStep",position:r+1,name:`Step ${r+1}`,text:a}))},w={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:`Does ${t.name} work in ${s.name}
1?`,acceptedAnswer:{"@type":"Answer",text:`Yes. ${t.name} ships as ${s.extension} files which ${s.name} loads natively on macOS and Windows.`}},{"@type":"Question",name:`Where do I drop the LUT files in ${s.name}?`,acceptedAnswer:{"@type":"Answer",text:s.folder}},{"@type":"Question",name:`Do I need to restart ${s.name} after installing?`,acceptedAnswer:{"@type":"Answer",text:`Yes â a restart forces ${s.name} to re-index the LUT directory.`}}]};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs(L,{title:c,description:d,path:j,keywords:`${t.name}, ${s.name}, install LUT, color grading`,breadcrumbs:[{name:"Shop",path:"/shop"},{name:t.name,path:`/product/${t.slug}`},{name:`Install in ${s.short}`}],children:[e.jsx("script",{type:"application/ld+json",children:JSON.stringify(b)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(w)})]}),e.jsxs("main",{className:"container max-w-3xl mx-auto px-4 py-12 md:py-20",children:[e.jsxs("nav",{className:"text-sm text-muted-foreground mb-6",children:[e.jsx(o,{to:"/shop",className:"hover:text-primary",children:"Shop"}),e.jsx("span",{className:"mx-2",children:"/"}),e.jsx(o,{to:`/product/${t.slug}`,className:"hover:text-primary",children:t.name}),e.jsx("span",{className:"mx-2",children:"/"}),e.jsxs("span",{className:"text-foreground",children:["Install in ",s.short]})]}),e.jsxs("h1",{className:"text-3xl md:text-5xl font-display tracking-wide mb-4",children:["How to Install ",t.name," in ",s.name]}),e.jsxs("p",{className:"text-lg text-muted-foreground mb-8",children:["A 5-minute setup guide for ",s.name," on Mac and Windows. After installing, the LUTs live inside your color panel and apply with a single click."]}),t.image_url&&e.jsx("img",{src:t.image_url,alt:`${t.name} preview in ${s.name}`,className:"w-full rounded-lg mb-8 border border-border",loading:"lazy"}),e.jsxs("section",{className:"mb-10",children:[e.jsx("h2",{className:"text-2xl font-display mb-4",children:"Installation steps"}),e.jsx("ol",{className:"space-y-4",children:m.map((a,r)=>e.jsxs("li",{className:"flex gap-4",children:[e.jsx("span",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-semibold",children:r+1}),e.jsx("p",{className:"text-base text-foreground/90 leading-relaxed",children:a})]},r))})]}),e.jsxs("section",{className:"mb-10 p-6 bg-card border border-border rounded-lg",children:[e.jsxs("h2",{className:"text-2xl font-display mb-3",children:["Why ",s.name," users pick ",t.name]}),e.jsx("p",{className:"text-foreground/80 mb-4",children:(p=t.description)==null?void 0:p.slice(0,400)}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsx(x,{asChild:!0,size:"lg",children:e.jsxs(o,{to:`/product/${t.slug}`,children:[e.jsx(S,{className:"w-4 h-4 mr-2"})," Get ",t.name," â $",t.price]})}),e.jsx(x,{asChild:!0,variant:"outline",size:"lg",children:e.jsxs(o,{to:`/product/${t.slug}/preview`,children:[e.jsx(k,{className:"w-4 h-4 mr-2"})," See Before / After"]})})]})]}),e.jsxs("section",{className:"mb-10",children:[e.jsx("h2",{className:"text-2xl font-display mb-4",children:"Try it in other software"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:h.filter(a=>a.slug!==s.slug).map(a=>e.jsxs(o,{to:`/install/${a.slug}/${t.slug}`,className:"p-4 border border-border rounded-lg hover:border-primary transition-colors",children:[e.jsx("div",{className:"font-semibold",children:a.name}),e.jsx("div",{className:"text-sm text-muted-foreground",children:"Install guide"})]},a.slug))})]})]}),e.jsx(T,{})]})};export{D 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.