PageSourceSearch

https://audjust.ai/_next/static/chunks/8060-fc178dfbac392f94.js

js audjust.ai collected 2026-10-04 08:57:21 UTC 27,075 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8060],{123:(e,t,a)=>{a.d(t,{GY:()=>n,t2:()=>r});var o=a(55862);let r=30,n=o.vr},1001:(e,t,a)=>{a.d(t,{H3:()=>l,Ig:()=>o,LT:()=>E,MA:()=>s,Ps:()=>_,SZ:()=>i,Vk:()=>d,WF:()=>n,a3:()=>u,fn:()=>c,o5:()=>m,pM:()=>r});let o=10,r=50,n=5,i=5,l=10;async function s(e){let t=3e4-(Date.now()-e);t>0&&await new Promise(e=>setTimeout(e,t))}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return Array.from({length:t},(t,a)=>12+88*function(e,t){let a=0x811c9dc5,o="".concat(e,":").concat(t);for(let e=0;e<o.length;e+=1)a^=o.charCodeAt(e),a=Math.imul(a,0x1000193);return(a>>>0)%1e4/1e4}(e,a))}function u(e){let t=Math.max(0,Math.round(e)),a=Math.floor(t/60);return"".concat(a.toString().padStart(2,"0"),":").concat((t%60).toString().padStart(2,"0"))}function d(e){var t,a,o,r;if(e.duration&&e.duration>0)return e.duration;let n=null!=(a=null==(t=e.segments.at(-1))?void 0:t.end)?a:0;return Math.max(n,null!=(o=e.beats.at(-1))?o:0,null!=(r=e.downbeats.at(-1))?r:0,0)}function _(e){let t=[30,45,60,90,120].filter(t=>t<=e);return t.length>0?t[t.length-1]:Math.max(15,Math.floor(e))}function p(e,t,a,o,r,n){let i,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],s=a-t,d=(i=0,t>.5&&(i+=1),a<r-.5&&(i+=1),i),_=[...l];return(d<=1||1>Math.abs(s-o))&&_.push("quick_cut"),{id:e,startTime:t,endTime:a,duration:u(s),durationSeconds:s,timeDiff:function(e){let t=Math.round(e);return 0===t?"":"".concat(t>0?"+":"-").concat(u(Math.abs(t)))}(s-o),quality:function(e,t,a,o){let r=Math.abs(e-t),n=1;return r<1?n=5:r<3?n=4:r<6?n=3:r<10&&(n=2),"segment"===a&&n<5&&(n+=1),o<=1&&n<5&&(n+=1),Math.min(5,n)}(s,o,n,d),tags:Array.from(new Set(_)),waveform:c(e),cutCount:d,cutType:n}}function m(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20;return Array.from(new Map([...function(e,t){let a=[],o=d(e),r=Math.max(5,Math.min(20,Math.round(.15*t)));for(let n=0;n<e.downbeats.length;n+=1){let i=e.downbeats[n];for(let l=n+1;l<e.downbeats.length;l+=1){let s=e.downbeats[l];Math.abs(s-i-t)>r||a.push(p("downbeat_".concat(n,"_").concat(l,"_").concat(Math.round(t)),i,s,t,o,"downbeat"))}}return a}(e,t),...function(e,t){let a=[],o=d(e),r=Math.max(8,Math.min(24,Math.round(.2*t)));for(let n=0;n<e.segments.length;n+=1)for(let i=n;i<e.segments.length;i+=1){let l=e.segments[n].start,s=e.segments[i].end;if(Math.abs(s-l-t)>r)continue;let c=e.segments.slice(n,i+1).map(e=>e.label).includes("chorus")?["has_chorus"]:[];a.push(p("segment_".concat(n,"_").concat(i,"_").concat(Math.round(t)),l,s,t,o,"segment",c))}return a}(e,t)].map(e=>["".concat(Math.round(e.startTime),"-").concat(Math.round(e.endTime)),e])).values()).sort((e,a)=>{if(a.quality!==e.quality)return a.quality-e.quality;let o=Math.abs(e.durationSeconds-t),r=Math.abs(a.durationSeconds-t);return o!==r?o-r:e.cutCount!==a.cutCount?e.cutCount-a.cutCount:a.durationSeconds-e.durationSeconds}).slice(0,a)}function E(e){let t=e.segments.filter(e=>"chorus"===e.label);if(t.length>=2)return{time1:u(t[0].start),time2:u(t[0].end),startTime:t[0].start,endTime:t[0].end};let a=e.segments.filter(e=>e.end-e.start>=8);if(a.length>0)return{time1:u(a[0].start),time2:u(a[0].end),startTime:a[0].start,endTime:a[0].end}}},2969:(e,t,a)=>{a.d(t,{default:()=>h});var o=a(30295),r=a(42721),n=a(20610),i=a(40506),l=a(75051),s=a(84169),c=a(54572),u=a(76127),d=a(9892),_=a(53311),p=a(6082),m=a(52592),E=a(30547);function h(e){let t,a,h,v,A,g,w,L,M,O,S,T,x,C,D,R,b,y,I,N,P,U,k,V,j,G,F,B,W=(0,r.c)(73),{audioUrl:z,title:K,className:Y,onDownload:H,autoPlay:q,tracking:$}=e,J=void 0!==q&&q,X=(0,u.useRef)(null),Q=(0,u.useRef)(!1),Z=null==$?void 0:$.toolName,ee=null==$?void 0:$.exampleId,et=null==$?void 0:$.trackLabel,[ea,eo]=(0,u.useState)(!1),[er,en]=(0,u.useState)(0),[ei,el]=(0,u.useState)(0),[es,ec]=(0,u.useState)(1),[eu,ed]=(0,u.useState)(!1),[e_,ep]=(0,u.useState)(!0);W[0]!==ee||W[1]!==Z||W[2]!==et?(t=()=>{let e=X.current;if(!e)return;let t=()=>{el(e.duration),ep(!1)},a=()=>{en(e.currentTime)},o=()=>{eo(!1),en(0)},r=()=>{Z&&ee&&!Q.current&&(Q.current=!0,(0,p.s)(m.R.EXAMPLE_PLAY,{tool_name:Z,example_id:ee,track_label:et}))},n=()=>{ep(!1),console.error("Audio loading error")};return e.addEventListener("loadedmetadata",t),e.addEventListener("timeupdate",a),e.addEventListener("ended",o),e.addEventListener("play",r),e.addEventListener("error",n),()=>{e.removeEventListener("loadedmetadata",t),e.removeEventListener("timeupdate",a),e.removeEventListener("ended",o),e.removeEventListener("play",r),e.removeEventListener("error",n)}},W[0]=ee,W[1]=Z,W[2]=et,W[3]=t):t=W[3],W[4]!==z||W[5]!==ee||W[6]!==Z||W[7]!==et?(a=[z,ee,Z,et],W[4]=z,W[5]=ee,W[6]=Z,W[7]=et,W[8]=a):a=W[8],(0,u.useEffect)(t,a),W[9]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{Q.current=!1},W[9]=h):h=W[9],W[10]!==z?(v=[z],W[10]=z,W[11]=v):v=W[11],(0,u.useEffect)(h,v),W[12]!==J||W[13]!==e_?(A=()=>{J&&X.current&&!e_&&(X.current.play(),eo(!0))},g=[J,e_],W[12]=J,W[13]=e_,W[14]=A,W[15]=g):(A=W[14],g=W[15]),(0,u.useEffect)(A,g),W[16]!==ea?(w=()=>{let e=X.current;e&&(ea?e.pause():e.play(),eo(!ea))},W[16]=ea,W[17]=w):w=W[17];let em=w;W[18]===Symbol.for("react.memo_cache_sentinel")?(L=e=>{let t=X.current;if(!t)return;let a=e[0];t.currentTime=a,en(a)},W[18]=L):L=W[18];let eE=L;W[19]===Symbol.for("react.memo_cache_sentinel")?(M=e=>{let t=X.current;if(!t)return;let a=e[0];t.volume=a,ec(a),ed(0===a)},W[19]=M):M=W[19];let eh=M;W[20]!==eu||W[21]!==es?(O=()=>{let e=X.current;e&&(eu?(e.volume=es||.5,ed(!1)):(e.volume=0,ed(!0)))},W[20]=eu,W[21]=es,W[22]=O):O=W[22];let ef=O,ev=f;W[23]!==Y?(S=(0,E.cn)("w-full space-y-4",Y),W[23]=Y,W[24]=S):S=W[24],W[25]!==z?(T=(0,o.jsx)("audio",{ref:X,src:z,preload:"metadata"}),W[25]=z,W[26]=T):T=W[26],W[27]!==ea?(x=ea?(0,o.jsx)(n.A,{className:"h-6 w-6"}):(0,o.jsx)(i.A,{className:"h-6 w-6 ml-0.5"}),W[27]=ea,W[28]=x):x=W[28],W[29]!==e_||W[30]!==x||W[31]!==em?(C=(0,o.jsx)(d.$,{size:"icon",variant:"ghost",onClick:em,disabled:e_,className:"h-12 w-12 rounded-full bg-white/10 hover:bg-white/20 text-white",children:x}),W[29]=e_,W[30]=x,W[31]=em,W[32]=C):C=W[32],W[33]!==er?(D=[er],W[33]=er,W[34]=D):D=W[34];let eA=ei||100;W[35]!==e_||W[36]!==D||W[37]!==eA?(R=(0,o.jsx)(_.A,{value:D,max:eA,step:.1,onValueChange:eE,className:"cursor-pointer",disabled:e_}),W[35]=e_,W[36]=D,W[37]=eA,W[38]=R):R=W[38];let eg=ev(er);
1W[39]!==eg?(b=(0,o.jsx)("span",{children:eg}),W[39]=eg,W[40]=b):b=W[40];let ew=ev(ei);W[41]!==ew?(y=(0,o.jsx)("span",{children:ew}),W[41]=ew,W[42]=y):y=W[42],W[43]!==b||W[44]!==y?(I=(0,o.jsxs)("div",{className:"flex items-center justify-between text-xs text-white/60",children:[b,y]}),W[43]=b,W[44]=y,W[45]=I):I=W[45],W[46]!==R||W[47]!==I?(N=(0,o.jsxs)("div",{className:"flex-1 space-y-2",children:[R,I]}),W[46]=R,W[47]=I,W[48]=N):N=W[48],W[49]!==eu?(P=eu?(0,o.jsx)(l.A,{className:"h-4 w-4"}):(0,o.jsx)(s.A,{className:"h-4 w-4"}),W[49]=eu,W[50]=P):P=W[50],W[51]!==P||W[52]!==ef?(U=(0,o.jsx)(d.$,{size:"icon",variant:"ghost",onClick:ef,className:"h-8 w-8 text-white/80 hover:text-white hover:bg-white/10",children:P}),W[51]=P,W[52]=ef,W[53]=U):U=W[53];let eL=eu?0:es;return W[54]!==eL?(k=(0,o.jsx)(_.A,{value:[eL],max:1,step:.01,onValueChange:eh,className:"w-20 cursor-pointer"}),W[54]=eL,W[55]=k):k=W[55],W[56]!==U||W[57]!==k?(V=(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[U,k]}),W[56]=U,W[57]=k,W[58]=V):V=W[58],W[59]!==H?(j=H&&(0,o.jsx)(d.$,{size:"icon",variant:"ghost",onClick:H,className:"h-8 w-8 text-white/80 hover:text-white hover:bg-white/10",children:(0,o.jsx)(c.A,{className:"h-4 w-4"})}),W[59]=H,W[60]=j):j=W[60],W[61]!==C||W[62]!==N||W[63]!==V||W[64]!==j?(G=(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[C,N,V,j]}),W[61]=C,W[62]=N,W[63]=V,W[64]=j,W[65]=G):G=W[65],W[66]!==K?(F=K&&(0,o.jsx)("p",{className:"text-sm text-white/80 truncate",children:K}),W[66]=K,W[67]=F):F=W[67],W[68]!==S||W[69]!==T||W[70]!==G||W[71]!==F?(B=(0,o.jsxs)("div",{className:S,children:[T,G,F]}),W[68]=S,W[69]=T,W[70]=G,W[71]=F,W[72]=B):B=W[72],B}function f(e){if(isNaN(e))return"0:00";let t=Math.floor(e/60),a=Math.floor(e%60);return"".concat(t,":").concat(a.toString().padStart(2,"0"))}},6082:(e,t,a)=>{a.d(t,{s:()=>n});var o=a(70844);let r="audjust_session_id";function n(e,t){var a,n,i,l,s,c;let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.fromEntries(Object.entries(e).filter(e=>void 0!==e[1]&&null!==e[1]))}({...t,path:(null==t?void 0:t.path)||window.location.pathname,referrer:(null==t?void 0:t.referrer)||document.referrer||"",locale:(null==t?void 0:t.locale)||(null==(n=window.location.pathname.match(/^\/([a-z]{2})(?:\/|$)/i))||null==(a=n[1])?void 0:a.toLowerCase())||"",session_id:(null==t?void 0:t.session_id)||function(){let e=(0,o.Ri)(r);if(e)return e;let t="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"audjust_".concat(Date.now(),"_").concat(Math.random().toString(16).slice(2));return(0,o.TV)(r,t,30),t}()});try{null==(i=(l=window).plausible)||i.call(l,e,{props:u})}catch(e){}try{null==(s=(c=window).gtag)||s.call(c,"event",e,u)}catch(e){}try{fetch("/api/analytics/event",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",keepalive:!0,body:JSON.stringify({eventName:e,properties:u})})}catch(e){}}},10330:(e,t,a)=>{a.d(t,{M0:()=>l,f2:()=>n});let o="AUDIO_TASK_TIMEOUT";class r extends Error{constructor(e){super(e),this.code=o,this.name="AudioTaskTimeoutError"}}function n(e){return e instanceof Error&&"code"in e&&e.code===o}function i(e){return new Promise(t=>window.setTimeout(t,e))}async function l(e){let{audioId:t,intervalMs:a=8e3,maxAttempts:o=45,onProgress:n,failedMessage:l="Audio processing failed",timeoutMessage:s="Audio is still processing. You can find it in My Audios when it is ready."}=e;for(let e=0;e<o;e+=1){let r,s,c=new URL("/api/audio/status",window.location.origin);c.searchParams.set("audioId",t);try{r=await fetch(c.toString(),{method:"GET",credentials:"same-origin"}),s=await r.json()}catch(t){if(e===o-1)throw t;await i(a);continue}if(!r.ok||!(null==s?void 0:s.success)||!(null==s?void 0:s.data)){if((429===r.status||r.status>=500)&&e<o-1){await i(a);continue}throw Error((null==s?void 0:s.details)||(null==s?void 0:s.error)||"Failed to check audio status")}let u=s.data;if(null==n||n(u.status),"completed"===u.status){if(!u.audioUrl&&!u.originalAudioUrl)throw Error("Audio completed without a downloadable file");return u}if("failed"===u.status)throw Error(u.error||l);await i(a)}throw new r(s)}},10556:(e,t,a)=>{a.d(t,{bK:()=>o,nq:()=>n});
1let o={MUSIC_GENERATION:"music_generation",UPLOAD_COVER:"upload_cover",UPLOAD_EXTEND:"upload_extend",LENGTHEN:"audio_lengthen",STEM_SEPARATION:"stem_separation",REMOVE_BASS_INTRO:"remove_bass_intro",REMOVE_DRUMS_INTRO:"remove_drums_intro",REMOVE_VOCALS_INTRO:"remove_vocals_intro",VOCAL_REMOVAL:"vocal_removal",TO_MIDI:"to_midi",BASIC_EXTENDER_ANALYSIS:"basic_extender_analysis",BASIC_LOOP_ANALYSIS:"basic_loop_analysis",BASIC_SHORTEN_ANALYSIS:"basic_shorten_analysis",BASIC_AUDIO_ANALYSIS:"basic_audio_analysis",STRUCTURE_ANALYSIS:"structure_analysis"};Object.values(o);let r={LOFI:"to_lofi"};function n(e){switch(e){case"lengthen":return o.LENGTHEN;case"stem_separation":return o.STEM_SEPARATION;case"vocal_removal":return o.VOCAL_REMOVAL;case"to_midi":return o.TO_MIDI;case r.LOFI:default:return}}},13498:(e,t,a)=>{a.d(t,{EH:()=>i,ET:()=>c,NB:()=>o,gI:()=>l,tM:()=>s});let o="audjust:pricing-interest",r={"/shorten-song":3},n={passive:12e4,engagement:6e4,free_trial_success:8e3};function i(e){return n[e]}function l(e,t){let a=r[e.replace(/^\/[a-z]{2}(?:-[A-Za-z]{2})?(?=\/|$)/,"")||"/"];return void 0!==a&&"number"==typeof t&&t>=a}function s(e){window.dispatchEvent(new CustomEvent(o,{detail:{reason:e}}))}function c(e,t,a){return e>=2?null:Math.max(0,t+6e5-a)}},13522:(e,t,a)=>{a.d(t,{$3:()=>l,St:()=>i,oB:()=>n});var o=a(1001);function r(e,t){let a=Math.max(1,Math.round(e)),o=Math.max(1,Math.round(t)),r=[];for(let e=0;e<a;e+=o)r.push(e);return r.at(-1)!==a&&r.push(a),r}async function n(e){return new Promise((t,a)=>{let o=URL.createObjectURL(e),r=document.createElement("audio"),n=()=>{r.onloadedmetadata=null,r.onerror=null,URL.revokeObjectURL(o)};r.preload="metadata",r.onloadedmetadata=()=>{let e=Number.isFinite(r.duration)&&r.duration>0?r.duration:60;n(),t(e)},r.onerror=()=>{n(),a(Error("Failed to read local audio metadata"))},r.src=o})}function i(e){let t=Math.max(15,Math.round(e)),a=[30,45,60,90,120,180,240,300].find(e=>e>t);return a||Math.max(t+15,Math.round(1.25*t))}function l(e){let{filename:t,audioUrl:a,durationSeconds:n,mode:l="extender",targetDurationSeconds:s}=e,c=function(e){let t=Math.max(15,Math.round(e)),a=Math.max(4,Math.min(8,Math.round(t/20))),o=Math.max(8,Math.round(t/a)),n=Math.max(4,Math.min(12,Math.round(t/12))),i=Math.max(2,Math.round(n/2)),l=[];for(let e=0;e<t;e+=o)l.push({start:e,end:Math.min(t,e+o),label:"section"});return{tempo:100,beats:r(t,i),downbeats:r(t,n),duration:t,segments:l}}(n),u="extender"===l?i(n):"shorten"===l?function(e){let t=Math.max(15,Math.round(e)),a=Math.max(15,Math.floor(.7*t)),o=[15,30,45,60,90,120,180].filter(e=>e<=a);return o.length>0?o[o.length-1]:Math.max(15,Math.floor(.5*t))}(n):(0,o.Ps)(n),d=s&&Number.isFinite(s)&&Math.round(s)>0?Math.round(s):null,_=d&&("loop"===l||"extender"===l&&d>n||"shorten"===l&&d<n)?d:u,p="extender"===l?Math.min(n,Math.max(15,Math.floor(.85*n))):_;return{filename:t,duration:(0,o.a3)(n),audioUrl:a,targetDuration:_,results:(0,o.o5)(c,p,24),loops:(0,o.LT)(c),analysisData:c}}},23651:(e,t,a)=>{a.d(t,{Q:()=>l});var o=a(76127),r=a(77044),n=a(13498);let i="audjust:audio-free-trial-used";function l(e){let{user:t}=(0,r.U)(),[a,l]=(0,o.useState)(!1),[s,c]=(0,o.useState)(!!e),u=(0,o.useCallback)(async()=>{if(!e){l(!1),c(!1);return}c(!0);try{var t,a;let o=await fetch("/api/audio/free-trial",{cache:"no-store"}),r=await o.json();l(o.ok&&(null==r||null==(a=r.data)||null==(t=a.availability)?void 0:t[e])===!0)}catch(e){l(!1)}finally{c(!1)}},[e]);return(0,o.useEffect)(()=>{u()},[u,null==t?void 0:t.id]),(0,o.useEffect)(()=>{let e=()=>{"visible"===document.visibilityState&&u()};return window.addEventListener("focus",e),document.addEventListener("visibilitychange",e),()=>{window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",e)}},[u]),(0,o.useEffect)(()=>{let t=t=>{var a;t instanceof CustomEvent&&(null==(a=t.detail)?void 0:a.featureKey)===e&&l(!1)};return window.addEventListener(i,t),()=>window.removeEventListener(i,t)},[e]),{available:a,isLoading:s,markUsed:(0,o.useCallback)(()=>{e&&(l(!1),window.dispatchEvent(new CustomEvent(i,{detail:{featureKey:e}})))},[e]),notifySuccess:(0,o.useCallback)(()=>{e&&(0,n.tM)("free_trial_success")},[e]),refresh:u}}},52592:(e,t,a)=>{a.d(t,{R:()=>o});let o={PAGE_VIEW:"page_view",REVISIT:"revisit",TOOL_PAGE_VIEW:"tool_page_view",TOOL_SUBMIT:"tool_submit",TOOL_RESULT_VIEW:"tool_result_view",UPGRADE_CARD_VIEW:"upgrade_card_view",UPGRADE_CLICK:"upgrade_click",UNLOCK_ADVANCED_CLICK:"unlock_advanced_click",TOOL_RESULT_SUCCESS:"tool_result_success",TOOL_RESULT_FAILED:"tool_result_failed",PROMPT_COPY:"prompt_copy",PROMPT_USE:"prompt_use",EXAMPLE_PLAY:"example_play",EXAMPLE_TOOL_CTA_CLICK:"example_tool_cta_click",RELATED_TOOL_CLICK:"related_tool_click",PRICING_MODAL_SHOW:"pricing_modal_show",PRICING_MODAL_CLOSE:"pricing_modal_close",PLAN_SELECT:"plan_select",CHECKOUT_START:"checkout_start",CHECKOUT_ERROR:"checkout_error",CHECKOUT_RESUME:"checkout_resume",CHECKOUT_RETURN:"checkout_return",PAYMENT_SUCCESS:"payment_success",PAYMENT_FAILED:"payment_failed",RESULT_DOW
1NLOAD:"result_download",RESULT_CONTINUE_WORKFLOW:"result_continue_workflow",AUDIO_ASSET_PREFILL_SUCCESS:"audio_asset_prefill_success",AUDIO_ASSET_PREFILL_FAILED:"audio_asset_prefill_failed",TOOL_UPLOAD_SUCCESS:"tool_upload_success",FIT_VIDEO_ROUTE_PLANNED:"fit_video_route_planned",VIDEO_DURATION_DETECTED:"video_duration_detected",FIT_VIDEO_JOB_CREATED:"fit_video_job_created",FIT_VIDEO_OUTPUT_RESULT:"fit_video_output_result",RESULT_PREVIEW_PLAY:"result_preview_play",AUDIO_SHARE_CREATED:"audio_share_created",AUDIO_SHARE_REVOKED:"audio_share_revoked",REFERRAL_LINK_COPIED:"referral_link_copied",TASK_DRAFT_SAVED:"task_draft_saved",TASK_DRAFT_RESTORED:"task_draft_restored",TASK_DRAFT_RESTORE_FAILED:"task_draft_restore_failed",PROJECT_CREATED:"project_created",SOURCE_AUDIO_UPLOADED:"source_audio_uploaded",AUDIO_ANALYSIS_STARTED:"audio_analysis_started",AUDIO_ANALYSIS_COMPLETED:"audio_analysis_completed",AGENT_MESSAGE_SENT:"agent_message_sent",AGENT_ACTION_PROPOSED:"agent_action_proposed",AGENT_ACTION_APPROVED:"agent_action_approved",AGENT_ACTION_REJECTED:"agent_action_rejected",AUDIO_PLAN_CREATED:"audio_plan_created",AUDIO_VERSION_STARTED:"audio_version_started",AUDIO_VERSION_COMPLETED:"audio_version_completed",AUDIO_VERSION_FAILED:"audio_version_failed",AUDIO_PREVIEW_PLAYED:"audio_preview_played",VISUAL_PACK_PREVIEWED:"visual_pack_previewed",VISUAL_PACK_RENDERED:"visual_pack_rendered",VIDEO_TRIAL_UPGRADE_CLICKED:"video_trial_upgrade_clicked",VISUAL_DIRECTION_CREATED:"visual_direction_created",STORYBOARD_CREATED:"storyboard_created",STORYBOARD_APPROVED:"storyboard_approved",KEYFRAME_GENERATED:"keyframe_generated",SCENE_GENERATION_STARTED:"scene_generation_started",SCENE_GENERATION_COMPLETED:"scene_generation_completed",SCENE_REGENERATED:"scene_regenerated",REVIEW_LINK_CREATED:"review_link_created",REVIEW_OPENED:"review_opened",VERSION_APPROVED:"version_approved",DELIVERY_PACKAGE_CREATED:"delivery_package_created",DELIVERY_PACKAGE_DOWNLOADED:"delivery_package_downloaded",SECOND_PROJECT_STARTED:"second_project_started",ANNUAL_UPGRADE_COMPLETED:"annual_upgrade_completed"}},53311:(e,t,a)=>{a.d(t,{A:()=>l});var o=a(30295),r=a(76127),n=a(1249),i=a(30547);let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,o.jsxs)(n.bL,{ref:t,className:(0,i.cn)("relative flex w-full touch-none select-none items-center",a),...r,children:[(0,o.jsx)(n.CC,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-white/20",children:(0,o.jsx)(n.Q6,{className:"absolute h-full bg-white"})}),(0,o.jsx)(n.zi,{className:"block h-4 w-4 rounded-full border border-white/50 bg-white shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]})});l.displayName=n.bL.displayName},55862:(e,t,a)=>{a.d(t,{$H:()=>n,gl:()=>o,vr:()=>r,yd:()=>i});let o=10,r=20;function n(e,t){return"audjust-acce-step"===e&&(!t||"V4_5PLUS"===t)}function i(e){let{modelId:t,providerModel:a,standardCredits:r,isFirstGenerationPromotionEligible:i}=e;return i&&n(t,a)?o:r}},69850:(e,t,a)=>{a.d(t,{W:()=>u});var o=a(30295),r=a(42721),n=a(69197),i=a(49991),l=a(76127),s=a(85457),c=a(30547);function u(e){let t,a,u,_,p,m,E,h,f,v,A,g,w,L,M,O,S,T,x,C,D,R,b,y=(0,r.c)(67),{onFileSelect:I,canSelectFile:N,className:P,id:U}=e,k=(0,i.Ym)();y[0]!==k?(t=k.startsWith("zh"),y[0]=k,y[1]=t):t=y[1];let V=t;y[2]!==k?(a=k.startsWith("ja"),y[2]=k,y[3]=a):a=y[3];let j=a;y[4]!==k?(u=k.startsWith("pl"),y[4]=k,y[5]=u):u=y[5];let G=u;y[6]!==k?(_=k.startsWith("es"),y[6]=k,y[7]=_):_=y[7];let F=_,[B,W]=(0,l.useState)(!1),[z,K]=(0,l.useState)(""),Y=(0,l.useRef)(null),H=(0,l.useId)();y[8]===Symbol.for("react.memo_cache_sentinel")?(p={pt:{prompt:"Arraste, cole ou clique para enviar um \xe1udio",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 m\xe1x. ".concat(s.vx,"MB"),invalid:"Selecione um arquivo de \xe1udio compat\xedvel.",empty:"Este arquivo de \xe1udio est\xe1 vazio. Escolha outro arquivo.",tooLarge:"O arquivo n\xe3o pode ultrapassar ".concat(s.vx,"MB.")},fr:{prompt:"Glissez, collez ou cliquez pour importer un audio",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 ".concat(s.vx," Mo max."),invalid:"S\xe9lectionnez un fichier audio compatible.",empty:"Ce fichier audio est vide. Choisissez-en un autre.",tooLarge:"Le fichier ne doit pas d\xe9passer ".concat(s.vx," Mo.")},de:{prompt:"Audio hierher ziehen, einf\xfcgen oder zum Hochladen klicken",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 max. ".concat(s.vx," MB"),invalid:"Bitte w\xe4hlen Sie eine unterst\xfctzte Audiodatei aus.",empty:"Diese Audiodatei ist leer. Bitte w\xe4hlen Sie eine andere Datei.",tooLarge:"Die Datei darf h\xf6chstens ".concat(s.vx," MB gro\xdf sein.")},ko:{prompt:"오디오를 끌어다 놓거나 붙여넣거나 클릭하여 업로드하세요",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 최대 ".concat(s.vx,"MB"),invalid:"지원되는 오디오 파일ì
1„ 선택하세요.",empty:"오디오 파일이 비어 있습니다. 다른 파일을 선택하세요.",tooLarge:"파일 크기는 ".concat(s.vx,"MB 이하여야 합니다.")},it:{prompt:"Trascina, incolla o fai clic per caricare un audio",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 max ".concat(s.vx," MB"),invalid:"Seleziona un file audio supportato.",empty:"Il file audio \xe8 vuoto. Scegline un altro.",tooLarge:"Il file non pu\xf2 superare ".concat(s.vx," MB.")}},y[8]=p):p=y[8];let q=p[k.split("-")[0]];y[9]!==F||y[10]!==j||y[11]!==G||y[12]!==V?(m=V?{prompt:"拖放、粘贴或点击上传音频",support:"支持 MP3、WAV、M4A、AAC、OGG、FLAC,最大 ".concat(s.vx,"MB"),invalid:"请选择支持的音频文件格式。",empty:"这个音频文件是空的,请换一个文件。",tooLarge:"音频文件不能超过 ".concat(s.vx,"MB。")}:j?{prompt:"ドラッグ、貼り付け、またはクリックして音声をアップロード",support:"MP3、WAV、M4A、AAC、OGG、FLAC(最大 ".concat(s.vx,"MB)"),invalid:"対応している音声ファイルを選択してください。",empty:"空の音声ファイルはアップロードできません。",tooLarge:"音声ファイルは ".concat(s.vx,"MB 以下にしてください。")}:G?{prompt:"Przeciągnij, wklej lub kliknij, aby przesłać audio",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 maks. ".concat(s.vx,"MB"),invalid:"Wybierz obsługiwany plik audio.",empty:"Plik audio jest pusty.",tooLarge:"Plik audio nie może przekraczać ".concat(s.vx,"MB.")}:F?{prompt:"Arrastra, pega o haz clic para subir audio",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 m\xe1x. ".concat(s.vx,"MB"),invalid:"Selecciona un archivo de audio compatible.",empty:"El archivo de audio est\xe1 vac\xedo.",tooLarge:"El archivo no puede superar ".concat(s.vx,"MB.")}:{prompt:"Drop, paste, or click to upload audio",support:"MP3, WAV, M4A, AAC, OGG, FLAC \xb7 max ".concat(s.vx,"MB"),invalid:"Please select a supported audio file.",empty:"This audio file is empty. Please choose another file.",tooLarge:"Audio files must be ".concat(s.vx,"MB or smaller.")},y[9]=F,y[10]=j,y[11]=G,y[12]=V,y[13]=m):m=y[13];let $=m,J=null!=q?q:$;y[14]!==N?(E=()=>!N||N(),y[14]=N,y[15]=E):E=y[15];let X=E;y[16]!==X?(h=X(),y[16]=X,y[17]=h):h=y[17];let Q=h;y[18]!==X||y[19]!==J.empty||y[20]!==J.invalid||y[21]!==J.tooLarge||y[22]!==I?(f=e=>{if(!X())return;let t=(0,s.m4)(e);if(t)return void K("too_large"===t?J.tooLarge:"empty"===t?J.empty:J.invalid);K(""),window.dispatchEvent(new Event("audjust:pricing-interest")),I(e)},y[18]=X,y[19]=J.empty,y[20]=J.invalid,y[21]=J.tooLarge,y[22]=I,y[23]=f):f=y[23];let Z=f;y[24]===Symbol.for("react.memo_cache_sentinel")?(v=e=>{e.preventDefault(),e.stopPropagation(),W(!0)},y[24]=v):v=y[24];let ee=v;y[25]===Symbol.for("react.memo_cache_sentinel")?(A=e=>{e.preventDefault(),e.stopPropagation(),W(!1)},y[25]=A):A=y[25];let et=A;y[26]!==X||y[27]!==Z?(g=e=>{if(e.preventDefault(),e.stopPropagation(),W(!1),!X())return;let t=e.dataTransfer.files[0];t&&Z(t)},y[26]=X,y[27]=Z,y[28]=g):g=y[28];let ea=g;y[29]!==Z?(w=e=>{let t=Array.from(e.clipboardData.files)[0];t&&(e.preventDefault(),Z(t))},y[29]=Z,y[30]=w):w=y[30];let eo=w;y[31]!==X||y[32]!==Z?(L=e=>{var t;let a=null==(t=e.target.files)?void 0:t[0];if(a){if(!X()){e.target.value="";return}Z(a),e.target.value=""}},y[31]=X,y[32]=Z,y[33]=L):L=y[33];let er=L;y[34]!==X?(M=()=>{var e;X()&&(null==(e=Y.current)||e.click())},y[34]=X,y[35]=M):M=y[35];let en=M,ei=Q?0:-1;y[36]!==Q||y[37]!==en?(O=e=>{Q&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),en())},y[36]=Q,y[37]=en,y[38]=O):O=y[38];let el=!Q,es=z?H:void 0,ec=Q?"cursor-pointer motion-safe:hover:-translate-y-0.5 motion-safe:active:translate-y-0 motion-safe:active:scale-[0.995] hover:shadow-[0_12px_30px_rgba(0,0,0,0.18)]":"cursor-not-allowed opacity-65",eu=B?"border-[#cfb8ff]/55 bg-[#cfb8ff]/12 shadow-[0_14px_34px_rgba(201,177,255,0.14)]":z?"border-red-400/45 bg-red-400/8":"border-white/20 bg-white/5 hover:border-[#cfb8ff]/35 hover:bg-[#cfb8ff]/8";return y[39]!==P||y[40]!==ec||y[41]!==eu?(S=(0,c.cn)("flex flex-col items-center justify-center rounded-lg border-2 border-dashed px-6 py-12 transition-[background-color,border-color,transform,box-shadow,opacity] duration-200 ease-out",ec,eu,P),y[39]=P,y[40]=ec,y[41]=eu,y[42]=S):S=y[42],y[43]===Symbol.for("react.memo_cache_sentinel")?(T=(0,o.jsx)(n.A,{className:"h-8 w-8 text-white/60 mb-3"}),y[43]=T):T=y[43],y[44]!==J.prompt?(x=(0,o.jsx)("p",{className:"text-white/80 text-center",children:J.prompt}),y[44]=J.prompt,y[45]=x):x=y[45],y[46]!==J.support?(C=(0,o.jsx)("p",{className:"text-white/40 text-sm mt-2",children:J.support}),y[46]=J.support,y[47]=C):C=y[47],y[48]!==H||y[49]!==z?(D=z?(0,o.jsx)("p",{id:H,className:"mt-3 text-center text-sm text-red-200",children:z}):null,y[48]=H,y[49]=z,y[50]=D):D=y[50],y[51]!==er?(R=(0,o.jsx)("input",{ref:Y,type:"file",accept:".mp3,.wav,.m4a,.aac,.ogg,.flac,audio/mpeg,audio/wav,audio/mp4,audio/aac,audio/ogg,audio/flac",onChange:er,className:"hidden"}),y[51]=er,y[52]=R):R=y[52],y[53]!==en||y[54]!==ea||y[55]!==eo||y[56]!==U||y[57]!==ei||y[58]!==O||y[59]!==el||y[60]!==e
1s||y[61]!==S||y[62]!==x||y[63]!==C||y[64]!==D||y[65]!==R?(b=(0,o.jsxs)("div",{id:U,role:"button",tabIndex:ei,onClick:en,onKeyDown:O,onDragOver:d,onDragEnter:ee,onDragLeave:et,onDrop:ea,onPaste:eo,"aria-disabled":el,"aria-describedby":es,className:S,children:[T,x,C,D,R]}),y[53]=en,y[54]=ea,y[55]=eo,y[56]=U,y[57]=ei,y[58]=O,y[59]=el,y[60]=es,y[61]=S,y[62]=x,y[63]=C,y[64]=D,y[65]=R,y[66]=b):b=y[66],b}function d(e){e.preventDefault(),e.stopPropagation()}},70844:(e,t,a)=>{function o(e){if("undefined"==typeof document)return"";let t="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===t.length){var a;return(null==(a=t.pop())?void 0:a.split(";").shift())||""}return""}function r(e,t,a){if("undefined"==typeof document)return;let o="";if(a){let e=new Date;e.setTime(e.getTime()+24*a*36e5),o="; expires=".concat(e.toUTCString())}document.cookie="".concat(e,"=").concat(t).concat(o,"; path=/")}a.d(t,{Ri:()=>o,TV:()=>r})},85457:(e,t,a)=>{a.d(t,{m4:()=>i,vx:()=>o});let o=50,r=["mp3","wav","m4a","aac","ogg","flac"],n=new Set(["audio/mpeg","audio/mp3","audio/wav","audio/x-wav","audio/mp4","audio/x-m4a","audio/aac","audio/ogg","audio/flac","audio/x-flac"]);function i(e){var t;if(e.size<=0)return"empty";if(e.size>0x3200000)return"too_large";let a=null==(t=e.name.split(".").pop())?void 0:t.toLowerCase(),o=r.some(e=>e===a),i=!!e.type&&n.has(e.type.toLowerCase());return o||i?null:"unsupported"}}}]);

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.