1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,885878,e=>{"use strict";let r=(0,e.i(592583).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>r],885878)},259630,e=>{"use strict";let r=(0,e.i(592583).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",()=>r],259630)},707887,89489,856577,e=>{"use strict";var r=e.i(537345),a=e.i(126313),t=e.i(580828);function n(e){return e.slice(0,1500)}async function s(e,r){if(e.prompt&&e.prompt.trim().length>1500)throw Error("Prompt must be at most 1500 characters");(0,t.captureEntrySource)();let a=await fetch("/api/pbn/handoff",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,content:r.content,entrySource:(0,t.readEntrySource)()??void 0})}),n=await a.json().catch(()=>null);if(!a.ok||"string"!=typeof(null==n?void 0:n.claimUrl)||"string"!=typeof n.token)throw Error("string"==typeof(null==n?void 0:n.error)?n.error:"Unable to create handoff");let s=new URL(n.claimUrl);if("https:"!==s.protocol||s.username||s.password||s.search||s.hash||"/api/pbn-handoff/claim"!==s.pathname)throw Error("Invalid handoff claim URL");return{claimUrl:s.toString(),token:n.token}}async function o(e){var r;let a,t;r=await s(e.request,e.attribution),(a=document.createElement("form")).method="POST",a.action=r.claimUrl,a.target="_top",a.hidden=!0,a.acceptCharset="UTF-8",(t=document.createElement("input")).type="hidden",t.name="token",t.value=r.token,a.appendChild(t),document.body.appendChild(a),a.submit()}async function i(e,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>window.location.assign(e);try{return await o(e),!0}catch(e){return console.error("[pbn-handoff] Unable to submit claim",e),a(new URL(r,window.location.href).toString()),!1}}function l(e,r,a,t){return e&&r&&a?(t.current=!1,e.execute(r),!0):(t.current=!0,!1)}function c(e){let{onVerify:n,onError:s,onExpired:i,widget:c,siteKey:d,promoTargetUrl:u,promoTenant:h,promoContent:m,promoLocale:p,promoHandoff:g,promoteMobile:f}=e,b=(0,a.useRef)(null),x=(0,a.useRef)(null),y=(0,a.useRef)(!1),v=(0,a.useRef)(!1),w=(0,a.useRef)({onVerify:n,onError:s,onExpired:i});(0,a.useEffect)(()=>{w.current={onVerify:n,onError:s,onExpired:i}},[n,s,i]);let[k,j]=(0,a.useState)(null);return(0,a.useEffect)(()=>{if(!u)return;let e=!1;return(0,t.resolveGeo)().then(r=>{e||j(r)}),()=>{e=!0}},[u]),(0,a.useEffect)(()=>{if(u&&!k||u&&k&&(0,t.isGoodTraffic)(k.country,k.device,u,f))return;let e=document.createElement("div");e.style.position="fixed",e.style.bottom="0",e.style.right="0",e.style.width="0",e.style.height="0",e.style.overflow="hidden",e.style.visibility="hidden",document.body.appendChild(e),b.current=e;let a=()=>{if(!window.turnstile||!b.current)return;let e={1:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_1,2:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_2,3:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_3,4:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_4,5:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_5,6:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_6,7:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_7,8:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_8,9:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_9,10:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_10},a=d??(c?e[c]:r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY_1||r.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY);if(!a)return void console.error("[turnstile] NEXT_PUBLIC_TURNSTILE_SITE_KEY not configured");try{x.current=window.turnstile.render(b.current,{sitekey:a,callback:e=>{w.current.onVerify(e)},"error-callback":()=>{var e,r;null==(e=(r=w.current).onError)||e.call(r)},"expired-callback":()=>{var e,r;null==(e=(r=w.current).onExpired)||e.call(r)},execution:"execute",theme:"dark"}),y.current=!0,v.current&&l(window.turnstile,x.current,y.current,v)}catch(e){console.error("[turnstile] Failed to render widget:",e)}};if(window.turnstile)a();else if(document.querySelector('script[src*="challenges.cloudflare.com/turnstile"]')){let e=setInterval(()=>{window.turnstile&&(clearInterval(e),a())},100);setTimeout(()=>clearInterval(e),1e4)}else{let e=document.createElement("script");e.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onTurnstileLoad",e.async=!0,window.onTurnstileLoad=a,document.head.appendChild(e)}return()=>{var e;if(x.current&&window.turnstile)try{window.turnstile.remove(x.current)}catch{}null==(e=b.current)||e.remove(),y.current=!1,v.current=!1}},[c,d,u,f,k]),{execute:(0,a.useCallback)(async()=>
1{if(u){let{country:a,device:n}=await (0,t.resolveGeo)();if((0,t.isGoodTraffic)(a,n,u,f)){let a=h??"",n=m??"hero-generate";if(g&&a)try{await o({request:{tenantSlug:a,...g()},attribution:{content:n}})}catch(a){var e,r;console.error("[pbn-handoff] Unable to redirect",a),null==(e=(r=w.current).onError)||e.call(r)}else window.location.href=(0,t.buildPromoCtaUrl)({targetUrl:u,tenantSlug:a,content:n,locale:p});return}}l(window.turnstile,x.current,y.current,v)},[u,h,m,p,g,f]),reset:(0,a.useCallback)(()=>{v.current=!1,x.current&&window.turnstile&&window.turnstile.reset(x.current)},[])}}e.s(["PBN_HANDOFF_PROMPT_MAX",0,1500,"clampPbnHandoffPrompt",()=>n],89489),e.s(["redirectToPbnHandoff",()=>o,"redirectToPbnHandoffOrFallback",()=>i],856577),e.s(["useTurnstile",()=>c],707887)},287848,e=>{"use strict";let r=(0,e.i(592583).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>r],287848)},76768,e=>{"use strict";let r=(0,e.i(592583).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>r],76768)},868246,e=>{"use strict";let r=(0,e.i(592583).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",()=>r],868246)},743658,e=>{"use strict";let r=(0,e.i(592583).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>r],743658)},752902,e=>{"use strict";let r=(0,e.i(592583).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",()=>r],752902)},527902,e=>{"use strict";let r=(0,e.i(592583).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",()=>r],527902)},179661,e=>{"use strict";let r=(0,e.i(592583).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",()=>r],179661)},887552,e=>{"use strict";let r=(0,e.i(592583).default)("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);e.s(["Music",()=>r],887552)},405763,e=>{"use strict";let r=(0,e.i(592583).default)("disc-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M6 12c0-1.7.7-3.2 1.8-4.2",key:"oqkarx"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M18 12c0 1.7-.7 3.2-1.8 4.2",key:"1eah9h"}]]);e.s(["Disc3",()=>r],405763)},113237,e=>{"use strict";let r=(0,e.i(592583).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",()=>r],113237)},889682,830527,998567,e=>{"use strict";var r=e.i(193685),a=e.i(126313);let t=(0,e.i(445346).getTenantCta)("ai-for-music");function n(e){let r=new URL(t);return r.searchParams.set("utm_source","ai-for-music.com"),r.searchParams.set("utm_medium","cta"),r.searchParams.set("utm_campaign",e),r.toString()}let s={logo:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-PureLogo.webp",tabText:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-tab1-01.webp",tabLyrics:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-tab2-01.webp",featureCenter:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-feature-center-01.webp"},o=[{label:"AI Music Generator",href:"/"},{label:"AI Lyrics Generator",href:"/ai-lyrics-generator"}],i=[{label:"AI Music Generator",href:"/"},{label:"AI Lyrics Generator",href:"/ai-lyrics-generator"},{label:"AI Song Cover Generator",href:"/ai-song-cover-generator"},{label:"AI Stem Splitter",href:"/ai-stem-splitter"},{label:"AI Music Video Generator",href:"/ai-music-video-generator"},{label:"Lofi Music Generator",href:"/lofi-music-generator"},{label:"Jazz Music Generator",href:"/jazz-music-generator"},{label:"EDM Music Generator",href:"/edm-music-generator"}],l=[{title:"AI Music Tools",links:[{label:"AI Music Generator",href:"/"},{label:"AI Lyrics Generator",href:"/ai-lyrics-generator"},{label:"AI Song Cover Generator",href:"/ai-song-cover-generator"},{label:"AI Stem Splitter",href:"/ai-stem-splitter"},{label:"AI Music Video Generator",href:"/ai-music-video-generator"}]},{title:"Popular Genres",links:[{label:"Lofi Music Generator",href:"/lofi-music-generator"},{label:"Jazz Music Generator",href:"/jazz-music-generator"},{label:"EDM Music Generator",href:"/edm-music-generator"},{label:"Pop Music Generator",href:"/pop-music-generator"},{label:"Hip-Hop Music Generator",href:"/hip-hop-music-generator"}]},{title:"Resources",links:[{label:"AI Music Generator",href:"/"},{label:"AI Lyrics Generator",href:"/ai-lyrics-generator"},{label:"AI Song Cover Generator",href:"/ai-song-cover-generator"},{label:"AI Stem Splitter",href:"/ai-stem-splitter"}]}];e.s(["ASSETS",0,s,"FOOTER_COLUMNS",0,l,"NAV_ITEMS",0,o,"NAV_TOOLS",0,i,"PROMO_CTA_TARGET_URL",0,t,"SHOWCASE_TRACKS",0,[{title:"Neon City Nights",cover:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-creator1-01.webp",duration:"03:21",tags:["Synthwave","Electronic"]},{title:"Summer Breeze",cover:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-creator2-01.webp",duration:"02:45",tags:["Pop","Acoustic"]},{title:"Urban Rhythm",cover:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-creator3-01.webp",duration:"02:58",tags:["Hip Hop","R&B"]},{title:"Starlight Lullaby",cover:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-creator4-01.webp",duration:"04:10",tags:["Classical","Ambient"]},{title:"Electric Dreams",cover:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-creator5-01.webp",duration:"03:05",tags:["EDM","Dance"]},{title:"Midnight Drive",cover:"https://cdn.ai-for-music.com/2026-06-26/ai-for-music-creator6-01.webp",duration:"03:40",tags:["Lofi","Chill"]}],"promoUrl",()=>n],830527);var c=e.i(305084),d=e.i(259630),u=e.i(868246),h=e.i(113237),m=e.i(405763),p=e.i(287848),g=e.i(527902),f=e.i(752902),b=e.i(179661),x=e.i(76768),y=e.i(707887);let v="#4ade80";function w(e){let{turnstileSiteKey:n,defaultPrompt:s=""}=e,o=(0,c.useTranslations)("aiForMusic"),i=[o("heroTool.stages.0"),o("heroTool.stages.1"),o("heroTool.stages.2"),o("heroTool.stages.3"),o("heroTool.stages.4")],[l,w]=(0,a.useState)(s),[k,j]=(0,a.useState)("idle"),[I,T]=(0,a.useState)(0),[A,C]=(0,a.useState)(0),[M,S]=(0,a.useState)(null),[z,E]=(0,a.useState)(null),[N,P]=(0,a.useState)(!1),q=(0,a.useRef)(null),_=(0,a.useRef)(null),R=(0,a.useRef)(!1),B=(0,a.useRef)([]),L=(0,a.useCallback)(()=>
1{B.current.forEach(e=>clearInterval(e)),B.current=[]},[]);(0,a.useEffect)(()=>()=>L(),[L]);let G=(0,a.useCallback)(()=>{R.current&&(_.current?(E(_.current),j("error")):q.current&&(S(q.current),j("done")))},[]),U=(0,a.useCallback)(()=>{T(0),C(0),R.current=!1;let e=setInterval(()=>{T(r=>{let a=Math.min(100,r+1.0666666666666667);return a>=100&&(clearInterval(e),R.current=!0,G()),a})},80),r=setInterval(()=>{C(e=>Math.min(4,e+1))},1500);B.current.push(e,r)},[G]),D=(0,a.useCallback)(async e=>{try{let r=await fetch("/api/ai-for-music-generate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:l.trim(),turnstileToken:e})}),a=await r.json();r.ok?q.current={title:a.title,style:a.style,lyrics:a.lyrics}:_.current=(null==a?void 0:a.error)||o("heroTool.errors.failed")}catch{_.current=o("heroTool.errors.network")}finally{G()}},[l,G,o]),Y=(0,a.useCallback)(e=>{q.current=null,_.current=null,U(),D(e)},[D,U]),W=(0,a.useCallback)(()=>{L(),_.current=null,E(o("heroTool.errors.verify")),j("error")},[L,o]),{execute:H,reset:F}=(0,y.useTurnstile)({promoTargetUrl:t,promoTenant:"ai-for-music",promoContent:"hero-generate",onVerify:Y,onError:W,onExpired:W,siteKey:n}),O={background:"rgba(14, 26, 19, 0.6)",border:"1px solid rgba(74, 222, 128, 0.2)",borderRadius:20,padding:16,margin:"0 auto 32px",maxWidth:760,position:"relative",boxShadow:"0 0 40px rgba(74, 222, 128, 0.05)",backdropFilter:"blur(10px)"};return"done"===k&&M?(0,r.jsxs)("div",{style:{...O,textAlign:"left"},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:16,padding:"8px 8px 20px"},children:[(0,r.jsx)("div",{style:{width:64,height:64,borderRadius:"50%",background:"repeating-radial-gradient(#111 0,#111 2px,#000 3px,#000 4px)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,animation:N?"afm-spin 6s linear infinite":void 0},children:(0,r.jsx)(m.Disc3,{size:26,color:v})}),(0,r.jsxs)("div",{style:{flexGrow:1,minWidth:0},children:[(0,r.jsx)("div",{style:{fontFamily:"'Fredoka', sans-serif",color:"#fff",fontSize:22,fontWeight:600,lineHeight:1.2},children:M.title}),(0,r.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:8,marginTop:8},children:M.style.split(",").map(e=>e.trim()).filter(Boolean).map(e=>(0,r.jsx)("span",{style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.06)",padding:"4px 10px",borderRadius:6,fontSize:12,color:"#c7d4cd"},children:e},e))})]})]}),(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:14,background:"rgba(0,0,0,0.25)",border:"1px solid rgba(255,255,255,0.06)",borderRadius:12,padding:12},children:[(0,r.jsx)("button",{type:"button",onClick:()=>P(e=>!e),"aria-label":N?o("heroTool.pause"):o("heroTool.play"),style:{width:40,height:40,borderRadius:"50%",background:`linear-gradient(90deg, ${v}, #86efac)`,color:"#08110b",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:N?(0,r.jsx)(h.Pause,{size:18}):(0,r.jsx)(u.Play,{size:18})}),(0,r.jsx)("div",{style:{display:"flex",alignItems:"center",gap:3,flexGrow:1,height:32},"aria-hidden":!0,children:Array.from({length:40}).map((e,a)=>{let t=20+80*Math.abs(Math.sin(1.7*a));return(0,r.jsx)("span",{style:{flex:1,height:`${t}%`,borderRadius:2,background:a<14?v:"rgba(255,255,255,0.18)",transition:"background 0.3s"}},a)})}),(0,r.jsx)("span",{style:{fontSize:12,color:"#9fb3a8",flexShrink:0},children:"03:12"})]}),(0,r.jsx)("div",{style:{marginTop:16,maxHeight:320,overflowY:"auto",padding:"4px 8px"},children:M.lyrics.split("\n").map((e,a)=>{let t=e.trim(),n=/^\[.*\]$/.test(t);return t?(0,r.jsx)("p",{style:{margin:0,color:n?v:"#c7d4cd",fontWeight:n?600:400,fontSize:n?13:15,letterSpacing:.5*!!n,textTransform:n?"uppercase":"none",marginTop:n?14:2,lineHeight:1.5},children:t},a):(0,r.jsx)("div",{style:{height:10}},a)})}),(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",gap:12,marginTop:20},children:(0,r.jsxs)("button",{type:"button",onClick:()=>{L(),q.current=null,_.current=null,R.current=!1,S(null),E(null),P(!1),T(0),C(0),j("idle")},style:{display:"inline-flex",alignItems:"center",gap:8,background:`linear-gradient(90deg, ${v}, #86efac)`,color:"#08110b",fontWeight:600,padding:"12px 28px",borderRadius:9999,fontSize:15},children:[(0,r.jsx)(b.RotateCcw,{size:18})," ",o("heroTool.createAnother")]})}),(0,r.jsx)("style",{children:"@keyframes afm-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}"})]}):"working"===k?(0,r.jsxs)("div",{style:{...O,textAlign:"left"},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12,padding:"8px 8px 16px",color:"#fff",fontWeight:500},children:[(0,r.jsx)(p.Loader2,{size:20,color:v,style:{animation:"afm-spin 1s linear infinite"}}),(0,r.jsx)("span",{children:i[A]}),(0,r.jsxs)("span",{style:{marginLeft:"auto",color:"#9fb3a8",fontSize:14},children:[Math.round(I),"%"]})]}),(0,r.jsx)("div",{style:{height:10,borderRadius:9999,background:"rgba(255,255,255,0.08)",overflow:"hidden"},children:(0,r.jsx)("div",{style:{height:"100%",width:`${I}%`,background:`linear-gradient(90deg, ${v}, #86efac)`,borderRadius:9999,transition:"width 0.1s linear"}})}),(0,r.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:8,marginTop:16},children:i.map((e,a)=>(0,r.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:4,fontSize:12,color:a<=A?v:"#6f8478"},children:[a<=A?(0,r.jsx)(g.CheckCircle2,{size:12}):(0,r.jsx)(f.Clock,{size:12}),e.replace("â¦","")]},e))}),(0,r.jsx)("style",{children:"@keyframes afm-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}"})]}):(0,r.jsxs)("div",{style:O,children:[(0,r.jsx)("textarea",{value:l,onCh
1ange:e=>w(e.target.value),placeholder:o("heroTool.placeholder"),rows:3,style:{width:"100%",background:"transparent",border:"none",color:"#fff",fontFamily:"'Inter', sans-serif",fontSize:18,resize:"none",outline:"none",padding:12,minHeight:80}}),(0,r.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",marginTop:12},children:(0,r.jsxs)("button",{type:"button",onClick:()=>{l.trim()?(E(null),S(null),P(!1),j("working"),F(),H()):E(o("heroTool.errors.empty"))},style:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:8,background:`linear-gradient(90deg, ${v}, #86efac)`,color:"#08110b",fontWeight:600,padding:"16px 40px",borderRadius:9999,fontSize:18},children:[(0,r.jsx)(x.Sparkles,{size:20})," ",o("heroTool.button")]})}),z&&(0,r.jsx)("p",{style:{color:"#f87171",fontSize:14,marginTop:12,textAlign:"center"},children:z}),(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"center",gap:32,marginTop:20,color:"#c7d4cd",fontSize:14},children:[(0,r.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[(0,r.jsx)(g.CheckCircle2,{size:18,color:v})," ",o("heroTool.trustLicense")]}),(0,r.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[(0,r.jsx)(d.Download,{size:18,color:v})," ",o("heroTool.trustDuration")]})]})]})}e.s(["default",()=>w],889682);var k=e.i(948183),j=e.i(789100),I=e.i(662023),T=e.i(885878),A=e.i(811574);let C=[{code:"en",label:"English",flag:"ðºð¸"},{code:"fr",label:"Français",flag:"ð«ð·"},{code:"ja",label:"æ¥æ¬èª",flag:"ð¯ðµ"},{code:"es",label:"Español",flag:"ðªð¸"},{code:"pt",label:"Português",flag:"ðµð¹"},{code:"pl",label:"Polski",flag:"ðµð±"}];function M(){let e=(0,I.useLocale)(),t=(0,c.useTranslations)("aiForMusic"),[n,s]=(0,a.useState)(!1),o=C.find(r=>r.code===e)??C[0];return(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsxs)("button",{type:"button",onClick:()=>s(e=>!e),"aria-label":t("nav.language"),"aria-expanded":n,style:{display:"inline-flex",alignItems:"center",gap:8,padding:"8px 12px",borderRadius:9999,color:"var(--text-muted-light)",fontSize:15},children:[(0,r.jsx)("span",{style:{fontSize:18,lineHeight:1},children:o.flag}),(0,r.jsx)("span",{style:{textTransform:"uppercase",fontWeight:600,fontSize:13},children:o.code}),(0,r.jsx)(A.ChevronDown,{size:14,style:{transform:n?"rotate(180deg)":void 0,transition:"transform 0.2s"}})]}),n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{position:"fixed",inset:0,zIndex:40},onClick:()=>s(!1)}),(0,r.jsx)("div",{style:{position:"absolute",right:0,top:"100%",marginTop:8,minWidth:184,background:"#0e1a13",border:"1px solid rgba(255,255,255,0.08)",borderRadius:14,padding:6,zIndex:50,boxShadow:"0 10px 30px rgba(0,0,0,0.5)"},children:C.map(a=>{let t=a.code===e;return(0,r.jsxs)(j.default,{href:"en"===a.code?"/":`/${a.code}`,onClick:()=>s(!1),style:{display:"flex",alignItems:"center",gap:12,padding:"9px 12px",borderRadius:10,fontSize:14,color:t?"#4ade80":"var(--text-muted-light)",fontWeight:t?600:400},children:[(0,r.jsx)("span",{style:{fontSize:18,lineHeight:1},children:a.flag}),(0,r.jsx)("span",{children:a.label}),t&&(0,r.jsx)(T.Check,{size:15,style:{marginLeft:"auto",color:"#4ade80"}})]},a.code)})})]})]})}function S(){let e=(0,I.useLocale)();return(0,r.jsx)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:8},children:C.map(a=>{let t=a.code===e;return(0,r.jsxs)(j.default,{href:"en"===a.code?"/":`/${a.code}`,style:{display:"inline-flex",alignItems:"center",gap:6,padding:"6px 12px",borderRadius:9999,fontSize:13,border:t?"1px solid rgba(74,222,128,0.4)":"1px solid rgba(255,255,255,0.08)",background:t?"rgba(74,222,128,0.12)":"transparent",color:t?"#4ade80":"var(--text-muted-light)",fontWeight:t?600:400},children:[(0,r.jsx)("span",{style:{fontSize:15,lineHeight:1},children:a.flag}),(0,r.jsx)("span",{children:a.label})]},a.code)})})}let z=` 2@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600&display=swap'); 3.afm { 4 --bg-dark: #08110b; 5 --bg-light: #0c1711; 6 --card-bg: #0e1a13; 7 --card-border: rgba(255, 255, 255, 0.06); 8 --accent-start: #4ade80; 9 --accent-end: #86efac; 10 --text-main: #ffffff; 11 --text-muted: #9fb3a8; 12 --text-muted-light: #c7d4cd; 13 --font-heading: 'Fredoka', sans-serif; 14 --font-body: 'Inter', sans-serif; 15 --radius-md: 16px; 16 --radius-lg: 20px; 17 --radius-full: 9999px; 18 font-family: var(--font-body); 19 background-color: var(--bg-dark); 20 color: var(--text-muted); 21 line-height: 1.6; 22 -webkit-font-smoothing: antialiased; 23} 24.afm *, .afm *::before, .afm *::after { box-sizing: border-box; } 25.afm h1, .afm h2, .afm h3, .afm h4, .afm h5, .afm h6 { 26 font-family: var(--font-heading); 27 color: var(--text-main); 28 font-weight: 600; 29 line-height: 1.2; 30 margin: 0; 31} 32.afm p { margin: 0; } 33.afm a { color: inherit; text-decoration: none; transition: color 0.2s; } 34.afm button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; background: none; } 35.afm img { max-width: 100%; height: auto; display: block; } 36.afm .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } 37.afm .section { padding: 80px 0; } 38.afm .bg-dark { background-color: var(--bg-dark); } 39.afm .bg-light { background-color: var(--bg-light); } 40.afm .text-center { text-align: center; } 41.afm .gradient-text { 42 background: linear-gradient(90deg, var(--accent-start), var(--accent-end)); 43 -webkit-background-clip: text; 44 -webkit-text-fill-color: transparent; 45 background-clip: text; 46} 47.afm .btn-primary { 48 background: linear-gradient(90deg, var(--accent-start), var(--accent-end)); 49 color: var(--bg-dark); 50 font-weight: 600; 51 padding: 12px 28px; 52 border-radius: var(--radius-full); 53 display: inline-flex; 54 align-items: center; 55 justify-content: center; 56 gap: 8px; 57 font-size: 16px; 58 transition: transform 0.2s, box-shadow 0.2s; 59} 60.afm .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(74, 222, 128, 0.3); } 61.afm .pill-badge { 62 display: inline-flex; 63 align-items: center; 64 gap: 6px; 65 padding: 6px 16px; 66 background-color: rgba(74, 222, 128, 0.12); 67 color: var(--accent-start); 68 border: 1px solid rgba(74, 222, 128, 0.3); 69 border-radius: var(--radius-full); 70 font-size: 14px; 71 font-weight: 500; 72 margin-bottom: 24px; 73} 74.afm .icon-chip { 75 width: 48px; height: 48px; border-radius: 12px; 76 border: 1.5px solid var(--accent-start); 77 display: flex; align-items: center; justify-content: center; 78 background: transparent; color: var(--accent-start); margin-bottom: 20px; 79} 80.afm .navbar { 81 position: sticky; top: 0; z-index: 100; 82 background-color: rgba(8, 17, 11, 0.8); 83 backdrop-filter: blur(12px); 84 border-bottom: 1px solid var(--card-border); 85 padding: 16px 0; 86} 87.afm .nav-container { display: flex; align-items: center; justify-content: space-between; } 88.afm .nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--text-main); } 89.afm .nav-logo img { width: 32px; height: 32px; } 90.afm .nav-links { display: flex; gap: 32px; align-items: center; } 91.afm .nav-link { font-weight: 500; font-size: 15px; color: var(--text-muted-light); } 92.afm .nav-link:hover { color: var(--accent-start); } 93.afm .nav-dropdown { position: relative; cursor: pointer; } 94.afm .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; } 95.afm .nav-dropdown-menu { 96 display: none; position: absolute; top: 100%; left: 0; margin-top: 16px; 97 background-color: var(--card-bg); border: 1px solid var(--card-border); 98 border-radius: var(--radius-md); padding: 12px 0; min-width: 240px; 99 box-shadow: 0 10px 30px rgba(0,0,0,0.5); 100} 101.afm .nav-dropdown.active .nav-dropdown-menu { display: block; } 102.afm .nav-dropdown-item { display: block; padding: 8px 24px; color: var(--text-muted-light); font-size: 14px; } 103.afm .nav-dropdown-item:hover { background-color: rgba(255,255,255,0.05); color: var(--accent-start); } 104.afm .nav-actions { display: flex; align-items: center; gap: 24px; } 105.afm .hero-section { padding: 100px 0; text-align: center; position: relative; overflow: hidden; } 106.afm .hero-bg-glow { 107 position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 108 width: 800px; height: 800px; 109 background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, rgba(8, 17, 11, 0) 70%); 110 z-index: 0; pointer-events: none; 111} 112.afm .hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; } 113.afm .hero-title { font-size: 64px; margin-bottom: 24px; letter-spacing: -1px; } 114.afm .hero-subtitle { font-size: 19px; color: var(--text-muted-light); max-width: 720px; margin: 0 auto 40px; } 115.afm .showcase-header { margin-bottom: 48px; } 116.afm .showcase-header h2 { font-size: 40px; margin-bottom: 16px; } 117.afm .split-layout { display: flex; align-items: center; gap: 64px; } 118.afm .split-layout > div { flex: 1; } 119.afm .feature-list { list-style: none; margin: 0 0 32px; padding: 0; } 120.afm .feature-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: var(--text-muted-light); font-size: 16px; } 121.afm .feature-list li svg { color: var(--accent-start); flex-shrink: 0; margin-top: 3px; } 122.afm .features-section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; } 123.afm .features-section-header h2 { font-size: 40px; margin-bottom: 16px; } 124.afm .features-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } 125.afm .feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 32px; } 126.afm .feature-card h3 { font-size: 20px; margin-bottom: 12px; } 127.afm .feature-card p { font-size: 15px; color: var(--text-muted); } 128.afm .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; } 129.afm .step-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; position: relative; } 130.afm .step-number { width: 48px; height: 48px; background: rgba(74, 222, 128, 0.1); border: 1px solid var(--accent-start); color: var(--accent-start); font-family: var(--font-heading); font-size: 24px; font-weight: 600; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; } 131.afm .step-card h3 { font-size: 22px; margin-bottom: 16px; } 132.afm .genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } 133.afm .genre-chip { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; transition: all 0.2s; } 134.afm .genre-chip:hover { background: rgba(74, 222, 128, 0.08); border-color: var(--accent-start); transform: translateY(-2px); } 135.afm .genre-chip .genre-name { color: var(--text-main); font-family: var(--font-heading); font-weight: 600; font-size: 16px; } 136.afm .genre-chip .genre-sub { color: var(--text-muted); font-size: 13px; } 137.afm .faq-container { max-width: 800px; margin: 0 auto; } 138.afm .faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); margin-bottom: 16px; overflow: hidden; } 139.afm .faq-question { width: 100%; text-align: left; padding: 24px; background: transparent; color: var(--text-main); font-family: var(--font-body); font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; } 140.afm .faq-chevron { color: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; } 141.afm .faq-item.active .faq-chevron { transform: rotate(180deg); } 142.afm .faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted-light); } 143.afm .faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 400px; } 144.afm .cta-band { background: linear-gradient(180deg, rgba(74,222,128,0.05) 0%, rgba(74,222,128,0.15) 100%); border-top: 1px solid rgba(74,222,128,0.2); border-bottom: 1px solid rgba(74,222,128,0.2); padding: 80px 0; text-align: center; } 145.afm .cta-band h2 { font-size: 48px; margin-bottom: 16px; } 146.afm .footer { padding: 80px 0 40px; background-color: var(--bg-dark); } 147.afm .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; } 148.afm .footer-brand .nav-logo { margin-bottom: 16px; } 149.afm .footer-brand p { color: var(--text-muted); max-width: 300px; } 150.afm .footer-heading { color: var(--text-main); font-weight: 600; margin-bottom: 24px; font-size: 16px; } 151.afm .footer-links { list-style: none; margin: 0; padding: 0; } 152.afm .footer-links li { margin-bottom: 12px; } 153.afm .footer-links a { color: var(--text-muted); font-size: 15px; } 154.afm .footer-links a:hover { color: var(--accent-start); } 155.afm .footer-bottom { padding-top: 32px; border-top: 1px solid var(--card-border); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 14px; } 156@media (max-width: 992px) { 157 .afm .split-layout, .afm .footer-grid { flex-direction: column; grid-template-columns: 1fr; } 158 .afm .features-bento, .afm .steps-grid { grid-template-columns: 1fr; } 159 .afm .genre-grid { grid-template-columns: repeat(2, 1fr); } 160 .afm .hero-title { font-size: 44px; } 161 .afm .nav-links { display: none; } 162} 163@keyframes afm-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } 164`;function E(){let e=(0,c.useTranslations)("aiForMusic"),[t,l]=(0,a.useState)(!1),d=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=e=>{d.current&&!d.current.contains(e.target)&&l(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]);let u=n("nav_sign_in");return(0,r.jsx)("nav",{className:"navbar",children:(0,r.jsxs)("div",{className:"container nav-container",children:[(0,r.jsxs)(j.default,{href:"/",className:"nav-logo",children:[(0,r.jsx)(k.default,{src:s.logo,alt:"AI for Music Logo",width:32,height:32,unoptimized:!0}),(0,r.jsx)("span",{children:"AI for Music"})]}),(0,r.jsxs)("div",{className:"nav-links",children:[o.map(e=>(0,r.jsx)(j.default,{href:e.href,className:"nav-link",children:e.label},e.label)),(0,r.jsxs)("div",{ref:d,className:`nav-dropdown${t?" active":""}`,children:[(0,r.jsxs)("span",{className:"nav-link nav-dropdown-toggle",onClick:()=>l(e=>!e),children:[e("nav.tools"),(0,r.jsx)(A.ChevronDown,{size:12})]}),(0,r.jsx)("div",{className:"nav-dropdown-menu",children:i.map(e=>(0,r.jsx)(j.default,{href:e.href,className:"nav-dropdown-item",children:e.label},e.label))})]}),(0,r.jsx)(j.default,{href:"/ai-lyrics-generator",className:"nav-link",children:e("nav.resources")})]}),(0,r.jsxs)("div",{className:"nav-actions",children:[(0,r.jsx)(M,{}),(0,r.jsx)("a",{href:u,target:"_blank",rel:"noopener",className:"btn-primary","data-umami-event":"cta_sign_in",style:{padding:"8px 20px",fontSize:14},children:e("nav.signIn")})]})]})})}function N(){let e=(0,c.useTranslations)("aiForMusic"),a=e.raw("footer.columnTitles");return(0,r.jsx)("footer",{className:"footer",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"footer-grid",children:[(0,r.jsxs)("div",{className:"footer-brand",children:[(0,r.jsxs)(j.default,{href:"/",className:"nav-logo",children:[(0,r.jsx)(k.default,{src:s.logo,alt:"AI for Music Logo",width:32,height:32,unoptimized:!0}),(0,r.jsx)("span",{children:"AI for Music"})]}),(0,r.jsx)("p",{children:e("footer.tagline")})]}),l.map((e,t)=>(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"footer-heading",children:a[t]??e.title}),(0,r.jsx)("ul",{className:"footer-links",children:e.links.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(j.default,{href:e.href,children:e.label})},e.label))})]},e.title))]}),(0,r.jsxs)("div",{className:"footer-bottom",children:[(0,r.jsx)(S,{}),(0,r.jsx)("div",{children:e("footer.copyright")})]})]})})}function P(e){let{faqs:t}=e,[n,s]=(0,a.useState)(0);return(0,r.jsx)("div",{className:"faq-container",children:t.map((e,a)=>(0,r.jsxs)("div",{className:`faq-item${n===a?" active":""}`,children:[(0,r.jsxs)("button",{className:"faq-question",onClick:()=>s(n===a?null:a),children:[e.question,(0,r.jsx)(A.ChevronDown,{className:"faq-chevron",size:20})]}),(0,r.jsx)("div",{className:"faq-answer",children:(0,r.jsx)("p",{children:e.answe
164r})})]},e.question))})}e.s(["AFM_CSS",0,z,"FaqAccordion",()=>P,"Footer",()=>N,"LanguageSwitcher",()=>M,"MobileLanguageSwitcher",()=>S,"NavBar",()=>E],998567)},297236,e=>{"use strict";var r=e.i(193685),a=e.i(789100),t=e.i(305084),n=e.i(885878),s=e.i(743658),o=e.i(76768),i=e.i(887552),l=e.i(889682),c=e.i(998567);let d=[{slug:"lofi-music-generator",genre:"Lofi",name:"AI Lofi Music Generator",blurb:"Generate chilled, study-ready lofi beats with mellow piano, soft drums, and warm vinyl crackle in seconds.",heroPrompt:"A chill lofi hip-hop beat with mellow piano, soft vinyl crackle, lazy boom-bap drums, relaxed 80 BPM",faqs:[{question:"What makes a track sound like lofi?",answer:"Lofi blends mellow jazz-inspired chords, soft boom-bap drums, warm vinyl crackle, and a relaxed 70-90 BPM tempo. Our AI layers these signature elements automatically when you mention lofi in your prompt."},{question:"Can I make lofi beats for studying or streaming?",answer:"Yes. Every lofi track comes with a commercial license, so you can use it for study playlists, 24/7 livestreams, YouTube backgrounds, or podcasts without copyright worries."},{question:"How do I get a more nostalgic lofi vibe?",answer:"Add words like 'vinyl crackle', 'tape hiss', 'rainy night', or 'mellow Rhodes piano' to your prompt. The more texture you describe, the warmer and more nostalgic the AI lofi result."}]},{slug:"jazz-music-generator",genre:"Jazz",name:"AI Jazz Music Generator",blurb:"Create smooth jazz, swing, and bebop with expressive piano, walking bass, brushed drums, and warm horns.",heroPrompt:"A smooth late-night jazz quartet with expressive piano, walking upright bass, brushed drums, and a warm saxophone solo, 90 BPM",faqs:[{question:"What jazz styles can the AI generate?",answer:"From smooth jazz and bossa nova to swing, bebop, and jazz fusion. Just name the sub-genre and the instruments you love â saxophone, trumpet, Rhodes, or upright bass â and the AI arranges them."},{question:"Can I get realistic improvised solos?",answer:"Yes. Mention 'saxophone solo' or 'piano improvisation' in your prompt and the AI composes expressive, melodic solo lines that fit the chord changes of your track."},{question:"Is the generated jazz royalty-free?",answer:"Every jazz track you create includes a commercial license, perfect for restaurants, lounges, films, and background ambience without licensing fees."}]},{slug:"edm-music-generator",genre:"EDM",name:"AI EDM Music Generator",blurb:"Produce festival-ready EDM with punchy drops, soaring synth leads, sidechained pads, and four-on-the-floor energy.",heroPrompt:"An energetic festival EDM track with a big synth lead, punchy four-on-the-floor kick, sidechained pads, and an explosive drop, 128 BPM",faqs:[{question:"What EDM sub-genres are supported?",answer:"House, progressive house, future bass, dubstep, trance, and big-room EDM. Describe the energy and drop you want, and the AI builds the build-up, drop, and breakdown structure."},{question:"Can I set the BPM for my EDM track?",answer:"Yes â just include a tempo like '128 BPM' or '140 BPM' in your prompt. EDM typically lives between 120 and 150 BPM depending on the sub-genre."},{question:"Can I use these EDM tracks in my DJ sets or videos?",answer:"Absolutely. With the included commercial license you can drop your AI EDM tracks into live sets, livestreams, and monetized videos worry-free."}]},{slug:"pop-music-generator",genre:"Pop",name:"AI Pop Music Generator",blurb:"Write catchy, radio-ready pop songs with bright hooks, polished vocals, and modern production in seconds.",heroPrompt:"An upbeat modern pop song with a catchy chorus hook, bright synths, punchy drums, and polished female vocals, 118 BPM",faqs:[{question:"Can the AI write a catchy pop chorus?",answer:"Yes. Pop thrives on memorable hooks, and the AI is tuned to craft singable choruses. Add your lyrics or a theme and it builds verse-chorus structure with an earworm hook."},{question:"Can I choose the vocal style for my pop song?",answer:"Describe the voice you want â 'bright female vocals', 'smooth male vocals', or 'breathy pop' â and the AI matches the vocal performance to your prompt."},{question:"Is the pop music ready for streaming platforms?",answer:"Every track is delivered with a commercial license, so you can release your AI pop songs on Spotify, Apple Music, and YouTube."}]},{slug:"rock-music-generator",genre:"Rock",name:"AI Rock Music Generator",blurb:"Generate driving rock anthems with crunchy electric guitars, powerful drums, and arena-sized energy.",heroPrompt:"A driving rock anthem with crunchy distorted electric guitars, powerful live drums, melodic bass, and gritty lead vocals, 130 BPM",faqs:[{question:"What rock styles can I generate?",answer:"Classic rock, indie rock, punk, hard rock, and alternative. Mention the era or band vibe you want and the AI dials in the guitar tone, drum feel, and energy."},{question:"Can I get powerful guitar riffs and solos?",answer:"Yes. Add 'electric guitar riff' or 'guitar solo' to your prompt and the AI composes driving riffs and expressive lead solos that anchor the track."},{question:"Can I add my own lyrics to a rock song?",answer:"Paste your lyrics into the prompt and the AI composes the music and performs gritty rock vocals to match your words."}]},{slug:"hip-hop-music-generator",genre:"Hip-Hop",name:"AI Hip-Hop Music Generator",blurb:"Create hard-hitting hip-hop and trap beats with booming 808s, crisp hi-hats, and head-nodding grooves.",heroPrompt:"A hard-hitting trap beat with booming 808 bass, crisp rolling hi-hats, dark piano melody, and a moody atmosphere, 140 BPM",faqs:[{question:"Can I make trap and boom-bap beats?",answer:"Yes. Whether you want modern trap with rolling hi-hats and 808s or classic boom-bap with dusty samples, just describe the style and the AI builds the beat."},{question:"Can I rap over the generated beats?",answer:"Absolutely. Generate an instrumental hip-hop beat and record your own vocals over it, or paste lyrics and let the AI perform them."},{question:"Are the hip-hop beats cleared for release?",answer:"Every beat comes with a commercial license, so you can release tracks, sell beats, or use them in content without sample-clearance headaches."}]},{slug:"classical-music-generator",genre:"Classical",name:"AI Classical Music Generator",blurb:"Compose elegant classical and orchestral pieces with strings, piano, and sweeping cinematic arrangements.",heroPrompt:"An elegant classical piece with a lush string orchestra, expressive solo piano, and a soaring, emotional melody, 70 BPM",faqs:[{question:"Can the AI compose full orchestral arrangements?",answer:"Yes. Describe the ensemble â strings, woodwinds, brass, piano â and the mood, and the AI arranges a layered, dynamic classical composition."},{question:"Can I generate piano-only classical pieces?",answer:"Of course. Mention 'solo piano' for an intimate, expressive piece, or 'piano and strings' for a richer cinematic feel."},{question:"Can I use classical tracks for film scoring?",answer:"With the included commercial license, your AI classical pieces are ready for films, documentaries, games, and presentations."}]},{slug:"ambient-music-generator",genre:"Ambient",name:"AI Ambient Music Generator",blurb:"Generate immersive ambient soundscapes with evolving pads, gentle textures, and calming atmospheres.",heroPrompt:"A calming ambient soundscape with slow evolving pads, gentle textures, soft drones, and a peaceful, spacious atmosphere, 60 BPM",faqs:[{question:"What is ambient music good for?",answer:"Ambient is perfect for meditation, sleep, focus, spas, and atmospheric backgrounds. The AI creates evolving, beatless soundscapes that set a calming mood."},{question:"Can I make long ambient tracks?",answer:"Yes â you can generate extended tracks up to several minutes, ideal for relaxation playlists and focus sessions."},{question:"How do I make the ambient mood more cinematic?",answer:"Add words like 'deep space', 'cinematic drones', or 'ethereal pads' to your prompt to push the texture toward a film-score atmosphere."}]},{slug:"country-music-generator",genre:"Country",name:"AI Country Music Generator",blurb:"Create heartfelt country songs with acoustic guitar, fiddle, steel guitar, and authentic storytelling vocals.",heroPrompt:"A heartfelt country song with warm acoustic guitar, fiddle, pedal steel guitar, and sincere storytelling vocals, 100 BPM",faqs:[{question:"What c
164ountry styles can the AI create?",answer:"Modern country, country pop, bluegrass, and classic country. Mention instruments like fiddle, banjo, or pedal steel to shape the authentic sound."},{question:"Can I tell a story with my country song?",answer:"Country is built on storytelling. Paste your lyrics or describe a theme, and the AI crafts a narrative-driven track with sincere vocals."},{question:"Is the country music royalty-free?",answer:"Yes, every track includes a commercial license for streaming, video, and live use."}]},{slug:"rnb-music-generator",genre:"R&B",name:"AI R&B Music Generator",blurb:"Produce smooth, soulful R&B with silky vocals, lush chords, deep bass, and a laid-back groove.",heroPrompt:"A smooth, soulful R&B track with silky vocals, lush electric piano chords, deep bass, and a laid-back late-night groove, 95 BPM",faqs:[{question:"Can I get that smooth, soulful R&B vibe?",answer:"Yes. Describe 'silky vocals', 'lush chords', and a 'laid-back groove' and the AI delivers the warm, soulful feel that defines R&B."},{question:"Can I blend R&B with other genres?",answer:"Try prompts like 'R&B trap', 'neo-soul', or 'pop R&B' to fuse styles. The AI handles hybrid genres and modern crossovers."},{question:"Can I add my own R&B lyrics?",answer:"Paste your lyrics and the AI composes the production and performs smooth vocals to match your words."}]},{slug:"metal-music-generator",genre:"Metal",name:"AI Metal Music Generator",blurb:"Generate heavy metal with crushing distorted guitars, double-kick drums, and aggressive, powerful energy.",heroPrompt:"A heavy metal track with crushing distorted guitar riffs, fast double-kick drums, growling bass, and aggressive intensity, 160 BPM",faqs:[{question:"What metal sub-genres are supported?",answer:"Heavy metal, metalcore, thrash, death metal, and djent. Describe the heaviness and tempo you want and the AI builds crushing riffs and pounding drums."},{question:"Can I get fast double-kick drums and breakdowns?",answer:"Yes. Mention 'double-kick drums' or 'breakdown' and the AI arranges the aggressive rhythmic
164sections metal is known for."},{question:"Can I use AI metal tracks in my projects?",answer:"Every track includes a commercial license for games, videos, trailers, and releases."}]},{slug:"house-music-generator",genre:"House",name:"AI House Music Generator",blurb:"Create groovy house music with a four-on-the-floor beat, deep basslines, soulful chords, and dancefloor energy.",heroPrompt:"A groovy deep house track with a four-on-the-floor kick, warm rolling bassline, soulful chords, and crisp hi-hats, 124 BPM",faqs:[{question:"What house styles can I generate?",answer:"Deep house, tech house, soulful house, and progressive house. Describe the groove and bassline and the AI builds the steady four-on-the-floor foundation."},{question:"What BPM works best for house?",answer:"House usually sits between 120 and 128 BPM. Include your preferred tempo in the prompt to lock the groove."},{question:"Can I play these tracks in a club or stream?",answer:"Yes â the commercial license covers DJ sets, livestreams, and monetized content."}]},{slug:"techno-music-generator",genre:"Techno",name:"AI Techno Music Generator",blurb:"Generate hypnotic techno with driving kicks, hypnotic loops, dark atmospheres, and relentless momentum.",heroPrompt:"A dark hypnotic techno track with a driving relentless kick, rumbling bass, metallic percussion, and an industrial atmosphere, 132 BPM",faqs:[{question:"Can the AI make dark, industrial techno?",answer:"Yes. Use prompts like 'dark techno', 'industrial', or 'hypnotic loop' and the AI builds the relentless, driving energy techno is built on."},{question:"What tempo should I use for techno?",answer:"Techno typically runs between 125 and 140 BPM. Add your target BPM to the prompt for precise control."},{question:"Are the techno tracks cleared for DJ use?",answer:"Every track comes with a commercial license for sets, releases, and streams."}]},{slug:"synthwave-music-generator",genre:"Synthwave",name:"AI Synthwave Music Generator",blurb:"Create retro synthwave with neon analog synths, gated reverb drums, and an 80s cinematic atmosphere.",heroPrompt:"A retro synthwave track with neon analog synth leads, lush 80s pads, gated reverb drums, and a nostalgic cinematic mood, 110 BPM",faqs:[{question:"What gives synthwave its retro 80s sound?",answer:"Analog-style synths, gated reverb drums, arpeggiated basslines, and neon pads. Mention these and the AI recreates that nostalgic 80s atmosphere."},{question:"Can I make outrun or darksynth variations?",answer:"Yes. Try 'outrun', 'darksynth', or 'retrowave' in your prompt to push the mood from dreamy to driving and cinematic."},{question:"Can I use synthwave for game and video projects?",answer:"The commercial license makes your synthwave tracks ready for games, trailers, and retro-styled content."}]},{slug:"reggae-music-generator",genre:"Reggae",name:"AI Reggae Music Generator",blurb:"Generate laid-back reggae with offbeat guitar skanks, deep dub bass, and a sunny island groove.",heroPrompt:"A laid-back reggae groove with offbeat guitar skank, deep dub bassline, organ stabs, and a sunny, relaxed island vibe, 75 BPM",faqs:[{question:"What makes a track sound like reggae?",answer:"The offbeat guitar 'skank', a deep prominent bassline, organ stabs, and a relaxed tempo. The AI layers these signature reggae elements from your prompt."},{question:"Can I make dub or roots reggae?",answer:"Yes. Add 'dub' for spacious echo-drenched mixes or 'roots reggae' for a classic, soulful feel."},{question:"Is the reggae music royalty-free?",answer:"Every track includes a commercial license for streaming, video, and live use."}]},{slug:"folk-music-generator",genre:"Folk",name:"AI Folk Music Generator",blurb:"Create warm, acoustic folk with fingerpicked guitar, gentle harmonies, and heartfelt storytelling.",heroPrompt:"A warm acoustic folk song with fingerpicked guitar, gentle harmonies, soft strings, and heartfelt, intimate vocals, 95 BPM",faqs:[{question:"What instruments define the folk sound?",answer:"Acoustic guitar, banjo, mandolin, fiddle, and gentle vocal harmonies. Name the instruments you want and the AI builds an organic, intimate arrangement."},{question:"Can I write a storytelling folk song?",answer:"Folk is rooted in storytelling. Paste your lyrics or describe a theme and the AI composes a heartfelt track with sincere vocals."},{question:"Can I use folk tracks commercially?",answer:"Yes, the included commercial license covers streaming, films, podcasts, and ads."}]}];function u(e){let{entry:u,siteKey:h}=e,m=(0,t.useTranslations)("aiForMusic"),p=d.filter(e=>e.slug!==u.slug),g=u.genre,f=u.genre.toLowerCase();return(0,r.jsxs)("div",{className:"afm",children:[(0,r.jsx)("style",{children:c.AFM_CSS}),(0,r.jsx)(c.NavBar,{}),(0,r.jsxs)("section",{className:"section hero-section bg-dark",children:[(0,r.jsx)("div",{className:"hero-bg-glow"}),(0,r.jsxs)("div",{className:"container hero-content",children:[(0,r.jsxs)("div",{className:"pill-badge",children:[(0,r.jsx)(o.Sparkles,{size:16}),m("genre.heroBadge",{genre:g})]}),(0,r.jsx)("h1",{className:"hero-title gradient-text",children:u.name}),(0,r.jsx)("p",{className:"hero-subtitle",children:u.blurb}),(0,r.jsx)(l.default,{turnstileSiteKey:h,defaultPrompt:u.heroPrompt})]})]}),(0,r.jsx)("section",{className:"section bg-light",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"split-layout",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"pill-badge",children:m("genre.introBadge",{genre:g})}),(0,r.jsx)("h2",{style:{fontSize:40,marginBottom:20},children:m("genre.introTitle",{genre:g})}),(0,r.jsx)("p",{style:{marginBottom:24},children:m("genre.introParagraph",{name:u.name,genreLower:f})}),(0,r.jsxs)("ul",{className:"feature-list",children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(n.Check,{size:20})," ",m("genre.bullets.0",{genre:g})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(n.Check,{size:20})," ",m("genre.bullets.1")]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(n.Check,{size:20})," ",m("genre.bullets.2")]})]}),(0,r.jsxs)("a",{href:"#top",className:"btn-primary",children:[(0,r.jsx)(s.Plus,{size:20})," ",m("genre.introCta",{genre:g})]})]}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{style:{background:"var(--card-bg)",border:"1px solid var(--card-border)",borderRadius:20,padding:32},children:[(0,r.jsx)("div",{className:"icon-chip",children:(0,r.jsx)(i.Music,{size:24})}),(0,r.jsx)("h3",{style:{fontSize:22,marginBottom:12},children:m("genre.promptCardTitle")}),(0,r.jsxs)("p",{style:{color:"var(--text-muted-light)",fontStyle:"italic",fontSize:17,lineHeight:1.6},children:["â",u.heroPrompt,"â"]}),(0,r.jsx)("p",{style:{marginTop:20,fontSize:14},children:m("genre.promptCardHint")})]})})]})})}),(0,r.jsx)("section",{className:"section bg-dark",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"features-section-header",children:[(0,r.jsx)("div",{className:"pill-badge",children:m("genre.stepsEyebrow")}),(0,r.jsx)("h2",{children:m("genre.stepsTitle",{genre:g})})]}),(0,r.jsxs)("div",{className:"steps-grid",children:[(0,r.jsxs)("div",{className:"step-card",children:[(0,r.jsx)("div",{className:"step-number",children:"1"}),(0,r.jsx)("h3",{children:m("genre.steps.0.title")}),(0,r.jsx)("p",{children:m("genre.steps.0.desc",{genreLower:f})})]}),(0,r.jsxs)("div",{className:"step-card",children:[(0,r.jsx)("div",{className:"step-number",children:"2"}),(0,r.jsx)("h3",{children:m("genre.steps.1.title")}),(0,r.jsx)("p",{children:m("genre.steps.1.desc",{genreLower:f})})]}),(0,r.jsxs)("div",{className:"step-card",children:[(0,r.jsx)("div",{className:"step-number",children:"3"}),(0,r.jsx)("h3",{children:m("genre.steps.2.title")}),(0,r.jsx)("p",{children:m("genre.steps.2.desc",{genreLower:f})})]})]})]})}),(0,r.jsx)("section",{className:"section bg-light",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"features-section-header",children:[(0,r.jsx)("h2",{children:m("genre.exploreTitle")}),(0,r.jsx)("p",{children:m("genre.exploreSubtitle")})]}),(0,r.jsx)("div",{className:"genre-grid",children:p.map(e=>(0,r.jsxs)(a.default,{href:`/${e.slug}`,className:"genre-chip",children:[(0,r.jsx)("span",{className:"genre-name",children:e.genre}),(0,r.jsx)("span",{className:"genre-sub",children:m("genre.exploreChipSub",{genre:e.genre})})]},e.slug))})]})}),(0,r.jsx)("section",{className:"section bg-dark",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"features-section-header",children:(0,r.jsx)("h2",{children:m("genre.faqTitle",{genre:g})})}),(0,r.jsx)(c.FaqAccordion,{faqs:u.faqs})]})}),(0,r.jsx)("section",{className:"cta-band",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("h2",{children:m("genre.ctaTitle",{genre:g})}),(0,r.jsx)("p",{style:{color:"var(--text-muted-light)",marginBottom:32,fontSize:18},children:m("genre.ctaSubtitle")}),(0,r.jsx)("a",{href:"#top",className:"btn-primary",style:{padding:"16px 48px",fontSize:18},children:m("genre.ctaButton",{genre:g})})]})}),(0,r.jsx)(c.Footer,{})]})}d.map(e=>e.slug),e.s(["default",()=>u],297236)}]);
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.