PageSourceSearch

https://music-prod.com/assets/ProjectFiles-WX2az03s.js

js music-prod.com collected 2026-09-29 12:34:11 UTC 8,918 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-query-REUEbryQ.js";import{r as s,i as r,L as a}from"./vendor-react-tIoPkRwd.js";import{g as l,e as t,B as i,X as o,L as n,u as c}from"./index--0ud_HHy.js";import{C as d,a as m}from"./card-DatLY8HA.js";import{B as u}from"./badge-CSsjGdxs.js";import{S as p,a as j,b as x,c as h,d as f}from"./select-C_YCD5Vd.js";import{M as g}from"./MainLayout-Ksz7zHhr.js";import{S as v}from"./SEO-BruwIufJ.js";import{u as b,b as N,a as w,D as y}from"./useProjectFiles-6gAyIFer.js";import{F as _}from"./filter-DiKNs_CB.js";import{F as k,T as C}from"./tag-Cy4mJ8Fx.js";import{C as M}from"./check-ekX4Q09Q.js";import{C as A}from"./copy-CX5EaF_O.js";import{E as P}from"./external-link-D4r3JqVx.js";import{L as S}from"./lock-DAUsFfZV.js";import"./vendor-ui-BVtOlGvj.js";import"./vendor-supabase-BcbvpzCe.js";import"./chevron-down-D56Is0vg.js";import"./chevron-up-BfJN0B7B.js";import"./AdUnit-CEQHIbmD.js";import"./UserMenu-G0fpOx5r.js";import"./dropdown-menu-BhjWH65A.js";import"./chevron-right-0eTVlG1M.js";import"./circle-DNRAjJQk.js";import"./sparkles-B8pZP29O.js";import"./star-MSjiZEel.js";import"./ThemeToggle-DvFkM08t.js";import"./book-open-aITWI1Zk.js";import"./music-CBz0HdiS.js";import"./download-yNQ0nzkl.js";import"./credit-card-CYKdopSW.js";import"./useVyreExpansions-78Z_uhHg.js";import"./memberCodes-D8CLuRSK.js";import"./useAdPlacements-C3kKsaFs.js";import"./useCourseCategories-CHRMRi9s.js";import"./toolVersions-n8IhcncZ.js";import"./monitor-CWBouFUT.js";import"./audio-lines-DULcR7cS.js";import"./piano-DpUfrck2.js";import"./volume-2-BGXhlmMK.js";import"./graduation-cap-ByWPWr0j.js";import"./message-square-BEMCGeba.js";import"./arrow-left-DdlyX7wK.js";import"./ChangelogDialog-BzgFCNA6.js";import"./scroll-area-BAEFWRJq.js";import"./textarea-C1OSlJeR.js";import"./label-BLxROBsa.js";import"./message-square-text-BD9gOrla.js";import"./info-O2IQVtLI.js";import"./circle-alert-CObcGLbk.js";import"./use-mobile-B4hqzuWL.js";const B=["January","February","March","April","May","June","July","August","September","October","November","December"],F=()=>{const{isLoggedIn:F,isSubscribed:L}=l();t();const{data:D,isLoading:E}=b(),{data:z}=N(),[T,V]=s.useState(null),[W]=r(),[q,U]=s.useState(W.get("daw")||"all"),[G,J]=s.useState("all"),[O,Y]=s.useState("all");s.useEffect(()=>{const e=W.get("daw");e&&U(e)},[W]);const I=s.useMemo(()=>{const e=new Set;return null==D||D.forEach(s=>{var r;return null==(r=s.genres)?void 0:r.forEach(s=>e.add(s))}),Array.from(e).sort()},[D]),R=s.useMemo(()=>(D||[]).filter(e=>{if("all"!==q&&e.daw!==q)return!1;if("all"!==G&&!(e.genres||[]).includes(G))return!1;if("all"!==O&&e.bpm){const[s,r]="150+"===O?[150,999]:O.split("-").map(Number);if(e.bpm<s||e.bpm>(r||999))return!1}return!0}),[D,q,G,O]),$=new Date,Q=$.getMonth()+1,H=$.getFullYear(),K="all"!==q||"all"!==G||"all"!==O;return e.jsxs(g,{children:[e.jsx(v,{title:"Project Files | Music-Prod",description:"Download professional DAW project files with video previews. Available for Logic Pro, FL Studio, and Ableton Live."}),e.jsxs("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("h1",{className:"text-3xl font-bold mb-2",children:"Project Files"}),e.jsx("p",{className:"text-muted-foreground",children:"Professional DAW project files with video walkthroughs. VYRE plugin & presets included."}),e.jsxs("div",{className:"mt-4 rounded-lg border border-primary/30 bg-primary/5 px-4 py-3 text-sm text-primary",children:["🗓️ Project Files are coming in ",e.jsx("span",{className:"font-semibold",children:"August 2026"}),". Stay tuned!"]})]}),e.jsxs("div",{className:"flex items-center gap-3 mb-6 flex-wrap",children:[e.jsx(_,{className:"w-4 h-4 text-muted-foreground"}),e.jsxs(p,{value:q,onValueChange:U,children:[e.jsx(j,{className:"w-[150px]",children:e.jsx(x,{placeholder:"DAW"})}),e.jsxs(h,{children:[e.jsx(f,{value:"all",children:"All DAWs"}),w.map(s=>e.jsx(f,{value:s.value,children:s.label},s.value))]})]}),e.jsxs(p,{value:G,onValueChange:J,children:[e.jsx(j,{className:"w-[150px]",children:e.jsx(x,{placeholder:"Genre"})}),e.jsxs(h,{children:[e.jsx(f,{value:"all",children:"All Genres"}),I.map(s=>e.jsx(f,{value:s,children:s},s))]})]}),e.jsxs(p,{value:O,onValueChange:Y,children:[e.jsx(j,{className:"w-[140px]",children:e.jsx(x,{placeholder:"BPM"})}),e.jsx(h,{children:[{value:"all",label:"All BPM"},{value:"60-90",label:"60-90 BPM"},{value:"90-120",label:"90-120 BPM"},{value:"120-150",label:"120-150 BPM"},{value:"150+",label:"150+ BPM"}].map(s=>e.jsx(f,{value:s.value,children:s.label},s.value))})]}),K&&e.jsxs(i,{variant:"ghost",size:"sm",onClick:()=>{U("all"),J("all"),Y("all")},children:[e.jsx(o,{className:"w-3 h-3 mr-1"})," Clear"]})]}),E&&e.jsx("div",{className:"flex justify-center py-12",children:e.jsx(n,{className:"w-8 h-8 animate-spin text-primary"})}),!E&&0===R.length&&e.jsx(d,{children:e.jsxs(m,{className:"py-12 text-center",children:[e.jsx(k,{className:"w-12 h-12 text-muted-foreground mx-auto mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No project files found. Try adjusting filters."})]})}),!E&&R.length>0&&e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:R.map(s=>{const r=(l=s).included_month===Q&&l.included_year===H;var l;const t=(e=>!(!e.included_month||!e.included_year)&&(e.included_year<H||e.included_year===H&&e.included_month<Q))(s),o=s.discount_code||(null==z?void 0:z.global_discount_code);return e.jsxs(d,{className:"overflow-hidden group",children:[e.jsxs("div",{className:"aspect-video bg-muted relative overflow-hidden",children:[s.preview_video_url?e.jsx("video",{src:s.preview_video_url,className:"w-full h-full object-cover",muted:!0,loop:!0,playsInl
1ine:!0,onMouseEnter:e=>e.target.play(),onMouseLeave:e=>{const s=e.target;s.pause(),s.currentTime=0},poster:s.thumbnail_url||void 0}):s.thumbnail_url?e.jsx("img",{src:s.thumbnail_url,alt:s.name,className:"w-full h-full object-cover"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center",children:e.jsx(k,{className:"w-12 h-12 text-muted-foreground"})}),e.jsxs("div",{className:"absolute top-2 left-2 flex gap-1",children:[e.jsx(u,{className:"text-xs bg-background/80 backdrop-blur-sm text-foreground border-0",children:y[s.daw]||s.daw}),s.bpm&&e.jsxs(u,{variant:"secondary",className:"text-xs bg-background/80 backdrop-blur-sm border-0",children:[s.bpm," BPM"]})]}),r&&e.jsx(u,{className:"absolute top-2 right-2 text-xs bg-primary text-primary-foreground",children:"Free this month"})]}),e.jsxs(m,{className:"p-4 space-y-3",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold truncate",children:s.name}),s.description&&e.jsx("p",{className:"text-xs text-muted-foreground mt-1 line-clamp-2",children:s.description})]}),e.jsx("div",{className:"flex flex-wrap gap-1",children:(s.genres||[]).map(s=>e.jsx(u,{variant:"outline",className:"text-xs",children:s},s))}),e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(C,{className:"w-3 h-3"}),(s.plugins_required||[]).join(", ")]}),r&&L?e.jsxs("div",{className:"space-y-2",children:[s.discount_code&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("code",{className:"flex-1 bg-muted px-2 py-1.5 rounded text-xs font-mono",children:s.discount_code}),e.jsx(i,{variant:"outline",size:"sm",onClick:()=>(async e=>{await navigator.clipboard.writeText(e),V(e),c.success("Code copied!"),setTimeout(()=>V(null),2e3)})(s.discount_code),children:T===s.discount_code?e.jsx(M,{className:"w-3 h-3"}):e.jsx(A,{className:"w-3 h-3"})})]}),s.checkout_url&&e.jsx(i,{asChild:!0,className:"w-full",size:"sm",children:e.jsxs("a",{href:s.checkout_url,target:"_blank",rel:"noopener noreferrer",children:["Get Free ",e.jsx(P,{className:"w-3 h-3 ml-1"})]})})]}):e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"font-bold text-lg",children:["$",s.price]}),s.original_price>s.price&&e.jsxs("span",{className:"text-sm text-muted-foreground line-through",children:["$",s.original_price]}),t&&L&&e.jsxs(u,{variant:"secondary",className:"text-xs",children:["Was free ",B[(s.included_month||1)-1]," ",s.included_year]})]}),L&&o&&!r&&e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",e.jsx("strong",{children:o})," for ",(null==z?void 0:z.global_discount_percent)||50,"% off"]}),s.checkout_url?F?e.jsx(i,{asChild:!0,className:"w-full",size:"sm",children:e.jsxs("a",{href:s.checkout_url,target:"_blank",rel:"noopener noreferrer",children:["Buy Now ",e.jsx(P,{className:"w-3 h-3 ml-1"})]})}):e.jsx(a,{to:"/login",children:e.jsxs(i,{className:"w-full",size:"sm",variant:"secondary",children:[e.jsx(S,{className:"w-3 h-3 mr-1"})," Log in or Register"]})}):e.jsx(i,{disabled:!0,className:"w-full",size:"sm",variant:"secondary",children:"Coming Soon"})]})]})]},s.id)})})]})]})};export{F 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.