PageSourceSearch

https://freeaudiotranscribe.org/_next/static/chunks/78840-a7ebf911a01b3d6b.js

js freeaudiotranscribe.org collected 2026-10-07 00:32:00 UTC 56,297 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78840],{74388:(e,t,a)=>{a.d(t,{k:()=>l});var r=a(98628),i=a(15620);a(23016);var n=a(59808),s=a(11790);function l(e){let t,a,l,o,c,d,m=(0,i.c)(12);m[0]!==e?({className:t,value:l,...a}=e,m[0]=e,m[1]=t,m[2]=a,m[3]=l):(t=m[1],a=m[2],l=m[3]),m[4]!==t?(o=(0,s.cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",t),m[4]=t,m[5]=o):o=m[5];let u=`translateX(-${100-(l||0)}%)`;return m[6]!==u?(c=(0,r.jsx)(n.C1,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:u}}),m[6]=u,m[7]=c):c=m[7],m[8]!==a||m[9]!==o||m[10]!==c?(d=(0,r.jsx)(n.bL,{"data-slot":"progress",className:o,...a,children:c}),m[8]=a,m[9]=o,m[10]=c,m[11]=d):d=m[11],d}},78840:(e,t,a)=>{a.d(t,{u:()=>L,TranscribeDemoPage:()=>O});var r=a(98628),i=a(15620),n=a(23016),s=a(29017),l=a(51208),o=a(41457),c=a(20517),d=a(1961),m=a(26715),u=a(35326),p=a(86564),h=a(73764),x=a(44303),g=a(64925),f=a(11132),y=a(65344),b=a(70971),T=a(96109),w=a(40219),N=a(2401),v=a(74388),S=a(42729),j=a(78827),k=a(11843);let _={"one-time":{lite:"lite_one_time",plus:"plus_one_time"},monthly:{free:null,"free edition":null,免费版:null,basic:"basic_monthly",基础版:"basic_monthly",standard:"standard_monthly",标准版:"standard_monthly",pro:"pro_monthly",专业版:"pro_monthly"},yearly:{free:null,"free edition":null,免费版:null,basic:"basic_yearly",基础版:"basic_yearly",standard:"standard_yearly",标准版:"standard_yearly",pro:"pro_yearly",专业版:"pro_yearly"}},M={lite_one_time:1290,plus_one_time:1990,basic_monthly:1e3,standard_monthly:2e3,pro_monthly:3e3,basic_yearly:600,standard_yearly:1200,pro_yearly:1800};function C({group:e,planName:t,currency:a="USD"}){var r,i;let n=(r=e,i=t,_[r][i.trim().toLowerCase()]??null);if(!n)return null;let s="one-time"===e?"one-time":"monthly"===e?"month":"year";return{title:t,currency:a,amount:M[n]||0,interval:s,product_id:n}}let F=(0,s.default)(()=>a.e(58399).then(a.bind(a,58399)).then(e=>e.BrowserTranscriptionRunner),{loadableGenerated:{webpack:()=>[58399]},ssr:!1}),D=[["\uD83C\uDDFA\uD83C\uDDF8","English","英语"],["\uD83C\uDDE8\uD83C\uDDF3","Chinese","中文"],["\uD83C\uDDE9\uD83C\uDDEA","German","德语"],["\uD83C\uDDEA\uD83C\uDDF8","Spanish","西班牙语"],["\uD83C\uDDF7\uD83C\uDDFA","Russian","俄语"],["\uD83C\uDDF0\uD83C\uDDF7","Korean","韩语"],["\uD83C\uDDEB\uD83C\uDDF7","French","法语"],["\uD83C\uDDEF\uD83C\uDDF5","Japanese","日语"],["\uD83C\uDDF5\uD83C\uDDF9","Portuguese","葡萄牙语"],["\uD83C\uDDF9\uD83C\uDDF7","Turkish","土耳其语"],["\uD83C\uDDF5\uD83C\uDDF1","Polish","波兰语"],["\uD83C\uDDEA\uD83C\uDDF8","Catalan","加泰罗尼亚语"],["\uD83C\uDDF3\uD83C\uDDF1","Dutch","荷兰语"],["\uD83C\uDDF8\uD83C\uDDE6","Arabic","阿拉伯语"],["\uD83C\uDDF8\uD83C\uDDEA","Swedish","瑞典语"],["\uD83C\uDDEE\uD83C\uDDF9","Italian","意大利语"],["\uD83C\uDDEE\uD83C\uDDE9","Indonesian","印度尼西亚语"],["\uD83C\uDDEE\uD83C\uDDF3","Hindi","印地语"],["\uD83C\uDDEB\uD83C\uDDEE","Finnish","芬兰语"],["\uD83C\uDDFB\uD83C\uDDF3","Vietnamese","越南语"],["\uD83C\uDDEE\uD83C\uDDF1","Hebrew","希伯来语"],["\uD83C\uDDFA\uD83C\uDDE6","Ukrainian","乌克兰语"],["\uD83C\uDDEC\uD83C\uDDF7","Greek","希腊语"],["\uD83C\uDDF2\uD83C\uDDFE","Malay","马来语"],["\uD83C\uDDE8\uD83C\uDDFF","Czech","捷克语"],["\uD83C\uDDF7\uD83C\uDDF4","Romanian","罗马尼亚语"],["\uD83C\uDDE9\uD83C\uDDF0","Danish","丹麦语"],["\uD83C\uDDED\uD83C\uDDFA","Hungarian","匈牙利语"],["\uD83C\uDDEE\uD83C\uDDF3","Tamil","泰米尔语"],["\uD83C\uDDF3\uD83C\uDDF4","Norwegian","挪威语"],["\uD83C\uDDF9\uD83C\uDDED","Thai","泰语"],["\uD83C\uDDF5\uD83C\uDDF0","Urdu","乌尔都语"],["\uD83C\uDDED\uD83C\uDDF7","Croatian","克罗地亚语"],["\uD83C\uDDE7\uD83C\uDDEC","Bulgarian","保加利亚语"],["\uD83C\uDDF1\uD83C\uDDF9","Lithuanian","立陶宛语"],["\uD83C\uDDFB\uD83C\uDDE6","Latin","拉丁语"],["\uD83C\uDDF3\uD83C\uDDFF","Maori","毛利语"],["\uD83C\uDDEE\uD83C\uDDF3","Malayalam","马拉雅拉姆语"],["\uD83C\uDDEC\uD83C\uDDE7","Welsh","威尔士语"],["\uD83C\uDDF8\uD83C\uDDF0","Slovak","斯洛伐克语"],["\uD83C\uDDEE\uD83C\uDDF3","Telugu","泰卢固语"],["\uD83C\uDDEE\uD83C\uDDF7","Persian","波斯语"],["\uD83C\uDDF1\uD83C\uDDFB","Latvian","拉脱维亚语"],["\uD83C\uDDE7\uD83C\uDDE9","Bengali","孟加拉语"],["\uD83C\uDDF7\uD83C\uDDF8","Serbian","塞尔维亚语"],["\uD83C\uDDE6\uD83C\uDDFF","Azerbaijani","阿塞拜疆语"],["\uD83C\uDDF8\uD83C\uDDEE","Slovenian","斯洛文尼亚语"],["\uD83C\uDDEE\uD83C\uDDF3","Kannada","卡纳达语"],["\uD83C\uDDEA\uD83C\uDDEA","Estonian","爱沙尼亚语"],["\uD83C\uDDF2\uD83C\uDDF0","Macedonian","马其顿语"],["\uD83C\uDDEB\uD83C\uDDF7","Breton","布列塔尼语"],["\uD83C\uDDEA\uD83C\uDDF8","Basque","巴斯克语"],["\uD83C\uDDEE\uD83C\uDDF8","Icelandic","冰岛语"],["\uD83C\uDDE6\uD83C\uDDF2","Armenian","亚美尼亚语"],["\uD83C\uDDF3\uD83C\uDDF5","Nepali","尼泊尔语"],["\uD83C\uDDF2\uD83C\uDDF3","Mongolian","蒙古语"],["\uD83C\uDDE7\uD83C\uDDE6","Bosnian","波斯尼亚语"],["\uD83C\uDDF0\uD83C\uDDFF","Kazakh","哈萨克语"],["\uD83C\uDDE6\uD83C\uDDF1","Albanian","阿尔巴尼亚语"],["\uD83C\uDDF0\uD83C\uDDEA","Swahili","斯瓦希里语"],["\uD83C\uDDEA\uD83C\uDDF8","Galician","加利西亚语"],["\uD83C\uDDEE\uD83C\uDDF3","Marathi","马拉地语"],["\uD83C\uDDEE\uD83C\uDDF3","Punjabi","旁遮普语"],["\uD83C\uDDF1\uD83C\uDDF0","Sinhala","僧伽罗语"],["\uD83C\uDDF0\uD83C\uDDED","Khmer","高棉语"],["\uD83C\uDDFF\uD83C\uDDFC","Shona","绍纳语"],["\uD83C\uDDF3\uD83C\uDDEC","Yoruba","约鲁巴语"],["\uD83C\uDDF8\uD83C\uDDF4","Somali","索马里语"],["\uD83C\uDDFF\uD83C\uDDE6","Afrikaans","南非语"],["\uD83C\uDDEB\uD83C\uDDF7","Occitan","奥克语"],["\uD83C\uDDEC\uD83C\uDDEA","Georgian","格鲁吉亚语"],["\uD83C\uDDE7\uD83C\uDDFE","Belarusian","白俄罗斯语"],["\uD83C\uDDF9\uD83C\uDDEF","Tajik","塔吉克语"],["\uD83C\uDDF5\uD83C\uDDF0","Sindhi","信德语"],["\uD83C\uDDEE\uD83C\uDDF3","Gujarati","古吉拉特语"],["\uD83C\uDDEA\uD83C\uDDF9","Amharic","阿姆哈拉语"],["\uD83C\uDDEE\uD83C\uDDF1","Yiddish","意第绪语"],["\uD83C\uDDF1\uD83C\uDDE6","
1Lao","老挝语"],["\uD83C\uDDFA\uD83C\uDDFF","Uzbek","乌兹别克语"],["\uD83C\uDDEB\uD83C\uDDF4","Faroese","法罗语"],["\uD83C\uDDED\uD83C\uDDF9","Haitian Creole","海地克里奥尔语"],["\uD83C\uDDE6\uD83C\uDDEB","Pashto","普什图语"],["\uD83C\uDDF9\uD83C\uDDF2","Turkmen","土库曼语"],["\uD83C\uDDF3\uD83C\uDDF4","Nynorsk","新挪威语"],["\uD83C\uDDF2\uD83C\uDDF9","Maltese","马耳他语"],["\uD83C\uDDEE\uD83C\uDDF3","Sanskrit","梵语"],["\uD83C\uDDF1\uD83C\uDDFA","Luxembourgish","卢森堡语"],["\uD83C\uDDF2\uD83C\uDDF2","Myanmar","缅甸语"],["\uD83C\uDDE8\uD83C\uDDF3","Tibetan","藏语"],["\uD83C\uDDF5\uD83C\uDDED","Tagalog","他加禄语"],["\uD83C\uDDF2\uD83C\uDDEC","Malagasy","马达加斯加语"],["\uD83C\uDDEE\uD83C\uDDF3","Assamese","阿萨姆语"],["\uD83C\uDDF7\uD83C\uDDFA","Tatar","鞑靼语"],["\uD83C\uDDFA\uD83C\uDDF8","Hawaiian","夏威夷语"],["\uD83C\uDDE8\uD83C\uDDE9","Lingala","林加拉语"],["\uD83C\uDDF3\uD83C\uDDEC","Hausa","豪萨语"],["\uD83C\uDDF7\uD83C\uDDFA","Bashkir","巴什基尔语"],["\uD83C\uDDEE\uD83C\uDDE9","Javanese","爪哇语"],["\uD83C\uDDEE\uD83C\uDDE9","Sundanese","巽他语"],["\uD83C\uDDED\uD83C\uDDF0","Cantonese","粤语"]];function P(e){return e>1048576?`${(e/1048576).toFixed(1)} MB`:`${Math.max(1,Math.round(e/1024))} KB`}function V(e){let t=e.replace(/\s+/g," ").trim();return t?t.split(/(?<=[.!?。!?])\s+/).map(e=>e.trim()).filter(Boolean):[]}function $(e){if(!e)return[];let t=e.raw?.chunks;if(Array.isArray(t)&&t.length>0){let e=t.map((e,t)=>{let a="string"==typeof e.text?e.text.replace(/\s+/g," ").trim():"",r=Array.isArray(e.timestamp)?e.timestamp:[],i="number"==typeof r[0]&&Number.isFinite(r[0])?r[0]:4*t,n="number"==typeof r[1]&&Number.isFinite(r[1])?r[1]:i+Math.max(2,a.length/12);return a?{start:i,end:Math.max(i+.4,n),text:a}:null}).filter(e=>null!==e);if(e.length>0)return e}return(e.lines.length>0?e.lines:V(e.text)).map((e,t)=>{let a=Math.max(2.5,Math.min(8,e.length/10)),r=0===t?0:4.5*t;return{start:r,end:r+a,text:e}})}function A(e){let t=$(e);return 0===t.length?0:Math.max(1,Math.ceil(t.reduce((e,t)=>Math.max(e,t.end),0)))}let X={en:{title:"Free Audio & Video to Text",intro:"Turn audio and video into clean text in seconds.",topBenefits:["Free transcription","No sign-in required","Multiple export formats"],workflowTitle:"How to turn audio and video into text",workflowSteps:[{icon:"upload",title:"Upload or paste a link",body:"Upload an audio or video file from your device, or paste a public media link to start."},{icon:"file",title:"Transcribe to text",body:"Run the transcription and get readable text right on the page. The first run may take a little longer to prepare."},{icon:"share",title:"Export or keep working",body:"Copy the transcript, export it in multiple formats, then generate an AI summary or mind map when you need more structure."}],dropTitle:"Drag and drop to upload",dropDescription:"Upload audio or video files from your device to transcribe.",chooseFile:"Upload file",chooseLink:"Paste link",youtubePlaceholder:"Paste a YouTube, TikTok, Instagram, X, Facebook, or public file link here",transcribeYoutube:"Transcribe link",supportedAudio:"Audio: aac, amr, awb, flac, m4a, mka, mp2, mp3, oga, ogg, opus, wav, weba, webm, wma",supportedVideo:"Video: 3gp, mkv, mov, mp4, mpg, ts, webm, wmv",modelNoticeTitle:"First use may take a bit longer to get ready. Later runs are usually faster.",modelNoticeBody:"Once ready, you can transcribe, copy, and export your results right away.",privateBadge:"Fast transcript \xb7 multiple export formats",multiSpeakerHint:"Works for multi-speaker audio too, with results depending on audio clarity.",emptyFileName:"No file selected yet",emptyFileMeta:"Choose an audio or video file to start transcription",emptyLinkMeta:"Paste a supported media link to get its transcript",idleStatus:"Ready",preparingStatus:"Preparing...",transcribingStatus:"Transcribing...",doneStatus:"Completed",localNote:"Processing your transcription",loadingHint:"The first run may take a bit longer. Later runs are usually faster.",transcriptTitle:"Transcript Preview",transcriptDescription:"Transcription complete. Copy the text or export it in multiple formats.",transcriptPlaceholder:"Run transcription once and the transcript preview will appear here.",insightsTitle:"Notes & Structure",insightSummaryTab:"AI Summary",insightMindMapTab:"Mind Map",generateSummary:"Generate AI summary",generateMindMap:"Generate mind map",summaryPlaceholder:"Generate a concise summary, key points, and action items from the transcript.",mindMapPlaceholder:"Generate a Mermaid mind map based on the transcript structure.",summaryLoading:"Generating summary...",mindMapLoading:"Generating mind map...",openMindMap:"Open large map",openMindMapPage:"Open full page",regenerateMindMap:"Regenerate",mindMapDialogTitle:"Mind Map",mindMapDialogDescription:"Use the large canvas to inspect the structure more clearly.",zoomIn:"Zoom in",zoomOut:"Zoom out",resetView:"Reset view",transcriptLines:["[00:00] Drop in a file and get a clean transcript you can review right away.","[00:14] The first successful moment should feel simple: upload, wait a bit, then copy or download the result.","[00:29] For the first MVP, clean text and easy export actions are enough."],
1copy:"Copy text",copied:"Copied",downloadFormatsTitle:"Download format",downloadCurrent:"Download",downloadFormatTxt:"TXT",downloadFormatPdf:"PDF",downloadFormatDocx:"DOCX",downloadFormatSrt:"SRT",downloadFormatCsv:"CSV",downloadFormatVtt:"VTT",benefitsTitle:"Why choose our Free Audio Transcribe",benefits:[{icon:"zap",title:"Convert audio and video into text in seconds",body:"Turn audio and video files into text quickly for everyday work, study, and content tasks."},{icon:"sparkles",title:"Generate summaries, mind maps, and key points",body:"Go beyond transcription and turn spoken content into concise summaries, structured notes, and visual outlines."},{icon:"file",title:"Export transcripts or share them with others",body:"Download your transcript in multiple formats and keep the workflow simple when you need to save, reuse, or send results."}],languagesTitle:"Supported languages",languagesDescription:"Browse the full supported language list below.",languages:D.map(([e,t])=>({flag:e,title:t})),pricingTitle:"Simple pricing for different transcription needs",pricingDescription:"Effortless audio and video transcription that saves time and helps you stay focused on what matters.",pricingGroups:[{key:"one-time",title:"One-time"},{key:"monthly",title:"Monthly"},{key:"yearly",title:"Yearly",label:"Save 40%"}],pricingPlans:{"one-time":[{name:"Lite",price:"$12.9",period:"",description:"Perfect for short-term projects.",meta:"$0.043/minute\nOne-time payment",ctaVariant:"primary",cta:"Buy now",features:["300 minutes total transcription","90-day validity","Each file can be up to 10 hours / 5 GB. Upload 50 files at a time.","No daily file limit for transcription","Transcription available in 98 languages","Export formats: TXT, PDF, DOCX, CSV, SRT, VTT","AI text summary","Mind map generation","YouTube transcription"]},{name:"Plus",price:"$19.9",period:"",description:"Perfect for short-term projects.",meta:"$0.033/minute\nOne-time payment",ctaVariant:"primary",cta:"Buy now",features:["600 minutes total transcription","90-day validity","Each file can be up to 10 hours / 5 GB. Upload 50 files at a time.","No daily file limit for transcription","Transcription available in 98 languages","Export formats: TXT, PDF, DOCX, CSV, SRT, VTT","AI text summary","Mind map generation","YouTube transcription"]}],monthly:[{name:"Free",price:"$0",period:"/mo",description:"Great for trials and individual projects.",cta:"Start free",features:["120 transcription minutes per month","Up to 30 minutes / 500 MB per file and 1 upload at a time","Limited to 3 transcription files per day","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT"]},{name:"Basic",price:"$10",period:"/mo",meta:"$0.008/minute",description:"Perfect for regular users and daily tasks.",cta:"Subscribe now",features:["1200 transcription minutes per month","Up to 10 hours / 5 GB per file and 50 uploads at a time","No daily transcription file limit","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT","AI text summaries","Mind map generation","YouTube transcription"]},{name:"Standard",price:"$20",period:"/mo",featured:!0,badge:"Most popular",ctaVariant:"primary",meta:"$0.007/minute",description:"The best balance for growing needs.",cta:"Subscribe now",features:["3000 transcription minutes per month","Up to 10 hours / 5 GB per file and 50 uploads at a time","No daily transcription file limit","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT","AI text summaries","Mind map generation","YouTube transcription"]},{name:"Pro",price:"$30",period:"/mo",meta:"$0.005/minute",description:"Ideal for high-volume users and teams.",cta:"Subscribe now",features:["6000 transcription minutes per month","Up to 10 hours / 5 GB per file and 50 uploads at a time","No daily transcription file limit","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT","AI text summaries","Mind map generation","YouTube transcription"]}],yearly:[{name:"Free",price:"$0",period:"/mo",description:"Great for trials and individual projects.",cta:"Start free",features:["120 transcription minutes per month","Up to 30 minutes / 500 MB per file and 1 upload at a time","Limited to 3 transcription files per day","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT"]}
1,{name:"Basic",price:"$6",originalPrice:"$10",period:"/mo",meta:"($72 / year, billed annually)\n$0.005/minute",description:"Perfect for regular users and daily tasks.",cta:"Subscribe now",features:["1200 transcription minutes per month","Up to 10 hours / 5 GB per file and 50 uploads at a time","No daily transcription file limit","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT","AI text summaries","Mind map generation","YouTube transcription"]},{name:"Standard",price:"$12",originalPrice:"$20",period:"/mo",meta:"($144 / year, billed annually)\n$0.004/minute",featured:!0,badge:"Most popular",ctaVariant:"primary",description:"The best balance for growing needs.",cta:"Subscribe now",features:["3000 transcription minutes per month","Up to 10 hours / 5 GB per file and 50 uploads at a time","No daily transcription file limit","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT","AI text summaries","Mind map generation","YouTube transcription"]},{name:"Pro",price:"$18",originalPrice:"$30",period:"/mo",meta:"($216 / year, billed annually)\n$0.003/minute",description:"Ideal for high-volume users and teams.",cta:"Subscribe now",features:["6000 transcription minutes per month","Up to 10 hours / 5 GB per file and 50 uploads at a time","No daily transcription file limit","Support for 98 transcription languages","Export as TXT, PDF, DOCX, SRT, CSV, or VTT","AI text summaries","Mind map generation","YouTube transcription"]}]},faqTitle:"Frequently Asked Questions",faqs:[{q:"Can I try this service for free?",a:"Yes. This page includes free transcription so you can try the transcription flow before committing to a paid plan."},{q:"Which audio and video formats are supported?",a:"This page supports a range of common audio and video formats. You can see the current supported format list directly in the upload area."},{q:"Can I upload large files?",a:"Yes. Different plans include different limits for file duration, file size, and upload quantity, so you can choose the plan that fits your needs."},{q:"Can I export my transcript?",a:"Yes. You can export transcripts as TXT, PDF, DOCX, SRT, CSV, and VTT on this page."},{q:"Which languages are supported for transcription?",a:"The page includes a visible supported-language list and currently describes support for 98 transcription languages."},{q:"How quickly can I get transcription results?",a:"Results usually appear shortly after processing starts. The first run can take a little longer while the experience gets ready."},{q:"How long is a one-time plan valid?",a:"The current one-time plans are described as valid for 90 days, which makes them a practical fit for short-term or one-off projects."},{q:"What is the difference between one-time plans and subscriptions?",a:"One-time plans are better for short-term work, while subscriptions are better for ongoing usage. The included minutes and billing cycle are different for each option."},{q:"Do I need to create an account to use the free audio transcribe tool?",a:"You can try transcription directly on this page without signing in. Creating a free account gives you access to your transcription history and free minutes."},{q:"Is there an unlimited audio transcription plan?",a:"Yes. The higher-tier subscription plans offer a significantly larger pool of transcription minutes each month, making them suitable for heavy or unlimited-style usage."},{q:"Can I use this as a free audio transcribe app on mobile?",a:"Yes. The page is fully responsive, so you can transcribe audio to text on your phone or tablet without downloading any app."},{q:"Does the free audio transcriber support Hindi and other non-English languages?",a:"Yes. The transcription engine supports 98 languages including Hindi, Spanish, French, Japanese, Chinese, and many more."},{q:"Can I transcribe long audio files for free?",a:"Free usage includes a set number of transcription minutes. For longer audio files or high-volume needs, you can upgrade to a paid plan to get more minutes."}],bottomCta:{title:"Ready to turn audio into text?",button:"Start free transcription"}},zh:{title:"免费音频 & 视频转文字",intro:"把音频和视频快速转换成可复制、可导出的文本。",topBenefits:["免费转录","无需登录","支持多种导出格式"],workflowTitle:"如何将音频和视频转换为文本?",workflowSteps:[{icon:"upload",title:"上传文件或粘贴链接",body:"从本地上传音频或视频文件,或者粘贴公开媒体链接后开始转录。"},{icon:"file",title:"转录为文本",body:"点击转录后即可在浏览器中得到可读文本。首次运行可能会稍慢一些,因为需要先完成准备。"},{icon:"share",title:"导出或继续整理",body:"拿到文本后,可以直接复制、按多种格式导出,或继续生成 AI 总结与思维导图。"}],dropTitle:"拖动文件上传",dropDescription:"从设备上传音频/视频文件以进行转录",chooseFile:"上传文件",chooseLink:"粘贴链接",youtubePlaceholder:"把 YouTube、TikTok、Instagram、X、Facebook 或公开文件链接粘贴到这里",transcribeYoutube:"转录链接",supportedAudio:"音频:aac、amr、awb、flac、m4a、mka、mp2、mp3、oga、ogg、opus、wav、weba、webm、wma",supp
1ortedVideo:"视频:3gp、mkv、mov、mp4、mpg、ts、webm、wmv",modelNoticeTitle:"首次使用可能会稍慢一些,准备完成后,后续通常会更快。",modelNoticeBody:"准备完成后,您就可以立即开始转录、复制和导出结果。",privateBadge:"转录更快 \xb7 支持多种导出格式",multiSpeakerHint:"支持多说话人场景,效果取决于音频清晰度。",emptyFileName:"尚未选择文件",emptyFileMeta:"选择一个音频或视频文件后开始转录",emptyLinkMeta:"粘贴支持的平台或公开媒体链接后开始获取转录文本",idleStatus:"就绪",preparingStatus:"准备中...",transcribingStatus:"转录中...",doneStatus:"已完成",localNote:"正在处理转录内容",loadingHint:"首次运行可能稍慢一些,后续通常会更快。",transcriptTitle:"转录结果预览",transcriptDescription:"转录完成!您可以立即复制文本,或按不同格式导出结果。",transcriptPlaceholder:"先运行一次转录,转录结果会显示在这里。",insightsTitle:"总结与结构",insightSummaryTab:"AI 总结",insightMindMapTab:"思维导图",generateSummary:"生成 AI 总结",generateMindMap:"生成思维导图",summaryPlaceholder:"根据转录内容生成简洁总结、关键要点和行动项。",mindMapPlaceholder:"根据转录内容生成 Mermaid 思维导图。",summaryLoading:"正在生成总结...",mindMapLoading:"正在生成思维导图...",openMindMap:"放大查看",openMindMapPage:"单独页面查看",regenerateMindMap:"重新生成",mindMapDialogTitle:"思维导图",mindMapDialogDescription:"在大画布中查看完整结构会更清晰。",zoomIn:"放大",zoomOut:"缩小",resetView:"重置视图",transcriptLines:["[00:00] 把文件拖进来后,很快就能得到一份可以直接查看的转录文本。","[00:14] 第一体验应该很简单:上传文件,等待片刻,然后立刻复制或下载结果。","[00:29] 对最小 MVP 来说,先把干净、可复制、可导出的转录结果做好就够了。"],copy:"复制文本",copied:"已复制",downloadFormatsTitle:"下载格式",downloadCurrent:"下载",downloadFormatTxt:"TXT",downloadFormatPdf:"PDF",downloadFormatDocx:"DOCX",downloadFormatSrt:"SRT",downloadFormatCsv:"CSV",downloadFormatVtt:"VTT",benefitsTitle:"为什么选择我们的免费音频转录",benefits:[{icon:"zap",title:"在几秒钟内将音频和视频转换为文本",body:"借助人工智能技术,您可以在较短时间内快速将音频和视频文件转换为文本。"},{icon:"sparkles",title:"从音频和视频生成摘要、思维导图、关键点",body:"自动生成音频和视频内容的简短摘要和可视化思维导图,并突出关键问题和答案,以关注重要内容。"},{icon:"file",title:"导出转录或直接分享链接",body:"以多种格式导出转录文本,包括 txt、docx、pdf、srt、vtt 和 csv。您还可以分享链接,以便其他人直接查看转录内容。"}],languagesTitle:"支持的语言",languagesDescription:"以下为完整支持语言列表。",languages:D.map(([e,,t])=>({flag:e,title:t})),pricingTitle:"实惠的定价",pricingDescription:"轻松转录音频和视频,节省您的时间,帮助您专注于重要事项。",pricingGroups:[{key:"one-time",title:"一次性套餐"},{key:"monthly",title:"月度套餐"},{key:"yearly",title:"年度套餐",label:"节省 40%"}],pricingPlans:{"one-time":[{name:"Lite",price:"$12.9",period:"",description:"适合短期项目",meta:"$0.043/分钟\n一次性付款",ctaVariant:"primary",cta:"立即购买",features:["总转录时间为 300 分钟","90天有效期","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、CSV、SRT、VTT","文本摘要","思维导图生成","YouTube 转录"]},{name:"Plus",price:"$19.9",period:"",description:"非常适合短期项目",meta:"$0.033/分钟\n一次性付款",ctaVariant:"primary",cta:"立即购买",features:["总转录时间为 600 分钟","90天有效期","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、CSV、SRT、VTT","文本摘要","思维导图生成","YouTube 转录"]}],monthly:[{name:"免费版",price:"$0",period:"/月",description:"适合试用和个人项目。",cta:"开始使用",features:["每月 120 分钟的转录时间","每个文件最长可达 30 分钟 / 500 MB。一次上传 1 个文件。","每天最多转录 3 个文件","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT"]},{name:"基础版",price:"$10",period:"/月",meta:"$0.008/分钟",de
1scription:"适合普通用户和日常任务。",cta:"立即订阅",features:["每月 1200 分钟的转录时间","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT","文本摘要","思维导图生成","YouTube 转录"]},{name:"标准版",price:"$20",period:"/月",featured:!0,badge:"最受欢迎",meta:"$0.007/分钟",description:"满足增长需求的最佳平衡。",ctaVariant:"primary",cta:"立即订阅",features:["每月 3000 分钟的转录时间","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT","文本摘要","思维导图生成","YouTube 转录"]},{name:"专业版",price:"$30",period:"/月",meta:"$0.005/分钟",description:"适合高容量使用和团队。",cta:"立即订阅",features:["每月 6000 分钟的转录时间","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT","文本摘要","思维导图生成","YouTube 转录"]}],yearly:[{name:"免费版",price:"$0",period:"/月",description:"适合试用和个人项目。",cta:"开始使用",features:["每月 120 分钟的转录时间","每个文件最长可达 30 分钟 / 500 MB。一次上传 1 个文件。","每天最多转录 3 个文件","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT"]},{name:"基础版",price:"$6",originalPrice:"$10",period:"/月",meta:"($72 / 年,按年计费)\n$0.005/分钟",description:"适合普通用户和日常任务。",cta:"立即订阅",features:["每月 1200 分钟的转录时间","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT","文本摘要","思维导图生成","YouTube 转录"]},{name:"标准版",price:"$12",originalPrice:"$20",period:"/月",meta:"($144 / 年,按年计费)\n$0.004/分钟",featured:!0,badge:"最受欢迎",description:"满足增长需求的最佳平衡。",ctaVariant:"primary",cta:"立即订阅",features:["每月 3000 分钟的转录时间","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT","文本摘要","思维导图生成","YouTube 转录"]},{name:"专业版",price:"$18",originalPrice:"$30",period:"/月",meta:"($216 / 年,按年计费)\n$0.003/分钟",description:"适合高容量使用和团队。",cta:"立即订阅",features:["每月 6000 分钟的转录时间","每个文件最长可达 10 小时 / 5 GB。一次上传 50 个文件。","没有每日转录文件个数限制","提供98种语言的转录服务","支持导出 TXT、PDF、DOCX、SRT、CSV、VTT","文本摘要","思维导图生成","YouTube 转录"]}]},faqTitle:"常见问题解答",faqs:[{q:"我可以免费试用该服务吗?",a:"可以。当前页面提供免费浏览器 Demo,您可以先上传文件或粘贴公开链接体验转录流程。"},{q:"您支持哪些音频/视频格式?",a:"当前页面支持常见音频与视频格式。页面中已列出音频与视频的支持格式范围,您可以在上传区域直接查看。"},{q:"我可以上传大文件吗?",a:"可以。当前定价说明里展示了不同套餐的单文件时长和文件大小上限,您可以按需求选择对应套餐。"},{q:"我可以导出我的转录吗?",a:"可以。当前页面支持将转录内容导出为 TXT、PDF、DOCX、SRT、CSV 和 VTT。"},{q:"支持哪些语言进行转录?",a:"当前页面已直接展示支持语言列表,并提供 98 种语言的转录能力说明。"},{q:"我可以多快获得转录结果?",a:"通常在开始处理后即可较快得到结果。首次运行可能会稍慢一些,因为需要先完成准备。"},{q:"一次性套餐的有效期是多长时间?",a:"当前一次性套餐说明为 90 天有效期,适合短期项目或一次性需求ã€
1‚"},{q:"一次性套餐和订阅计划之间有什么区别?",a:"一次性套餐更适合短期项目,订阅计划更适合持续性使用。两者的分钟数、周期和适用场景不同,可根据需要选择。"},{q:"使用免费音频转文字工具需要注册账号吗?",a:"无需登录即可在页面上直接体验转录。注册免费账号后,可以查看转录历史记录并获得免费分钟数。"},{q:"是否有不限量的音频转录套餐?",a:"有。高级订阅套餐每月提供大量转录分钟数,适合高频或近乎无限量的使用需求。"},{q:"可以在手机上免费使用音频转文字吗?",a:"可以。页面完全适配移动端,直接用手机或平板浏览器即可转录,无需下载任何 App。"},{q:"支持印地语等非英语语言的音频转录吗?",a:"支持。转录引擎支持包括印地语、西班牙语、法语、日语、中文在内的 98 种语言。"},{q:"免费版可以转录长音频文件吗?",a:"免费版包含一定的转录分钟数配额。如需转录更长的音频或有大量使用需求,可以升级到付费套餐获取更多分钟数。"}],bottomCta:{title:"准备好在浏览器里开始转录了吗?",button:"立即开始免费转录"}}};function q(e){let t,a=(0,i.c)(6),{icon:n}=e;if("lock"===n){let e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(o.A,{className:"h-5 w-5 text-amber-500"}),a[0]=e):e=a[0],e}if("zap"===n){let e;return a[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(c.A,{className:"h-5 w-5 text-emerald-500"}),a[1]=e):e=a[1],e}if("sparkles"===n){let e;return a[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(d.A,{className:"h-5 w-5 text-red-500"}),a[2]=e):e=a[2],e}if("upload"===n){let e;return a[3]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(m.A,{className:"h-5 w-5 text-indigo-500"}),a[3]=e):e=a[3],e}if("share"===n){let e;return a[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(u.A,{className:"h-5 w-5 text-sky-500"}),a[4]=e):e=a[4],e}return a[5]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsx)(p.A,{className:"h-5 w-5 text-slate-500"}),a[5]=t):t=a[5],t}function L({chart:e,mode:t="preview",zoom:i=1,framed:s=!0}){let l=(0,n.useRef)(null),o=(0,n.useRef)(null),[c,d]=(0,n.useState)(!1),m=(0,n.useRef)(0);return(0,n.useEffect)(()=>{m.current+=1;let r=m.current;return(async()=>{try{let{Transformer:i}=await Promise.all([a.e(24392),a.e(71849),a.e(60629),a.e(61750)]).then(a.bind(a,61750)),{Markmap:n,loadCSS:s,loadJS:c}=await Promise.all([a.e(435),a.e(14439)]).then(a.bind(a,14439));if(m.current!==r||!l.current)return;let u=new i,{root:p,features:h}=u.transform(e),{styles:x,scripts:g}=u.getUsedAssets(h);x?.length&&s(x),g?.length&&await c(g,{getMarkmap:()=>({Markmap:n})}),o.current?.destroy(),o.current=n.create(l.current,{zoom:!0,pan:!0,maxInitialScale:"fullscreen"===t?1.2:.9,spacingVertical:8,spacingHorizontal:80,autoFit:!0},p),d(!0)}catch{}})(),()=>{o.current?.destroy(),o.current=null}},[e,t]),(0,n.useEffect)(()=>{if(!c||!o.current)return;let e=o.current;e.rescale?.(i)},[i,c]),(0,r.jsx)("div",{className:s?"rounded-[30px] border border-slate-200 bg-[radial-gradient(circle_at_top,#eff6ff_0%,#ffffff_42%,#f8fafc_100%)] p-5":"",children:(0,r.jsx)("svg",{ref:l,className:"w-full",style:{height:"fullscreen"===t?"calc(100vh - 18rem)":"400px",display:"block"}})})}function B(e){let t,a,s,l,o=(0,i.c)(12),{faqTitle:c,faqs:d}=e,[m,u]=(0,n.useState)(null);if(o[0]!==c?(t=(0,r.jsx)("h2",{className:"text-center text-[2rem] font-semibold tracking-[-0.04em] text-slate-900",children:c}),o[0]=c,o[1]=t):t=o[1],o[2]!==d||o[3]!==m){let e;o[5]!==m?(e=(e,t)=>(0,r.jsxs)("div",{children:[(0,r.jsxs)("button",{type:"button",onClick:()=>u(m===t?null:t),className:"flex w-full items-center justify-between gap-4 py-4 text-left",children:[(0,r.jsx)("span",{className:"text-[1rem] font-semibold tracking-[-0.02em] text-slate-900",children:e.q}),(0,r.jsx)(h.A,{className:`h-4 w-4 shrink-0 text-slate-400 transition-transform duration-200 ${m===t?"rotate-180":""}`})]}),m===t&&(0,r.jsx)("p",{className:"pb-4 text-sm leading-7 text-slate-600",children:e.a})]},e.q),o[5]=m,o[6]=e):e=o[6],a=d.map(e),o[2]=d,o[3]=m,o[4]=a}else a=o[4];return o[7]!==a?(s=(0,r.jsx)("div",{className:"mx-auto mt-8 max-w-2xl divide-y divide-slate-200",children:a}),o[7]=a,o[8]=s):s=o[8],o[9]!==t||o[10]!==s?(l=(0,r.jsxs)("section",{id:"faq",className:"px-2 py-8",children:[t,s]}),o[9]=t,o[10]=s,o[11]=l):l=o[11],l}function O({locale:e}){let t=e?.startsWith("zh")?"zh":"en",a=X[t],i=t===T.q?"/transcript-preview?tab=summary":`/${t}/transcript-preview?tab=summary`,s=(0,l.useRouter)(),{user:o,configs:c,setIsShowPaymentModal:d,setIsShowSignModal:u}
1=(0,S.U)(),p=(0,n.useId)(),h=(0,n.useRef)(null),[_,M]=(0,n.useState)("file"),[D,L]=(0,n.useState)("idle"),[O,I]=(0,n.useState)(null),[R,E]=(0,n.useState)(0),[G,Y]=(0,n.useState)(a.emptyFileName),[z,U]=(0,n.useState)(a.emptyFileMeta),[H,J]=(0,n.useState)(""),[W,K]=(0,n.useState)(null),[Z,Q]=(0,n.useState)(null),[ee,et]=(0,n.useState)(null),[ea,er]=(0,n.useState)("monthly"),[ei,en]=(0,n.useState)(null),[es,el]=(0,n.useState)(!1),[eo,ec]=(0,n.useState)(null),[ed,em]=(0,n.useState)(!1),[eu,ep]=(0,n.useState)({summary:null,mindMap:null});(0,n.useEffect)(()=>()=>{h.current&&window.clearInterval(h.current)},[]),(0,n.useEffect)(()=>{Y("file"===_?a.emptyFileName:a.chooseLink),U("file"===_?a.emptyFileMeta:a.emptyLinkMeta)},[a.chooseLink,a.emptyFileMeta,a.emptyFileName,a.emptyLinkMeta,_]);let eh=()=>{h.current&&(window.clearInterval(h.current),h.current=null)},ex=(e,t)=>{eh(),E(t=>Math.max(t,e)),h.current=window.setInterval(()=>{E(e=>{if(e>=t)return e;let a=t-e;return Math.min(t,Number((e+(a>24?2.6:a>14?1.8:a>8?1.1:a>3?.6:.25)).toFixed(2)))})},320)},eg=async({sourceType:e,sourceName:t,transcriptState:a,totalFileSizeBytes:r})=>{try{let i="string"==typeof a.raw?.lang?a.raw.lang:void 0,n=await fetch("/api/transcribe/history",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sourceType:e,sourceName:t,detectedLanguage:i,durationSeconds:A(a),consumedSeconds:A(a),totalFileSizeBytes:r,transcriptText:a.text,transcriptLines:a.lines,transcriptChunks:$(a)})});if(!n.ok)throw Error(`history save failed with status ${n.status}`);let s=await n.json().catch(()=>null);if(s?.code!==0||s?.data?.saved===!1)throw Error(s?.message||"history save was not accepted")}catch(e){console.error("save transcription history failed:",e)}},ef=()=>"zh"===t?`免费免登录转录次数已用完,请登录后继续。当前可免费试用 3 次。`:"Your free no-sign-in transcription limit is reached. Please sign in to continue. You can try 3 times for free.",ey=async()=>{if(o)return;let e=await fetch("/api/transcribe/trial",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"status"})}),t=await e.json().catch(()=>null);if(!e.ok||t?.code!==0)throw Error(t?.message||"anonymous trial status failed");if((t?.data?.remainingAnonymousTrials??0)<=0)throw Error(ef())},eb=async()=>{if(o)return;let e=await fetch("/api/transcribe/trial",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"consume"})}),t=await e.json().catch(()=>null);if(!e.ok||t?.code!==0)throw Error(t?.message||"anonymous trial consume failed")},eT=Z?.text||"",ew="file"===_?G!==a.emptyFileName:z!==a.emptyLinkMeta||"idle"!==D,eN="idle"===D?0:"done"===D?100:Math.min(99,Math.round(R)),ev="idle"===D?a.idleStatus:"done"===D?a.doneStatus:"transcribing"===O?a.transcribingStatus:a.preparingStatus,eS=({nextTranscript:e=eT,nextTranscriptLines:a=[],nextTranscriptChunks:r=[],nextFileName:i=Z?.fileName||G,nextSummary:n=null,nextMindMap:s=null,nextTab:l="summary",status:o="ready",errorMessage:c=null})=>{window.localStorage.setItem("free-audio-transcribe-results",JSON.stringify({locale:t,transcript:e,transcriptLines:[...a],transcriptChunks:r,fileName:i,summary:n,mindMap:s,activeTab:l,status:o,error:c}))},ej=()=>{L("loading"),I("preparing"),K(null),Q(null),ep({summary:null,mindMap:null})},ek=e=>{eh(),M(e),L("idle"),I(null),E(0),K(null),Q(null),ep({summary:null,mindMap:null}),Y("file"===e?a.emptyFileName:a.chooseLink),U("file"===e?a.emptyFileMeta:a.emptyLinkMeta)},e_=async e=>{if(e){try{await ey()}catch(a){let t=a?.message||ef();K(t),eS({nextTranscript:"",nextTranscriptLines:[],nextTranscriptChunks:[],nextFileName:e.name,nextSummary:null,nextMindMap:null,nextTab:"summary",status:"error",errorMessage:t});return}(0,j.s)("transcription_started",{source:"file",locale:t,file_name:e.name,file_size_bytes:e.size}),eS({nextTranscript:"",nextTranscriptLines:[],nextTranscriptChunks:[],nextFileName:e.name,nextSummary:null,nextMindMap:null,nextTab:"summary",status:"processing",errorMessage:null}),ej(),Y(e.name),U(P(e.size)),ex(8,42),et({id:Date.now(),file:e})}},eM=async(e,a)=>{let r=e.lines.length?e.lines:V(e.text),n={text:e.text,lines:r,raw:e.raw,fileName:a.name,meta:P(a.size),source:"file"};eh(),E(100),L("done"),I("transcribing"),Q(n),et(null),eS({nextTranscript:n.text,nextTranscriptLines:n.lines,nextTranscriptChunks:$(n),nextFileName:n.fileName,nextSummary:null,nextMindMap:null,nextTab:"summary",status:"ready",errorMessage:null}),(0,j.s)("transcription_completed",{source:"file",locale:t,file_name:a.name,transcript_length:e.text.length,transcript_line_count:r.length}),await eg({sourceType:"upload",sourceName:a.name,transcriptState:n,totalFileSizeBytes:a.size}),await eb().catch(e=>{console.error("consume anonymous local transcription trial failed:",e)}),s.push(i)},eC=async()=>
1{let e=H.trim(),r="zh"===t?"这个链接还在处理中,请稍后再试一次。":"This link is still processing. Please try the same link again in a minute.";if(e){try{await ey()}catch(t){let e=t?.message||ef();K(e),eS({nextTranscript:"",nextTranscriptLines:[],nextTranscriptChunks:[],nextFileName:"link-transcript",nextSummary:null,nextMindMap:null,nextTab:"summary",status:"error",errorMessage:e});return}(0,j.s)("transcription_started",{source:"youtube",locale:t,source_url:e}),eS({nextTranscript:"",nextTranscriptLines:[],nextTranscriptChunks:[],nextFileName:"link-transcript",nextSummary:null,nextMindMap:null,nextTab:"summary",status:"processing",errorMessage:null}),ej(),I("transcribing"),Y(a.chooseLink),U(e),ex(12,96);try{let a=async e=>{let t=await fetch("/api/transcribe/youtube",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),a=await t.json().catch(()=>null);if(202===t.status&&a?.data&&"jobId"in a.data&&a.data.jobId)return{status:"pending",data:a.data};if(t.ok&&a?.data&&"text"in a.data&&a.data.text)return{status:"done",data:a.data};throw Error(a?.message||"Link transcription failed")},n=await a({url:e}),l=Date.now();for(;"pending"===n.status&&Date.now()-l<48e4;)await new Promise(e=>setTimeout(e,3e3)),E(e=>Math.min(98,Math.max(e,16)+2)),n=await a({url:n.data.url,jobId:n.data.jobId});if("done"!==n.status)throw Error(r);eh(),E(100),L("done"),I("transcribing");let o={text:n.data.text,lines:Array.isArray(n.data.lines)&&n.data.lines.length>0?n.data.lines:V(n.data.text),raw:n.data.raw,fileName:"link-transcript",meta:e,source:"link"};Q(o),eS({nextTranscript:o.text,nextTranscriptLines:o.lines,nextTranscriptChunks:$(o),nextFileName:o.fileName,nextSummary:null,nextMindMap:null,nextTab:"summary",status:"ready",errorMessage:null}),(0,j.s)("transcription_completed",{source:"youtube",locale:t,source_url:e,transcript_length:o.text.length,transcript_line_count:o.lines.length}),await eg({sourceType:"youtube",sourceName:e,transcriptState:o}),await eb().catch(e=>{console.error("consume anonymous youtube transcription trial failed:",e)}),s.push(i)}catch(t){eh(),L("idle"),I(null),E(0);let e=t?.message||"Link transcription failed";K(e),eS({nextTranscript:"",nextTranscriptLines:[],nextTranscriptChunks:[],nextFileName:"link-transcript",nextSummary:null,nextMindMap:null,nextTab:"summary",status:"error",errorMessage:e})}}},eF=a.pricingPlans[ea],eD=async(e,a)=>{try{if(!o)return void u(!0);let r={product_id:e.product_id,currency:e.currency,locale:t,payment_provider:a||"",metadata:{}};(0,j.s)("checkout_started",{plan_id:e.product_id,billing_cycle:"year"===e.interval?"yearly":"month"===e.interval?"monthly":"one_time",currency:e.currency,payment_provider:a||c.default_payment_provider||"stripe",locale:t}),el(!0),ec(e.product_id);let i=await fetch("/api/payment/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(401===i.status){el(!1),ec(null),en(null),u(!0);return}if(!i.ok)throw Error(`request failed with status ${i.status}`);let{code:n,message:s,data:l}=await (0,k.u0)(i);if(0!==n)throw Error(s);let{checkoutUrl:d}=l;if(!d)throw Error("checkout url not found");window.location.href=d}catch(r){console.log("checkout failed: ",r),(0,j.s)("checkout_failed",{plan_id:e.product_id,billing_cycle:"year"===e.interval?"yearly":"month"===e.interval?"monthly":"one_time",currency:e.currency,payment_provider:a||c.default_payment_provider||"stripe",locale:t,error_message:r?.message||"checkout failed"}),b.oR.error("checkout failed: "+r.message),el(!1),ec(null)}},eP=async({group:e,planName:a})=>{let r=C({group:e,planName:a});if((0,j.s)("pricing_cta_clicked",{plan_id:r?.product_id||"free",plan_name:a,billing_cycle:e,locale:t,is_free:!r,is_authenticated:!!o}),!r)return void document.getElementById("demo")?.scrollIntoView({behavior:"smooth",block:"start"});if(!o)return void u(!0);if("true"===c.select_payment_enabled){en(r),d(!0);return}await eD(r,c.default_payment_provider||"stripe")};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.q,{isLoading:es,pricingItem:ei,onCheckout:eD}),(0,r.jsx)(F,{request:ee,onProgress:(e,t)=>{(I(e),"preparing"===e)?ex(Math.max(t??8,8),42):ex(Math.max(t??64,64),98.6)},onComplete:eM,onError:(e,t)=>
1{eh(),L("idle"),I(null),E(0),K(e),et(null),eS({nextTranscript:"",nextTranscriptLines:[],nextTranscriptChunks:[],nextFileName:t.name,nextSummary:null,nextMindMap:null,nextTab:"summary",status:"error",errorMessage:e})}}),(0,r.jsx)("main",{id:"top",className:"min-h-screen bg-[linear-gradient(180deg,#fafafa_0%,#f4f7fb_100%)] px-4 pt-24 pb-16 [font-family:var(--font-sans)] text-slate-900 antialiased",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[92rem] space-y-6",children:[(0,r.jsxs)("section",{className:"text-center",children:[(0,r.jsx)("h1",{className:"text-[2.85rem] leading-[0.94] font-semibold tracking-[-0.045em] text-slate-950 md:text-[3.6rem]",children:a.title}),(0,r.jsx)("p",{className:"mx-auto mt-5 max-w-3xl text-[1.08rem] leading-8 text-slate-600 md:text-[1.16rem]",children:a.intro}),(0,r.jsx)("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-x-6 gap-y-3 text-[0.95rem] text-slate-600",children:a.topBenefits.map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(x.A,{className:"h-4 w-4 text-emerald-500"}),(0,r.jsx)("span",{className:"font-medium",children:e})]},e))})]}),(0,r.jsx)("section",{id:"demo",className:"rounded-2xl bg-white shadow-[0_20px_60px_rgba(15,23,42,0.06)]",children:(0,r.jsxs)("div",{className:"space-y-5 p-5 md:p-6",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsxs)("div",{className:"inline-flex rounded-2xl border border-slate-200 bg-slate-100 p-1.5",children:[(0,r.jsx)("button",{type:"button",onClick:()=>ek("file"),className:`rounded-xl px-4 py-2.5 text-sm font-semibold transition ${"file"===_?"bg-white text-slate-900 shadow-sm ring-1 ring-slate-200":"text-slate-500 hover:text-slate-700"}`,children:a.chooseFile}),(0,r.jsx)("button",{type:"button",onClick:()=>ek("link"),className:`rounded-xl px-4 py-2.5 text-sm font-semibold transition ${"link"===_?"bg-white text-slate-900 shadow-sm ring-1 ring-slate-200":"text-slate-500 hover:text-slate-700"}`,children:a.chooseLink})]})}),"file"===_?(0,r.jsxs)("label",{htmlFor:p,className:"block rounded-2xl border border-dashed border-slate-300 bg-slate-50 px-6 py-12 text-center transition hover:border-slate-400 hover:bg-white",children:[(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsxs)("span",{className:"inline-flex items-center gap-3 rounded-2xl bg-indigo-500 px-8 py-5 text-[1.1rem] font-semibold text-white shadow-[0_20px_40px_rgba(99,102,241,0.25)]",children:[(0,r.jsx)(m.A,{className:"h-6 w-6"}),a.chooseFile]})}),(0,r.jsxs)("div",{className:"mt-8 space-y-2 text-[1.04rem] leading-8 text-slate-400",children:[(0,r.jsx)("p",{children:a.supportedAudio}),(0,r.jsx)("p",{children:a.supportedVideo})]}),(0,r.jsxs)("div",{className:"mt-5 space-y-1 text-sm leading-7 text-slate-500",children:[(0,r.jsx)("p",{children:a.modelNoticeTitle}),(0,r.jsx)("p",{children:a.modelNoticeBody})]}),(0,r.jsx)("input",{id:p,className:"sr-only",type:"file",accept:".aac,.amr,.awb,.flac,.m4a,.mka,.mp2,.mp3,.oga,.ogg,.opus,.wav,.weba,.webm,.wma,.3gp,.mkv,.mov,.mp4,.mpg,.ts,.wmv,audio/*,video/*",onChange:e=>e_(e.target.files?.[0]??null)})]}):(0,r.jsx)("div",{className:"rounded-2xl border border-slate-200 bg-slate-50 px-6 py-10",children:(0,r.jsxs)("div",{className:"mx-auto max-w-3xl space-y-4",children:[(0,r.jsx)("div",{className:"flex justify-center text-slate-500",children:(0,r.jsx)(g.A,{className:"h-8 w-8"})}),(0,r.jsx)("input",{type:"url",value:H,onChange:e=>J(e.target.value),placeholder:a.youtubePlaceholder,className:"h-14 w-full rounded-2xl border border-slate-300 bg-white px-5 text-base text-slate-900 transition outline-none placeholder:text-slate-400 focus:border-slate-400"}),(0,r.jsxs)(N.$,{type:"button",className:"h-12 w-full rounded-2xl bg-indigo-600 text-white hover:bg-indigo-500",onClick:()=>{eC()},disabled:!H.trim()||"loading"===D,children:[(0,r.jsx)(g.A,{className:"h-4 w-4"}),a.transcribeYoutube]})]})}),W?(0,r.jsx)("div",{className:"rounded-2xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-700",children:W}):null,ew?(0,r.jsx)("div",{className:"rounded-2xl border border-slate-200 bg-white",children:(0,r.jsxs)("div",{className:"space-y-4 px-5 py-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 text-sm",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 text-slate-600",children:["loading"===D?(0,r.jsx)(f.A,{className:"h-4 w-4 animate-spin text-emerald-500"}):"done"===D?(0,r.jsx)(x.A,{className:"h-4 w-4 text-emerald-500"}):null,(0,r.jsx)("span",{children:ev})]}),(0,r.jsxs)("span",{className:"font-medium text-slate-900",children:[eN,"%"]})]}),(0,r.jsx)(v.k,{value:eN,className:"h-2 bg-slate-200 [&_[data-slot=progress-indicator]]:bg-emerald-500"})]})}):null]})}),(0,r.jsxs)("section",{id:"workflow",className:"rounded-2xl px-6 py-8 md:px-8",children:[(0,r.jsx)("div",{className:"mx-auto max-w-3xl text-center",children:(0,r.jsx)("h2",{className:"text-[2rem] font-semibold tracking-[-0.04em] text-slate-900",children:a.workflowTitle})}),(0,r.jsx)("div",{className:"mt-10 grid gap-6 md:grid-cols-3",children:a.workflowSteps.map((e,t)=>(0,r.jsxs)("div",{className:"relative text-center",children:[(0,r.jsx)("div",{className:"mx-auto flex h-14 w-14 items-center justify-center rounded-2xl bg-indigo-50",children:(0,r.jsx)(q,{icon:e.icon})}),t<a.workflowSteps.length-1?(0,r.jsx)(y.A,{className:"absolute top-7 -right-5 hidden h-5 w-5 text-indigo-300 md:block"}):null,(0,r.jsx)("h3",{className:"mt-5 text-[1.2rem] font-semibold tracking-[-0.02em] text-slate-900",children:e.title}),(0,r.jsx)("p",{className:"mt-3 text-sm leading-7 text-slate-600",children:e.body})]},e.title))})]}
1),(0,r.jsxs)("section",{id:"benefits",className:"rounded-2xl px-6 py-8 md:px-8",children:[(0,r.jsx)("div",{className:"mx-auto max-w-3xl text-center",children:(0,r.jsx)("h2",{className:"text-[2rem] font-semibold tracking-[-0.04em] text-slate-900",children:a.benefitsTitle})}),(0,r.jsx)("div",{className:"mt-8 grid gap-5 md:grid-cols-3",children:a.benefits.map(e=>(0,r.jsxs)("div",{className:"rounded-2xl border border-slate-200 bg-slate-50 p-6",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"rounded-2xl bg-white p-3 ring-1 ring-slate-200",children:(0,r.jsx)(q,{icon:e.icon})})}),(0,r.jsx)("h3",{className:"mt-5 text-center text-[1.08rem] font-semibold tracking-[-0.02em] text-slate-900",children:e.title}),(0,r.jsx)("p",{className:"mt-3 text-center text-sm leading-7 text-slate-600",children:e.body})]},e.title))})]}),(0,r.jsxs)("section",{className:"rounded-2xl px-6 py-8 md:px-8",children:[(0,r.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,r.jsx)("h2",{className:"text-[2rem] font-semibold tracking-[-0.04em] text-slate-900",children:a.languagesTitle}),(0,r.jsx)("p",{className:"mt-5 text-base leading-8 text-slate-600",children:a.languagesDescription})]}),(0,r.jsx)("div",{className:"mt-8 grid gap-3 sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-5",children:(a.languages??[]).slice(0,ed?void 0:20).map(e=>{let t="flag"in e?e.flag:"",a=e.title;return(0,r.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-3",children:[t&&(0,r.jsx)("span",{className:"text-2xl leading-none",children:t}),(0,r.jsx)("span",{className:"text-sm font-medium text-slate-700",children:a})]},a)})}),(a.languages??[]).length>20&&(0,r.jsx)("div",{className:"mt-6 text-center",children:(0,r.jsx)("button",{type:"button",onClick:()=>em(e=>!e),className:"inline-flex items-center gap-1.5 rounded-full border border-slate-200 bg-white px-5 py-2 text-sm font-medium text-slate-600 shadow-sm transition hover:border-slate-300 hover:text-slate-900",children:ed?"zh"===t?"收起":"Show less":"zh"===t?`展开全部 ${(a.languages??[]).length} 种语言`:`Show all ${(a.languages??[]).length} languages`})})]}),(0,r.jsxs)("section",{id:"pricing",className:"rounded-2xl px-6 py-8 md:px-8",children:[(0,r.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,r.jsx)("h2",{className:"text-[2rem] font-semibold tracking-[-0.04em] text-slate-900",children:a.pricingTitle}),(0,r.jsx)("p",{className:"mt-5 text-base leading-8 text-slate-600",children:a.pricingDescription})]}),(0,r.jsx)("div",{className:"mt-8 flex justify-center",children:(0,r.jsx)("div",{className:"inline-flex w-full max-w-[46rem] flex-wrap items-center justify-center gap-2 rounded-2xl border border-slate-200 bg-slate-100 p-2",children:a.pricingGroups.map(e=>{let t;return t="label"in e?e.label:void 0,(0,r.jsxs)("button",{type:"button",onClick:()=>er(e.key),className:`min-w-[11rem] flex-1 rounded-xl px-4 py-2.5 text-sm font-semibold transition ${ea===e.key?"bg-white text-slate-900 shadow-sm ring-1 ring-slate-200":"text-slate-500 hover:text-slate-700"}`,children:[(0,r.jsx)("span",{children:e.title}),t?(0,r.jsx)("span",{className:"ml-2 rounded-full bg-rose-500 px-2 py-0.5 text-xs text-white",children:t}):null]},e.key)})})}),(0,r.jsx)("div",{className:`mt-8 grid gap-5 ${2===eF.length?"lg:grid-cols-2":"md:grid-cols-2 2xl:grid-cols-4"}`,children:eF.map(e=>{let a,i,n,s,l,o,c;return a="featured"in e&&!!e.featured,i="badge"in e?e.badge:void 0,n="originalPrice"in e?e.originalPrice:void 0,s="meta"in e?e.meta:void 0,l="ctaVariant"in e?e.ctaVariant:void 0,c=!!(o=C({group:ea,planName:e.name}))&&es&&eo===o.product_id,(0,r.jsxs)("div",{className:`relative rounded-2xl border p-6 ${a?"border-indigo-300 bg-white shadow-[0_20px_50px_rgba(99,102,241,0.08)]":"border-slate-200 bg-white"}`,children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsx)("h3",{className:"text-[1.6rem] font-semibold tracking-[-0.03em] text-slate-900",children:e.name}),i?(0,r.jsx)("div",{className:"shrink-0 rounded-full bg-white px-3 py-1 text-xs font-semibold whitespace-nowrap text-indigo-600 ring-1 ring-indigo-100",children:i}):null]}),(0,r.jsx)("p",{className:`mt-3 min-h-[3rem] text-[0.95rem] leading-6 text-slate-600 ${"zh"===t?"md:text-[0.92rem] md:whitespace-nowrap":""}`,children:e.description}),(0,r.jsxs)("div",{className:"mt-6 flex items-end gap-2",children:[(0,r.jsx)("span",{className:"text-[3rem] leading-none font-semibold tracking-[-0.05em] text-slate-950",children:e.price}),e.period?(0,r.jsx)("span",{className:"pb-1 text-base text-slate-500",children:e.period}):null,n?(0,r.jsx)("span",{className:"pb-1 text-base text-slate-400 line-through",children:n}):null]}),s?(0,r.jsx)("p",{className:"mt-3 text-sm font-medium whitespace-pre-line text-slate-600",children:s}):null,(0,r.jsx)("button",{type:"button",onClick:()=>
1void eP({group:ea,planName:e.name}),disabled:es,className:`mt-6 inline-flex h-11 w-full items-center justify-center rounded-xl px-4 text-sm font-semibold transition ${"primary"===l?"bg-indigo-600 text-white hover:bg-indigo-500":"border border-slate-200 bg-white text-slate-900 hover:bg-slate-50"} ${es?"cursor-not-allowed opacity-70":""}`,children:c?(0,r.jsx)(f.A,{className:"h-4 w-4 animate-spin"}):e.cta}),(0,r.jsx)("ul",{className:"mt-6 space-y-3",children:e.features.map(e=>(0,r.jsxs)("li",{className:"flex items-start gap-3 text-sm leading-7 text-slate-600",children:[(0,r.jsx)(x.A,{className:"mt-1 h-4 w-4 shrink-0 text-indigo-500"}),(0,r.jsx)("span",{children:e})]},e))})]},`${ea}-${e.name}`)})})]}),(0,r.jsx)(B,{faqTitle:a.faqTitle,faqs:a.faqs}),(0,r.jsx)("section",{className:"px-2 pt-2 pb-4",children:(0,r.jsxs)("div",{className:"mx-auto max-w-6xl rounded-[2rem] border border-slate-600/70 bg-[linear-gradient(180deg,#353742_0%,#2d2f39_100%)] px-6 py-12 text-center shadow-[0_20px_60px_rgba(15,23,42,0.18)] md:px-12 md:py-16",children:[(0,r.jsx)("h2",{className:"mx-auto max-w-4xl text-[2.2rem] leading-tight font-semibold tracking-[-0.05em] text-white md:text-[3.4rem]",children:a.bottomCta.title}),(0,r.jsxs)("a",{href:"#demo",className:"mt-8 inline-flex items-center gap-2 rounded-full bg-[linear-gradient(90deg,#7c3aed_0%,#8b5cf6_48%,#6d28d9_100%)] px-8 py-4 text-base font-semibold text-white shadow-[0_18px_40px_rgba(124,58,237,0.35)] transition hover:translate-y-[-1px] hover:shadow-[0_22px_48px_rgba(124,58,237,0.42)]",children:[(0,r.jsx)("span",{children:a.bottomCta.button}),(0,r.jsx)(y.A,{className:"h-5 w-5"})]})]})})]})})]})}}}]);

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.