1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6234],{10678:function(e,a,i){i.d(a,{w6:function(){return E},OH:function(){return f}});var n=i(3735),l=i(9068),t=i.n(l),o=i(30294),r=i(294),s=i(55731),c=i(53492),d=i(3705);let u=async e=>{try{let{default:a}=await i.e(9041).then(i.t.bind(i,49041,23)),n=new a,l=await n.loadAsync(e);return Object.keys(l.files).filter(e=>e.startsWith("ppt/slides/slide")&&e.endsWith(".xml")).length}catch(e){return console.error("æ£æµPPT页æ°å¤±è´¥:",e),0}},p=async e=>{try{let a=await e.arrayBuffer();console.log(`è§£æPDF: ${e.name} (${(e.size/1024/1024).toFixed(1)}MB)`);let{PDFDocument:n}=await i.e(6124).then(i.bind(i,36124)),l=(await n.load(a,{ignoreEncryption:!0,updateMetadata:!1})).getPageCount();return console.log(`PDFè§£æå®æ: ${l}页`),l}catch(e){return console.error("PDFé¡µæ°æ£æµå¤±è´¥:",e),0}},g=async e=>{let a=e.name.split(".").pop()?.toLowerCase();return"pdf"===a?await p(e):"pptx"===a?await u(e):0},m=async e=>{let{file:a,shouldDetectPageCount:i=!1,maxPages:n,onSuccess:l,onError:t}=e;try{let e=0;if(i&&(e=await g(a),n&&e>n)){let a=`File exceeds ${n}-page limit (current: ${e} pages). Please reduce and re-upload`;return c.ZP.error(a),t?.(Error(a)),null}let{file_key:o,upload_url:r}=await (0,d.Fl)(a.name);return await (0,d.OC)({url:r,file:a}),l?.({file:a,file_key:o,slideCount:e,upload_url:r}),null}catch(e){return console.error("ä¸ä¼ 失败:",e),c.ZP.error("File upload failed, please try again"),t?.(e),null}},h=e=>{let{accept:a=".pptx,.pdf",maxSize:i,maxPages:n,cloudPath:l,shouldDetectPageCount:t=!0,onBefore:o,onProgress:r,onSuccess:s,onError:d}=e,u=document.createElement("input");u.type="file",u.accept=a,u.style.display="none",u.onchange=async e=>{let p=e.target,g=p.files?.[0];if(!g)return;if(i&&g.size>i){let e=`File size exceeds limit (max ${Math.round(i/1024/1024)}MB)`;console.error("æä»¶å¤§å°è¶
é:",e),c.ZP.error(e),d?.(Error(e)),document.body.removeChild(u);return}let h=g.name.split(".").pop()?.toLowerCase(),b=a.split(",").map(e=>e.trim().replace(".",""));if(!h||!b.includes(h)){let e=`Please select a supported file type: ${a}`;c.ZP.error(e),d?.(Error(e));return}o?.(g),await m({file:g,cloudPath:l,shouldDetectPageCount:t,maxPages:n,onProgress:r,onSuccess:s,onError:d}),document.body.removeChild(u)},document.body.appendChild(u),u.click()};var b=i(4175),f=e=>{let{maxSize:a,maxPages:i,onUploadSuccess:l,onUploadError:d,acceptedFileTypes:u={"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"],"application/pdf":[".pdf"]},supportedFormatsText:p="Supported formats: .pdf / .pptx",shouldDetectPageCount:g=!0,icon:h,dragAndDropText:f,browseFilesText:v}=e,x=(0,b.T)("upload"),[y,_]=(0,o.useState)(0),[C,w]=(0,o.useState)(!1),{setUploadedFile:F}=(0,s.Z)(),k=(0,o.useCallback)(async e=>{w(!0),_(0);try{await m({file:e,shouldDetectPageCount:g,maxPages:i,onProgress:e=>{_(e)},onSuccess:e=>{F(e),_(100),l?.(e)},onError:e=>{console.log(e),d?.(e)}})}catch(e){console.error("æä»¶ä¸ä¼ 失败:",e),c.ZP.error(x("uploadError")),d?.(e)}finally{w(!1),setTimeout(()=>_(0),1e3)}},[l,d]),S=(0,o.useCallback)(e=>{let a=e[0];a&&k(a)},[k]),{getRootProps:E,getInputProps:M,isDragActive:A,fileRejections:j}=(0,r.uI)({onDrop:S,accept:u,maxSize:a||void 0,multiple:!1,disabled:C});return(0,o.useEffect)(()=>{j.length&&c.ZP.error(x("fileRejectionError"))},[j,x]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t(),{id:"44c6c384c94b6b72",children:"@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);transform:rotate(0deg)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}"}),(0,n.jsxs)("div",{...E(),style:{backgroundColor:A?"#f0f0f0":"#FCFBFF"},className:"jsx-44c6c384c94b6b72 lg:h-[200px] lg:pt-[28.5px] lg:pb-0 py-7 border border-dashed border-[#C8CACC] rounded-lg text-center flex items-start justify-center cursor-pointer transition-colors",children:[(0,n.jsx)("input",{...M({"aria-label":x("dragAndDrop")}),className:"jsx-44c6c384c94b6b72"}),C?(0,n.jsxs)("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},className:"jsx-44c6c384c94b6b72",children:[(0,n.jsx)("div",{style:{width:"40px",height:"40px",border:"3px solid #f3f3f3",borderTop:"3px solid #000",borderRadius:"50%",animation:"spin 1s linear infinite"},className:"jsx-44c6c384c94b6b72"}),(0,n.jsx)("span",{style:{fontSize:"14px",color:"#666666",marginTop:"8px"},className:"jsx-44c6c384c94b6b72",children:y>0?`${x("uploading")} ${Math.round(y)}%`:x("uploadingWait")})]}):(0,n.jsxs)("div",{className:"jsx-44c6c384c94b6b72",children:[(0,n.jsxs)("div",{className:"jsx-44c6c384c94b6b72 flex flex-col justify-center items-center ",children:[h,(0,n.jsx)("div",{className:"jsx-44c6c384c94b6b72 text-[18px] text-[#131314] font-medium leading-[26px]",children:f??x("dragAndDrop")}),(0,n.jsx)("div",{className:"jsx-44c6c384c94b6b72 text-[14px] text-[#4C4D4E] font-normal leading-5 px-5 lg:px-0",children:p})]}),j.length>0&&(0,n.jsx)("div",{style:{fontSize:"12px",fontWeight:400,lineHeight:"20px",color:"#FF0F0F",marginTop:"4px",textAlign:"center"},className:"jsx-44c6c384c94b6b72",children:x("uploadFailed")}),(0,n.jsx)("div",{style:{display:"flex",gap:"8px",justifyContent:"center",marginTop:"8px"},className:"jsx-44c6c384c94b6b72",children:(0,n.jsx)("button",{style:{color:"#fff",height:"36px",borderRadius:"46px",backgroundColor:"#1E2026",padding:"8px 20px",border:"none",cursor:"pointer",fontSize:"14px",fontWeight:"500"},onMouseOver:e=>{e.currentTarget.style.backgroundColor="#6E4DFC"},onMouseOut:e=>{e.currentTarget.style.backgroundColor="#1E2026"},className:"jsx-44c6c384c94b6b72",children:v??x("browseFiles")})})]})]})]})},v=i(98431),x=i(20745),y=i(86631);let _=["JPG","JPEG","PNG","WEBP","GIF"],C=["MP4","MOV","WEBM","AVI","MKV"],w=["PPT","PPTX"],F=(e,a)=>{if(a)return a.toUpperCase();if(!e)return"";let i=e.lastIndexOf(".");return i>=0?e.slice(i+1).toUpperCase():""},k=e=>w.includes(e)?"demo_ppt":C.includes(e)?"a-Uploadmediafile":["TXT"].includes(e)?"a-SEOText":"File",S=e=>_.includes(e);var E=e=>{let{uploadedFile:a,uploadConfig:i={},onUploadSuccess:l,onUploadError:r,showReuploadButton:s=!0}=e,[c,d]=(0,o.useState)(!1),[u,p]=(0,o.useState)(0),g=a?.file_name||a?.file?.name,m=a?.file?.size||a?.file_size||0,b=a?.file_slides||a?.slideCount,f=F(g,a?.file_type),[_,C]=(0,o.useState)(null);return(0,o.useEffect)(()=>
1{if(!S(f)||!(a?.file instanceof File)){C(null);return}let e=URL.createObjectURL(a.file);return C(e),()=>URL.revokeObjectURL(e)},[f,a?.file]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t(),{id:"44c6c384c94b6b72",children:"@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);transform:rotate(0deg)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}"}),(0,n.jsxs)("div",{style:{borderRadius:"8px",border:"1px solid #C8CACC",backgroundColor:"#FFFFFF",display:"flex",alignItems:"center",padding:"10px 16px",gap:"12px",position:"relative",cursor:"default",overflow:"hidden"},className:"jsx-44c6c384c94b6b72",children:[_?(0,n.jsx)(v.Z,{arrow:!0,placement:"top",title:(0,n.jsx)("img",{src:_,alt:g||"",decoding:"async",style:{display:"block",maxWidth:"320px",maxHeight:"320px",borderRadius:"4px"},className:"jsx-44c6c384c94b6b72"}),slotProps:{tooltip:{sx:{bgcolor:"#fff",p:1,boxShadow:"0 8px 24px rgba(0,0,0,0.12)",maxWidth:"none"}},arrow:{sx:{color:"#fff"}}},children:(0,n.jsx)("img",{src:_,alt:g||"",decoding:"async",style:{width:32,height:32,objectFit:"cover",borderRadius:"4px",flexShrink:0},className:"jsx-44c6c384c94b6b72"})}):(0,n.jsx)(y.Z,{name:k(f),color:"#1A5EDB",size:32}),(0,n.jsxs)("div",{style:{flex:1,minWidth:0},className:"jsx-44c6c384c94b6b72",children:[(0,n.jsx)("div",{style:{fontSize:"14px",fontWeight:500,color:"#131314",lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},className:"jsx-44c6c384c94b6b72",children:g}),(0,n.jsxs)("div",{style:{fontSize:"12px",color:"#999",lineHeight:"16px"},className:"jsx-44c6c384c94b6b72",children:[b?`${b} slides \xb7 `:"",(0,x.sS)(m)]})]}),c?(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},className:"jsx-44c6c384c94b6b72",children:[(0,n.jsx)("div",{style:{width:"20px",height:"20px",border:"2px solid #f3f3f3",borderTop:"2px solid #000",borderRadius:"50%",animation:"spin 1s linear infinite"},className:"jsx-44c6c384c94b6b72"}),(0,n.jsxs)("span",{className:"jsx-44c6c384c94b6b72",children:[u,"%"]})]}):(0,n.jsx)(n.Fragment,{children:s&&(0,n.jsx)(v.Z,{title:"Re-upload",arrow:!0,placement:"top",children:(0,n.jsx)("div",{onClick:()=>{h({accept:i.accept,maxSize:i.maxSize,maxPages:i.maxPages,cloudPath:i.cloudPath,shouldDetectPageCount:i.shouldDetectPageCount,onBefore:()=>{d(!0),p(0)},onProgress:e=>{p(e)},onSuccess:e=>{d(!1),p(0),l?.(e)},onError:e=>{d(!1),p(0),r?.(e)}})},className:"jsx-44c6c384c94b6b72 cursor-pointer hover:bg-[#F2F3F6] w-[28px] h-[28px] flex justify-center items-center rounded-[14px]",children:(0,n.jsx)(y.Z,{name:"Re-upload",size:24,color:"#1E2026"})})})})]})]})}},28147:function(e,a,i){i.d(a,{$C:function(){return n},BA:function(){return d},CK:function(){return l},Ix:function(){return s},Lm:function(){return u},NZ:function(){return r},f$:function(){return t},kU:function(){return c},wl:function(){return o}});let n=[{value:"Afrikaans",label:"Afrikaans"},{value:"Albanian",label:"Albanian"},{value:"Amharic",label:"Amharic"},{value:"Arabic",label:"Arabic"},{value:"Armenian",label:"Armenian"},{value:"Assamese",label:"Assamese"},{value:"Azerbaijani",label:"Azerbaijani"},{value:"Basque",label:"Basque"},{value:"Belarusian",label:"Belarusian"},{value:"Bengali",label:"Bengali"},{value:"Bosnian",label:"Bosnian"},{value:"Bulgarian",label:"Bulgarian"},{value:"Burmese",label:"Burmese"},{value:"Catalan",label:"Catalan"},{value:"Cebuano",label:"Cebuano"},{value:"Chichewa",label:"Chichewa"},{value:"Chinese(Cantonese)",label:"Chinese(Cantonese)"},{value:"Chinese(Mandarin)",label:"Chinese(Mandarin)"},{value:"Croatian",label:"Croatian"},{value:"Czech",label:"Czech"},{value:"Danish",label:"Danish"},{value:"Dutch",label:"Dutch"},{value:"English",label:"English"},{value:"Estonian",label:"Estonian"},{value:"Filipino",label:"Filipino"},{value:"Finnish",label:"Finnish"},{value:"French",label:"French"},{value:"Galician",label:"Galician"},{value:"Georgian",label:"Georgian"},{value:"German",label:"German"},{value:"Greek",label:"Greek"},{value:"Gujarati",label:"Gujarati"},{value:"Hausa",label:"Hausa"},{value:"Hebrew",label:"Hebrew"},{value:"Hindi",label:"Hindi"},{value:"Hungarian",label:"Hungarian"},{value:"Icelandic",label:"Icelandic"},{value:"Indonesian",label:"Indonesian"},{value:"Inuktitut",label:"Inuktitut"},{value:"Irish",label:"Irish"},{value:"Italian",label:"Italian"},{value:"Japanese",label:"Japanese"},{value:"Javanese",label:"Javanese"},{value:"Kannada",label:"Kannada"},{value:"Kazakh",label:"Kazakh"},{value:"Khmer",label:"Khmer"},{value:"Kirghiz",label:"Kirghiz"},{value:"Korean",label:"Korean"},{value:"Lao",label:"Lao"},{value:"Latvian",label:"Latvian"},{value:"Lingala",label:"Lingala"},{value:"Lithuanian",label:"Lithuanian"},{value:"Luxembourgish",label:"Luxembourgish"},{value:"Macedonian",label:"Macedonian"},{value:"Malay",label:"Malay"},{value:"Malayalam",label:"Malayalam"},{value:"Maltese",label:"Maltese"},{value:"Marathi",label:"Marathi"},{value:"Mongolian",label:"Mongolian"},{value:"Nepali",label:"Nepali"},{value:"Norwegian Bokm\xe5l",label:"Norwegian Bokm\xe5l"},{value:"Odia",label:"Odia"},{value:"Pashto",label:"Pashto"},{value:"Persian",label:"Persian"},{value:"Polish",label:"Polish"},{value:"Portuguese",label:"Portuguese"},{value:"Punjabi",label:"Punjabi"},{value:"Romanian",label:"Romanian"},{value:"Russian",label:"Russian"},{value:"Serbian",label:"Serbian"},{value:"Sindhi",label:"Sindhi"},{value:"Sinhala",label:"Sinhala"},{value:"Slovak",label:"Slovak"},{value:"Slovenian",label:"Slovenian"},{value:"Somali",label:"Somali"},{value:"Spanish",label:"Spanish"},{value:"Sundanese",label:"Sundanese"},{value:"Swahili",label:"Swahili"},{value:"Swedish",label:"Swedish"},{value:"Tamil",label:"Tamil"},{value:"Telugu",label:"Telugu"},{value:"Thai",label:"Thai"},{value:"Turkish",label:"Turkish"},{value:"Ukrainian",label:"Ukrainian"},{value:"Urdu",label:"Urdu"},{value:"Uzbek",label:"Uzbek"},{value:"Vietnamese",label:"Vietnamese"},{value:"Welsh",label:"Welsh"},{value:"Zulu",label:"Zulu"}],l=[{value:"Afrikaans (South Africa)",label:"Afrikaans (South Africa)"},{value:"Albanian (Albania)",label:"Albanian (Albania)"},{value:"Amharic (Ethiopia)",label:"Amharic (Ethiopia)"},{value:"Arabic",label:"Arabic"},{value:"Arabic (Algeria)",label:"Arabic (Algeria)"},{value:"Arabic (Bahrain)",label:"Arabic (Bahrain)"},{value:"Arabic (Egypt)",label:"Arabic (Egypt)"},{value:"Arabic (Iraq)",label:"Arabic (Iraq)"},{value:"Arabic (Jordan)",label:"Arabic (Jordan)"},{value:"Arabic (Kuwait)",label:"Arabic (Kuwait)"},{value:"Arabic (Lebanon)",label:"Arabic (Lebanon)"},{value:"Arabic (Libya)",label:"Arabic (Libya)"},{value:"Arabic (Morocco)",label:"Arabic (Morocco)"},{value:"Arabic (Oman)",label:"Arabic (Oman)"},{value:"Arabic (Qatar)",label:"Arabic (Qatar)"},{value:"Arabic (Saudi Arabia)",label:"Arabic (Saudi Arabia)"},{value:"Arabic (Syria)",label:"Arabic (Syria)"},{value:"Arabic (Tunisia)",label:"Arabic (Tunisia)"},{value:"Arabic (United Arab Emirates)",label:"Arabic (United Arab Emirates)"},{value:"Arabic (World)",label:"Arabic (World)"},{value:"Arabic (Yemen)",label:"Arabic (Yemen)"},{value:"Armenian (Armenia)",label:"Armenian (Armenia)"},{value:"Azerbaijani (Latin, Azerbaijan)",label:"Azerbaijani (Latin, Azerbaijan)"},{value:"Bangla (Bangladesh)",label:"Bangla (Bangladesh)"},{value:"Basque",label:"Basque"},{value:"Belarusian (Belarus)",label:"Belarusian (Belarus)"},{value:"Bengali (India)",label:"Bengali (India)"},{value:"Bosnian (Bosnia and Herzegovina)",label:"Bosnian (Bosnia and Herzegovina)"},{value:"Bulgarian",label:"Bulgarian"},{value:"Bulgarian (Bulgaria)",label:"Bulgarian (Bulgaria)"},{value:"Burmese (Myanmar)",label:"Burmese (Myanmar)"},{value:"Catalan",label:"Catalan"},{value:"Chinese (Cantonese, Traditional)",label:"Chinese (Cantonese, Traditional)"},{value:"Chinese (Jilu Mandarin, Simplified)",label:"Chinese (Jilu Mandarin, Simplified)"},{value:"Chinese (Mandarin, Simplified)",label:"Chinese (Mandarin, Simplified)"},{value:"Chinese (Northeastern Mandarin, Simplified)",label:"Chinese (Northeastern Mandarin, Simplified)"},{value:"Chinese (Southwestern Mandarin, Simplified)",label:"Chinese (Southwestern Mandarin, Simplified)"},{value:"Chinese (Taiwanese Mandarin, Traditional)",label:"Chinese (Taiwanese Mandarin, Traditional)"},{value:"Chinese (Wu, Simplified)",label:"Chinese (Wu, Simplified)"},{value:"Chinese (Zhongyuan Mandarin Henan, Simplified)",label:"Chinese (Zhongyuan Mandarin Henan, Simplified)"},{value:"Chinese (Zhongyuan Mandarin Shaanxi, Simplified)",label:"Chinese (Zhongyuan Mandarin Shaanxi, Simplified)"},{value:"Croatian",label:"Croatian"},{value:"Croatian (Croatia)",label:"Croatian (Croatia)"},{value:"Czech",label:"Czech"},{value:"Czech (Czechia)",label:"Czech (Czechia)"},{value:"Danish",label:"Danish"}
1,{value:"Danish (Denmark)",label:"Danish (Denmark)"},{value:"Dutch",label:"Dutch"},{value:"Dutch (Belgium)",label:"Dutch (Belgium)"},{value:"Dutch (Netherlands)",label:"Dutch (Netherlands)"},{value:"English",label:"English"},{value:"English (Australia)",label:"English (Australia)"},{value:"English (Canada)",label:"English (Canada)"},{value:"English (Hong Kong SAR)",label:"English (Hong Kong SAR)"},{value:"English (India)",label:"English (India)"},{value:"English (Ireland)",label:"English (Ireland)"},{value:"English (Kenya)",label:"English (Kenya)"},{value:"English (New Zealand)",label:"English (New Zealand)"},{value:"English (Nigeria)",label:"English (Nigeria)"},{value:"English (Philippines)",label:"English (Philippines)"},{value:"English (Singapore)",label:"English (Singapore)"},{value:"English (South Africa)",label:"English (South Africa)"},{value:"English (Tanzania)",label:"English (Tanzania)"},{value:"English (UK)",label:"English (UK)"},{value:"English (United States)",label:"English (United States)"},{value:"Estonian (Estonia)",label:"Estonian (Estonia)"},{value:"Filipino",label:"Filipino"},{value:"Filipino (Cebuano)",label:"Filipino (Cebuano)"},{value:"Filipino (Philippines)",label:"Filipino (Philippines)"},{value:"Finnish",label:"Finnish"},{value:"Finnish (Finland)",label:"Finnish (Finland)"},{value:"French",label:"French"},{value:"French (Belgium)",label:"French (Belgium)"},{value:"French (Canada)",label:"French (Canada)"},{value:"French (France)",label:"French (France)"},{value:"French (Switzerland)",label:"French (Switzerland)"},{value:"Galician",label:"Galician"},{value:"Georgian (Georgia)",label:"Georgian (Georgia)"},{value:"German",label:"German"},{value:"German (Austria)",label:"German (Austria)"},{value:"German (Germany)",label:"German (Germany)"},{value:"German (Switzerland)",label:"German (Switzerland)"},{value:"Greek",label:"Greek"},{value:"Greek (Greece)",label:"Greek (Greece)"},{value:"Gujarati (India)",label:"Gujarati (India)"},{value:"Haitian Creole (Haiti)",label:"Haitian Creole (Haiti)"},{value:"Hebrew (Israel)",label:"Hebrew (Israel)"},{value:"Hindi",label:"Hindi"},{value:"Hindi (India)",label:"Hindi (India)"},{value:"Hungarian (Hungary)",label:"Hungarian (Hungary)"},{value:"Icelandic (Iceland)",label:"Icelandic (Iceland)"},{value:"Indonesian",label:"Indonesian"},{value:"Indonesian (Indonesia)",label:"Indonesian (Indonesia)"},{value:"Irish (Ireland)",label:"Irish (Ireland)"},{value:"Italian",label:"Italian"},{value:"Italian (Italy)",label:"Italian (Italy)"},{value:"Japanese",label:"Japanese"},{value:"Japanese (Japan)",label:"Japanese (Japan)"},{value:"Javanese (Java)",label:"Javanese (Java)"},{value:"Javanese (Latin, Indonesia)",label:"Javanese (Latin, Indonesia)"},{value:"Kannada (India)",label:"Kannada (India)"},{value:"Kazakh (Kazakhstan)",label:"Kazakh (Kazakhstan)"},{value:"Khmer (Cambodia)",label:"Khmer (Cambodia)"},{value:"Konkani (India)",label:"Konkani (India)"},{value:"Korean",label:"Korean"},{value:"Korean (Korea)",label:"Korean (Korea)"},{value:"Lao (Laos)",label:"Lao (Laos)"},{value:"Latin (Vatican City)",label:"Latin (Vatican City)"},{value:"Latvian (Latvia)",label:"Latvian (Latvia)"},{value:"Lithuanian (Lithuania)",label:"Lithuanian (Lithuania)"},{value:"Luxembourgish (Luxembourg)",label:"Luxembourgish (Luxembourg)"},{value:"Macedonian (North Macedonia)",label:"Macedonian (North Macedonia)"},{value:"Maithili (India)",label:"Maithili (India)"},{value:"Malagasy (Madagascar)",label:"Malagasy (Madagascar)"},{value:"Malay",label:"Malay"},{value:"Malay (Malaysia)",label:"Malay (Malaysia)"},{value:"Malayalam (India)",label:"Malayalam (India)"},{value:"Maltese (Malta)",label:"Maltese (Malta)"},{value:"Mandarin",label:"Mandarin"},{value:"Marathi (India)",label:"Marathi (India)"}
1,{value:"Mongolian (Mongolia)",label:"Mongolian (Mongolia)"},{value:"Nepali (Nepal)",label:"Nepali (Nepal)"},{value:"Norwegian Bokm\xe5l (Norway)",label:"Norwegian Bokm\xe5l (Norway)"},{value:"Norwegian Nynorsk (Norway)",label:"Norwegian Nynorsk (Norway)"},{value:"Norwegian, Nynorsk (Norway)",label:"Norwegian, Nynorsk (Norway)"},{value:"Odia (India)",label:"Odia (India)"},{value:"Pashto (Afghanistan)",label:"Pashto (Afghanistan)"},{value:"Persian (Iran)",label:"Persian (Iran)"},{value:"Polish",label:"Polish"},{value:"Polish (Poland)",label:"Polish (Poland)"},{value:"Portuguese",label:"Portuguese"},{value:"Portuguese (Brazil)",label:"Portuguese (Brazil)"},{value:"Portuguese (Portugal)",label:"Portuguese (Portugal)"},{value:"Punjabi (India)",label:"Punjabi (India)"},{value:"Romanian",label:"Romanian"},{value:"Romanian (Romania)",label:"Romanian (Romania)"},{value:"Russian",label:"Russian"},{value:"Russian (Russia)",label:"Russian (Russia)"},{value:"Serbian (Latin, Serbia)",label:"Serbian (Latin, Serbia)"},{value:"Sindhi (India)",label:"Sindhi (India)"},{value:"Sinhala (Sri Lanka)",label:"Sinhala (Sri Lanka)"},{value:"Slovak",label:"Slovak"},{value:"Slovak (Slovakia)",label:"Slovak (Slovakia)"},{value:"Slovenian (Slovenia)",label:"Slovenian (Slovenia)"},{value:"Somali (Somalia)",label:"Somali (Somalia)"},{value:"Spanish",label:"Spanish"},{value:"Spanish (Argentina)",label:"Spanish (Argentina)"},{value:"Spanish (Bolivia)",label:"Spanish (Bolivia)"},{value:"Spanish (Chile)",label:"Spanish (Chile)"},{value:"Spanish (Colombia)",label:"Spanish (Colombia)"},{value:"Spanish (Costa Rica)",label:"Spanish (Costa Rica)"},{value:"Spanish (Cuba)",label:"Spanish (Cuba)"},{value:"Spanish (Dominican Republic)",label:"Spanish (Dominican Republic)"},{value:"Spanish (Ecuador)",label:"Spanish (Ecuador)"},{value:"Spanish (El Salvador)",label:"Spanish (El Salvador)"},{value:"Spanish (Equatorial Guinea)",label:"Spanish (Equatorial Guinea)"},{value:"Spanish (Guatemala)",label:"Spanish (Guatemala)"},{value:"Spanish (Honduras)",label:"Spanish (Honduras)"},{value:"Spanish (Latin America)",label:"Spanish (Latin America)"},{value:"Spanish (Mexico)",label:"Spanish (Mexico)"},{value:"Spanish (Nicaragua)",label:"Spanish (Nicaragua)"},{value:"Spanish (Panama)",label:"Spanish (Panama)"},{value:"Spanish (Paraguay)",label:"Spanish (Paraguay)"},{value:"Spanish (Peru)",label:"Spanish (Peru)"},{value:"Spanish (Puerto Rico)",label:"Spanish (Puerto Rico)"},{value:"Spanish (Spain)",label:"Spanish (Spain)"},{value:"Spanish (United States)",label:"Spanish (United States)"},{value:"Spanish (Uruguay)",label:"Spanish (Uruguay)"},{value:"Spanish (Venezuela)",label:"Spanish (Venezuela)"},{value:"Sundanese (Indonesia)",label:"Sundanese (Indonesia)"},{value:"Swahili (Kenya)",label:"Swahili (Kenya)"},{value:"Swahili (Tanzania)",label:"Swahili (Tanzania)"},{value:"Swedish",label:"Swedish"},{value:"Swedish (Sweden)",label:"Swedish (Sweden)"},{value:"Tamil",label:"Tamil"},{value:"Tamil (India)",label:"Tamil (India)"},{value:"Tamil (Malaysia)",label:"Tamil (Malaysia)"},{value:"Tamil (Singapore)",label:"Tamil (Singapore)"},{value:"Tamil (Sri Lanka)",label:"Tamil (Sri Lanka)"},{value:"Telugu (India)",label:"Telugu (India)"},{value:"Thai (Thailand)",label:"Thai (Thailand)"},{value:"Turkish",label:"Turkish"},{value:"Turkish (T\xfcrkiye)",label:"Turkish (T\xfcrkiye)"},{value:"Ukrainian",label:"Ukrainian"},{value:"Ukrainian (Ukraine)",label:"Ukrainian (Ukraine)"},{value:"Urdu (India)",label:"Urdu (India)"},{value:"Urdu (Pakistan)",label:"Urdu (Pakistan)"},{value:"Uzbek (Latin, Uzbekistan)",label:"Uzbek (Latin, Uzbekistan)"},{value:"Vietnamese",label:"Vietnamese"},{value:"Vietnamese (Vietnam)",label:"Vietnamese (Vietnam)"},{value:"Welsh (United Kingdom)",label:"Welsh (United Kingdom)"},{value:"Zulu (South Africa)",label:"Zulu (South Africa)"}],t=[{value:"Balanced",label:"Balanced"},{value:"Summary",label:"Summary"},{value:"In-depth",label:"In-depth"}],o=e=>[{value:"General",label:e("industryGeneral")},{value:"Agriculture",label:e("industryAgriculture")},{value:"Mining",label:e("industryMining")},{value:"Manufacturing",label:e("industryManufacturing")},{value:"Energy & Utilities",label:e("industryEnergyUtilities")},{value:"Construction",label:e("industryConstruction")},{value:"Wholesale & Retail",label:e("industryWholesaleRetail")}
1,{value:"Transportation & Logistics",label:e("industryTransportationLogistics")},{value:"Hospitality & Food Service",label:e("industryHospitalityFoodService")},{value:"Information Technology (IT)",label:e("industryIT")},{value:"Financial Services",label:e("industryFinancialServices")},{value:"Real Estate",label:e("industryRealEstate")},{value:"Business Services",label:e("industryBusinessServices")},{value:"Scientific & Technical Services",label:e("industryScientificTechnical")},{value:"Environmental & Public Management",label:e("industryEnvironmentalPublic")},{value:"Consumer Services",label:e("industryConsumerServices")},{value:"Education",label:e("industryEducation")},{value:"Healthcare & Social Services",label:e("industryHealthcareSocial")},{value:"Media, Sports & Entertainment",label:e("industryMediaSportsEntertainment")},{value:"Government & Public Administration",label:e("industryGovernmentPublic")},{value:"International Organizations",label:e("industryInternationalOrgs")}],r=[{value:"Formal",label:"Formal"},{value:"Friendly",label:"Friendly"},{value:"Inspirational",label:"Inspirational"},{value:"Persuasive",label:"Persuasive"},{value:"Storytelling",label:"Storytelling"},{value:"Informative",label:"Informative"}],s=[{tenant_id:-1,name:"Modern Business Presentation",description:"A clean and professional video template with a modern corporate style, using bold orange accents, dark overlays, and structured layouts. Ideal for business reports, training content, company introductions, project summaries, and informational presentations.",type:"presentation",thumbnail:"https://avatars.leadde.ai/dh_models/chat_video_task/b82c381d-924a-400e-ae90-125c44e51e6b/page_images_11cd5340-433f-45ae-a894-43e9e54f9c5b/pages/video_id_11568_04f4e69d085b535abea81d67fa193551/001.png",preview_image:"https://avatars.leadde.ai/dh_models/chat_video_task/b82c381d-924a-400e-ae90-125c44e51e6b/page_images_11cd5340-433f-45ae-a894-43e9e54f9c5b/pages/video_id_11568_04f4e69d085b535abea81d67fa193551/001.png",templates:'{"toc": ["ModernBusinessPresentation_page_3"], "section": ["ModernBusinessPresentation_page_4"], "content": ["ModernBusinessPresentation_page_1", "ModernBusinessPresentation_page_2", "ModernBusinessPresentation_page_5", "ModernBusinessPresentation_page_6", "ModernBusinessPresentation_page_7", "ModernBusinessPresentation_page_8", "ModernBusinessPresentation_page_9", "ModernBusinessPresentation_page_10", "ModernBusinessPresentation_page_11", "ModernBusinessPresentation_page_12", "ModernBusinessPresentation_page_13", "ModernBusinessPresentation_page_14", "ModernBusinessPresentation_page_15", "ModernBusinessPresentation_page_16", "ModernBusinessPresentation_page_17", "ModernBusinessPresentation_page_18", "ModernBusinessPresentation_page_19", "ModernBusinessPresentation_page_20", "ModernBusinessPresentation_page_21", "ModernBusinessPresentation_page_22", "ModernBusinessPresentation_page_23", "ModernBusinessPresentation_page_27"], "data_content": ["ModernBusinessPresentation_page_24", "ModernBusinessPresentation_page_25", "ModernBusinessPresentation_page_26"]}',color_palette:null,styles:'{"keywords": ["bright"]}',tags:"converted,pptx",category:"imported",creator:"zhangchengang",id:175,created_at:"2025-11-06T16:00:00Z",updated_at:"2026-05-12T03:53:16Z",operated_at:"2026-05-12T11:50:10Z",deleted:!1,is_active:!0,is_featured:!0,usage_count:0,version:1,dh_model_key:"dh_models/clone_result/deploy/6f136d51ec574923a0dfae96d9ac0f87"},{tenant_id:-1,name:"Bold Metrics",description:"Features bold yellow accents, dark contrast backgrounds, and clean geometric layouts to highlight key data and business messages.",type:"presentation",thumbnail:"https://avatars.leadde.ai/dh_models/chat_video_task/fc387399-0a48-4bd7-94eb-4b04026a83a9/page_images_f4548ac8-31a8-4a87-825b-38de0b89a48f/pages/video_id_12621_2e5a6ff6c82a99391cbc6d051d8123ea/001.png",preview_image:"https://avatars.leadde.ai/dh_models/chat_video_task/fc387399-0a48-4bd7-94eb-4b04026a83a9/page_images_f4548ac8-31a8-4a87-825b-38de0b89a48f/pages/video_id_12621_2e5a6ff6c82a99391cbc6d051d8123ea/001.png",templates:'{"section": ["Metrics_page_5"], "content": ["Metrics_page_1", "Metrics_page_2", "Metrics_page_3", "Metrics_page_4", "Metrics_page_6", "Metrics_page_7", "Metrics_page_8", "Metrics_page_9", "Metrics_page_10", "Metrics_page_11", "Metrics_page_12", "Metrics_page_13", "Metrics_page_14", "Metrics_page_15", "Metrics_page_5", "Metrics_page_16", "Metrics_page_17", "Metrics_page_18", "Metrics_page_19", "Metrics_page_20", "Metrics_page_21", "Metrics_page_22", "Metrics_page_23", "Metrics_page_24", "Metrics_page_25", "Metrics_page_26"], "closing": ["Metrics_page_15", "Metrics_page_27"]}',color_palette:null,styles:'{"keywords": ["bright"]}',tags:"converted,pptx",category:"imported",creator:"my Cai",id:126,created_at:"2025-11-07T17:02:02Z",updated_at:"2026-06-08T23:52:53Z",operated_at:"2026-06-08T03:21:25Z",deleted:!1,is_active:!0,is_featured:!0,usage_count:0,version:1,dh_model_key:"dh_models/clone_result/deploy/09d1bce6c02afba818aa2eafe02c2f1d"}
1,{tenant_id:-1,name:"Orange Glow",description:"A high-energy marketing approach that captures attention, drives engagement, and inspires action through creative, impactful messagin",type:"presentation",thumbnail:"https://avatars.leadde.ai/dh_models/chat_video_task/205c5f82-a8ae-43aa-a35c-6cd598419446/page_images_753ef373-e2b8-43cd-a9d5-e09591e24d79/pages/video_id_12985_6235b98e7745afa798c86f55405b0cc1/001.png",preview_image:"https://avatars.leadde.ai/dh_models/chat_video_task/205c5f82-a8ae-43aa-a35c-6cd598419446/page_images_753ef373-e2b8-43cd-a9d5-e09591e24d79/pages/video_id_12985_6235b98e7745afa798c86f55405b0cc1/001.png",templates:'{"cover": ["DynamicMarketing_0228_page_2"], "toc": ["DynamicMarketing_0228_page_3"], "section": ["DynamicMarketing_0228_page_4"], "content": ["DynamicMarketing_0228_page_1", "DynamicMarketing_0228_page_5", "DynamicMarketing_0228_page_6", "DynamicMarketing_0228_page_7", "DynamicMarketing_0228_page_8", "DynamicMarketing_0228_page_9", "DynamicMarketing_0228_page_10", "DynamicMarketing_0228_page_11", "DynamicMarketing_0228_page_12", "DynamicMarketing_0228_page_13", "DynamicMarketing_0228_page_14", "DynamicMarketing_0228_page_15", "DynamicMarketing_0228_page_16", "DynamicMarketing_0228_page_17", "DynamicMarketing_0228_page_18", "DynamicMarketing_0228_page_19", "DynamicMarketing_0228_page_20", "DynamicMarketing_0228_page_21", "DynamicMarketing_0228_page_22", "DynamicMarketing_0228_page_23", "DynamicMarketing_0228_page_24", "DynamicMarketing_0228_page_25", "DynamicMarketing_0228_page_26"], "closing": ["DynamicMarketing_0228_page_27"]}',color_palette:null,styles:'{"keywords": ["abstract"]}',tags:"converted,pptx",category:"imported",creator:"zhangchengang",id:171,created_at:"2025-11-06T16:00:02Z",updated_at:"2026-06-08T23:53:49Z",operated_at:"2026-06-08T18:56:48Z",deleted:!1,is_active:!0,is_featured:!0,usage_count:0,version:1,dh_model_key:"dh_models/clone_result/deploy/a485ff4f7cfac938eb181b5bb3e19c9d"},{tenant_id:-1,name:"Colorful design",description:"A modern warm-toned business template featuring soft color palettes and clean typography, ideal for professional workflows and creative presentations.",type:"presentation",thumbnail:"https://avatars.leadde.ai/dh_models/chat_video_task/7150f18b-0fa5-4f11-af9c-e21ff5cb6879/page_images_b0e5520b-50db-4f64-a963-ce2624af87aa/pages/video_id_13051_c4156480b1f4023f9a9c69c50f047dab/001.png",preview_image:"https://avatars.leadde.ai/dh_models/chat_video_task/7150f18b-0fa5-4f11-af9c-e21ff5cb6879/page_images_b0e5520b-50db-4f64-a963-ce2624af87aa/pages/video_id_13051_c4156480b1f4023f9a9c69c50f047dab/001.png",templates:'{"content": ["ColorfulDesign_page_1", "ColorfulDesign_page_2", "ColorfulDesign_page_3", "ColorfulDesign_page_4", "ColorfulDesign_page_5", "ColorfulDesign_page_6", "ColorfulDesign_page_7", "ColorfulDesign_page_8", "ColorfulDesign_page_9", "ColorfulDesign_page_10", "ColorfulDesign_page_11", "ColorfulDesign_page_12", "ColorfulDesign_page_13", "ColorfulDesign_page_14", "ColorfulDesign_page_15", "ColorfulDesign_page_16", "ColorfulDesign_page_17", "ColorfulDesign_page_19", "ColorfulDesign_page_20", "ColorfulDesign_page_21", "ColorfulDesign_page_22", "ColorfulDesign_page_23", "ColorfulDesign_page_24", "ColorfulDesign_page_25", "ColorfulDesign_page_26"], "closing": ["ColorfulDesign_page_18", "ColorfulDesign_page_27"]}',color_palette:null,styles:'{"keywords": ["bright"]}',tags:"converted,pptx",category:"imported",creator:"my Cai",id:130,created_at:"2025-11-07T17:24:24Z",updated_at:"2026-06-08T23:53:53Z",operated_at:"2026-06-08T19:17:52Z",deleted:!1,is_active:!0,is_featured:!1,usage_count:0,version:1,dh_model_key:"dh_models/clone_result/deploy/cd4d10d36081fd8087b69a660d5e25b7"}],c=[{iconName:"a-Onboardingprocess",label:"Onboarding Process",color:"#4F71CB",bgColor:"#DBE5FF",text:[`Hi, Iâm Leo. Welcome to the company. In this session, Iâll walk you through our onboarding process so you know what to expect and how to get comfortable in your new role step by step.`,`During your first few days, youâll focus on the basicsâsetting up your accounts, accessing internal systems, and getting familiar with the tools youâll use every day. Getting these foundations right early will make everything else much smoother.`,`As you settle in, youâll start to understand how your team works, including communication habits, collaboration styles, and daily workflows. You donât need to master everything at onceâlearning gradually is completely normal.`,`Youâll also have access to onboarding learning materials that introduce our products, business context, and internal practices. Think of these as a map that helps you see the bigger picture.`,`If you ever feel unsure or have questions along the way, donât he
1sitate to ask. Onboarding isnât about being perfectâitâs about building confidence and finding your rhythm.`]},{iconName:"a-Salesmethodtraining",label:"Sales Method Training",color:"#EB3639",bgColor:"#FFDCDA",text:[`Hi, Iâm Leo. In this session, weâll talk about our sales methodology. Even if sales isnât your primary role, understanding how we approach customers can be incredibly useful in many conversations.`,"We believe great sales come from a clear and repeatable method, not from guesswork or luck. A structured approach helps you stay confident and consistent across different customers and situations.","The first step is always understanding the customer. Ask thoughtful questions, listen carefully, and learn what truly matters to their business before introducing any solution.",`When presenting a solution, focus less on features and more on outcomes. Use the customerâs language and connect your message directly to their real challenges and goals.`,"The best sales experiences feel respectful and transparent. When communication is clear and trust is built naturally, progress tends to follow."]},{iconName:"a-Systemguidelines",label:"System Guidelines",color:"#E1854B",bgColor:"#FFE6CA",text:[`Hi, Iâm Leo. In this session, weâll go over our system guidelines. They may sound formal at first, but their real purpose is to make everyoneâs work easier and more efficient.`,`We use shared systems to manage projects, tasks, and information so that everyone works from the same source of truthânot from memory or personal notes.`,`When entering information, try to be clear and complete. Spending an extra minute now can save youâand your teammatesâa lot of time later.`,"Access permissions and data security are handled carefully to protect both our customers and our teams. If you need additional access, simply follow the standard request process.","If you ever notice a workflow that could be improved, feel free to share feedback. Our systems evolve based on real usage, and your input matters."]},{iconName:"a-Brandmessaging",label:"Brand Messaging",color:"#399759",bgColor:"#C9F2D7",text:[`Hi, Iâm Leo. In this session, weâll talk about brand messaging. Branding isnât just a marketing responsibilityâitâs reflected in every interaction we have with the outside world.`,"People often form their first impression of our company through emails, meetings, or presentations. These moments shape how our brand is perceived.",`Thatâs why we use consistent brand language and core messages across teams. Consistency helps build clarity and long-term trust.`,"You can absolutely adapt your tone to different industries or audiences, as long as the core message and values remain the same.",`You donât need to âact like a brand.â Simply communicate clearly, professionally, and respectfullyâand youâll naturally represent the brand well.`]}],d=[{iconName:"a-TravelGuide",label:"Travel Guide",color:"#4F71CB",bgColor:"#DBE5FF",text:["Antarctic Travel Guide","Antarctica is the most remote and untouched continent on Earth, famous for its endless ice fields, towering glaciers, and unique wildlife. Traveling to this frozen wilderness is a rare and unforgettable experience, offering both adventure and a deep connection with nature.","The best time to visit Antarctica is between November and March, during the southern summer. In November, travelers can enjoy pristine landscapes and observe penguins building nests. December and January are the warmest months, ideal for exploring landing sites and seeing a wide variety of wildlife. February and March are excellent for whale watching as sea ice begins to melt.","Most trips begin in Ushuaia, Argentina, where expedition ships depart across the Drake Passage. Although the crossing can be rough, it marks the start of a true polar journey. Some travelers choose fly-and-cruise options to shorten travel time and avoid strong waves.","In Antarctica, daily excursions are made by small inflatable boats. Visitors step onto icy shores, walk among penguin colonies, and admire dramatic glaciers and icebergs. Seals resting on the ice and whales swimming near the ship are common sights. Popular landing areas include Paradise Bay, Deception Island, and Neko Harbour.","Warm and waterproof clothing is essential, as temperatures are low and winds can be strong. Layered outfits, gloves, insulated boots, and sun protection are highly recommended. Most expedition companies provide special boots and jackets.","Environmental protection is a top priority. Visitors must follow strict rules to avoid disturbing wildlife and damaging the fragile ecosystem. Keeping a safe distance from animals and leaving no trace are basic principles of Antarctic travel.","In conclusion, Antarctica is not an ordinary destination but a once-in-a-lifetime adventure. Its breathtaking scenery, rare wildlife, and untouched beauty make it one of the most extraordinary places on Earth. A journey to Antarctica is both a thrilling exploration and a reminder of the importance of protecting our planet."]},{iconName:"a-NutritionManagement",label:"Nutrition Management",color:"#EB3639",bgColor:"#FFDCDA",text:["Family Dietary and Nutrition Management: Building a Foundation for Lifelong Health","Family dietary and nutrition management plays a vital role in promoting health, preventing chronic diseases, and shaping lifelong eating habits. As the primary environment where individuals develop food preferences and behaviors, the family setting provides a unique opportunity to influence nutritional status across all age groups.","Effective family nutrition management begins with balanced meal planning. A healthy family diet should include a variety of foods from major food groups, such as whole grains, vegetables, fruits, lean proteins, and dairy or alternative products. Limiting the intake of salt, sugar, and saturated fat is essential for reducing the risk of obesity, hypertension, and diabetes. Regular meal times and appropriate portion sizes also help maintain stable energy intake and metabolic balance.","Nutrition management within the family should be tailored to the needs of different members. Children require sufficient energy and micronutrients to support growth and cognitive development, while older adults may need diets rich in protein and calcium to prevent muscle loss and bone fragility. For family members with chronic diseases, such as diabetes or cardiovascular conditions, individualized dietary guidance and monitoring are necessary to achieve effective disease control.","Parental involvement and education are central to successful family nutrition management. Parents influence food choices through purchasing habits, cooking methods, and role modeling. Encouraging children to participate in meal preparation and teaching basic nutrition knowledge c
1an improve their interest in healthy foods and foster positive eating behaviors. Creating a supportive dining environment, free from distractions such as television or mobile devices, further enhances mindful eating.","In recent years, digital tools have become valuable resources for family nutrition management. Mobile applications and online platforms allow families to track dietary intake, receive personalized dietary recommendations, and monitor health indicators. These technologies facilitate communication between families and nutrition professionals, improving adherence to dietary plans and long-term outcomes.","In conclusion, family dietary and nutrition management is a cornerstone of health promotion and disease prevention. Through balanced meal planning, individualized guidance, nutrition education, and the use of digital technologies, families can establish sustainable dietary patterns that benefit all members. Strengthening family-based nutrition management not only improves current health status but also lays the foundation for healthier future generations."]},{iconName:"a-OperationalProcedures",label:"Operational Procedures",color:"#E1854B",bgColor:"#FFE6CA",text:["Warehouse Picking Standards",`1. Purpose 2 The purpose of warehouse picking standards is to ensure accuracy, efficiency, and safety in order fulfillment. Standardized picking operations reduce errors, improve productivity, and enhance customer satisfaction.`,`2. Basic Principles 3 Accuracy is the top priority in picking operations. All items must be selected according to order information, including product code, quantity, and batch number when applicable. The First-In-First-Out (FIFO) principle should be applied to perishable or batch-controlled goods. Urgent and time-sensitive orders must be prioritized to meet delivery requirements.`,`3. Picking Process 4 Picking begins with order release from the warehouse management system. Operators review picking lists and prepare necessary tools such as scanners and containers. Goods are picked following the recommended route to minimize walking distance. Each item must be verified by barcode scanning to prevent mispicks. After picking, orders are transferred to the consolidation or packing area.`,`4. Quality Control 5 A double-check procedure is required before packing. Both item type and quantity must be confirmed. Key performance indicators include picking accuracy rate, error rate, and order completion time. Any discrepancies must be recorded and corrected immediately to prevent shipment errors.`,`5. Safety Requirements 6 Operators must wear protective equipment and follow material handling rules. Heavy items should be lifted using proper techniques or mechanical aids. Aisles must remain clear, and stacking height must comply with safety regulations to prevent accidents.`,`6. Equipment and Systems 7 Modern warehouses use barcode scanning, electronic picking systems, and warehouse management software to guide operations. Automated conveyors and sorting systems may be applied to improve efficiency and reduce manual workload.`,`7. Performance Evaluation 8 Picking performance is evaluated based on productivity, accuracy, and compliance with procedures. Regular training and audits are conducted to maintain high operational standards.`,`8. Conclusion 9 Effective picking standards form the foundation of warehouse operations. Through standardized processes, strict quality control, and safe working practices, warehouses can achieve reliable and efficient order fulfillment.`]},{iconName:"a-FinancialOverview",label:"Financial Overview",color:"#399759",bgColor:"#C9F2D7",text:["Financial Report Analysis of Aurora Tech Corporation","Aurora Tech Corporation is a fictional technology company specializing in smart devices and digital services. This analysis reviews its financial performance for the fiscal year 2025, focusing on profitability, liquidity, and growth potential.","In 2025, Aurora Tech reported total revenue of USD 5.2 billion, representing a 12% increase compared with the previous year. This growth was mainly driven by strong demand for wearable devices and cloud-based services. Operating income reached USD 780 million, with an operating margin of 15%, indicating stable cost control and efficie
9nt operations. Net profit amounted to USD 620 million, reflecting a net margin of 11.9%, which is considered healthy for the technology sector.","From a balance sheet perspective, the company maintained a solid financial position. Total assets increased to USD 8.4 billion, supported by investments in research facilities and software development. Total liabilities stood at USD 3.1 billion, resulting in a debt-to-equity ratio of 0.58. This moderate leverage suggests that the company relies more on equity financing and faces relatively low financial risk.","Liquidity indicators also show favorable performance. The current ratio reached 1.9, and the quick ratio was 1.4, indicating sufficient short-term solvency. Aurora Tech generated operating cash flow of USD 720 million, which exceeded net profit and demonstrated strong cash-generating ability. Free cash flow remained positive after capital expenditures, allowing the company to fund innovation and return value to shareholders.","In terms of growth, research and development expenses accounted for 10% of revenue, reflecting a long-term strategy focused on technological leadership. Management expects continued expansion in international markets and digital services in the coming year.","In conclusion, Aurora Tech Corporation shows strong profitability, stable financial structure, and sound cash flow performance. With balanced risk levels and consistent investment in innovation, the company is well positioned for sustainable growth in the future."]}],u=[{iconName:"icon-a-AIischangingwork",label:"AI is changing work",color:"#4F71CB",bgColor:"#DBE5FF",text:["Describe how AI is reshaping the way people work."]},{iconName:"icon-a-AIischangingwork",label:"Productivity myths",color:"#4F71CB",bgColor:"#DBE5FF",text:["Highlight common misunderstandings about productivity."]},{iconName:"icon-a-Lessonsfromhistory",label:"Learning motivation",color:"#E1854B",bgColor:"#FFE6CA",text:["Examine what drives people to learn and what holds them back."]},{iconName:"icon-a-Lessonsfromhistory",label:"The learning problem",color:"#E1854B",bgColor:"#FFE6CA",text:["Examine what people often get wrong about learning."]},{iconName:"icon-a-Focusishard",label:"Focus is hard",color:"#399759",bgColor:"#C9F2D7",text:["Explore why maintaining focus is difficult today."]},{iconName:"icon-a-AIischangingwork",label:"Tools don't solve problems",color:"#4F71CB",bgColor:"#DBE5FF",text:["Discu
9ss why tools alone do not solve deeper problems."]},{iconName:"icon-a-OperationalProcedures",label:"The automation question",color:"#EB3639",bgColor:"#FFDCDA",text:["Consider whether automation truly improves work and life."]},{iconName:"icon-a-AIischangingwork",label:"Creativity vs efficiency",color:"#4F71CB",bgColor:"#DBE5FF",text:["Explore the tension between creativity and efficiency."]},{iconName:"icon-a-OperationalProcedures",label:"Content overload",color:"#EB3639",bgColor:"#FFDCDA",text:["Describe the effects of information and content overload."]},{iconName:"icon-a-Thecareerillusion",label:"The career illusion",color:"#9C27B0",bgColor:"#F3E5F5",text:["Question common assumptions about career success."]},{iconName:"icon-a-Focusishard",label:"Skills matter more",color:"#399759",bgColor:"#C9F2D7",text:["Discuss why skills often matter more than titles or credentials."]},{iconName:"icon-a-AIischangingwork",label:"AI is not magic",color:"#4F71CB",bgColor:"#DBE5FF",text:["Clarify the real limits of AI."]},{iconName:"icon-a-Lessonsfromhistory",label:"Work is changing",color:"#E1854B",bgColor:"#FFE6CA",text:["Describe how the nature of work is evolving."]},{iconName:"icon-a-Lessonsfromhistory",label:"Learning never ends",color:"#E1854B",bgColor:"#FFE6CA",text:["Explore why continuous learning is increasingly necessary."]},{iconName:"icon-a-Antarctictravelguide",label:"Top 5 lakes",color:"#00BCD4",bgColor:"#E0F7FA",text:["Present five lakes known for their beauty and distinctive qualities."]},{iconName:"icon-a-OperationalProcedures",label:"The attention economy",color:"#EB3639",bgColor:"#FFDCDA",text:["Examine how attention is shaped, captured, and competed for."]},{iconName:"icon-a-Lessonsfromhistory",label:"Learning beyond school",color:"#E1854B",bgColor:"#FFE6CA",text:["Explore how people continue learning outside formal education."]},{iconName:"icon-a-Focusishard",label:"Growth takes time",color:"#399759",bgColor:"#C9F2D7",text:["Reflect on why meaningful growth is often slow."]},{iconName:"icon-a-Focusishard",label:"Ideas need structure",color:"#399759",bgColor:"#C9F2D7",text:["Show why ideas need structure to be effective."]},{iconName:"icon-a-OperationalProcedures",label:"Data isn't neutral",color:"#EB3639",bgColor:"#FFDCDA",text:["Discu
9ss how interpretation and context affect data-driven decisions."]},{iconName:"icon-a-Thecareerillusion",label:"Simple beats complex",color:"#9C27B0",bgColor:"#F3E5F5",text:["Explore why simplicity often outperforms complexity."]},{iconName:"icon-a-Antarctictravelguide",label:"Antarctic travel guide",color:"#00BCD4",bgColor:"#E0F7FA",text:["Introduce what traveling to Antarctica is like and why it is unique."]},{iconName:"icon-a-Antarctictravelguide",label:"Cities and culture",color:"#00BCD4",bgColor:"#E0F7FA",text:["Explore how cities reflect and shape local culture and daily life."]},{iconName:"icon-a-NutritionManagement",label:"Health is not optional",color:"#FF9800",bgColor:"#FFF3E0",text:["Highlight why health is essential rather than optional."]},{iconName:"icon-a-AIischangingwork",label:"Technology has tradeoffs",color:"#4F71CB",bgColor:"#DBE5FF",text:["Examine the tradeoffs involved in adopting new technologies."]},{iconName:"icon-a-Focusishard",label:"Consistency wins",color:"#399759",bgColor:"#C9F2D7",text:["Discu
9ss why consistency often matters more than intensity."]},{iconName:"icon-a-Focusishard",label:"Experience teaches best",color:"#399759",bgColor:"#C9F2D7",text:["Explore why experience is such a powerful teacher."]},{iconName:"icon-a-Focusishard",label:"Success is contextual",color:"#399759",bgColor:"#C9F2D7",text:["Show why success depends on context and circumstances."]},{iconName:"icon-a-Focusishard",label:"Thinking takes practice",color:"#399759",bgColor:"#C9F2D7",text:["Reflect on why good thinking requires ongoing practice."]},{iconName:"icon-a-OperationalProcedures",label:"Cybersecurity basics",color:"#EB3639",bgColor:"#FFDCDA",text:["Introduce basic cybersecurity risks and everyday protection habits."]},{iconName:"icon-a-NutritionManagement",label:"Health decisions matter",color:"#FF9800",bgColor:"#FFF3E0",text:["Discuss why informed health decisions are important."]},{iconName:"icon-a-Lessonsfromhistory",label:"Lessons from history",color:"#E1854B",bgColor:"#FFE6CA",text:["Share recurring lessons that history continues to teach."]},{iconName:"icon-a-Parentsaseducators",label:"Parents as educators",color:"#E91E63",bgColor:"#FCE4EC",text:["Describe the role parents play in children's learning and development."]},{iconName:"icon-a-Antarctictravelguide",label:"Places people return to",color:"#00BCD4",bgColor:"#E0F7FA",text:["Explore why certain places leave a lasting impression."]}]},16234:function(e,a,i){i.r(a),i.d(a,{default:function(){return T}});var n,l,t=i(3735),o=i(30294),r=i(86631),s=i(18952),c=i(57545),d=i(10678),u=i(23115),p={src:"/_next/static/media/file-sample.d21dbf86.png",height:64,width:102,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAn0lEQVR42hXBMQ6CMAAF0N7ASxDuouEYLAycS89AWEhYdCExcSkVQjpgTGmsaSm0lG98j2irE210jR3FJKdSfVQZEAqLud7WLSGX9ZzzL4c1FuIlQCVFZSqYWcOtLieta7NxGiGECOqtcFU3HKdTGOWI4EJGvPUpdvwpKaTuRKcZmPLBY7FLSuhAD5TRmHMeNfcmej5YBI5oYEPcD/3hByrJh2NroKG4AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},g=i(28147),m=i(55731),h=i(53492),b=i(4175);let f=e=>{let{template:a,isSelected:i,onSelect:n,translatedName:l}=e,[s,c]=(0,o.useState)(!1);return(0,t.jsxs)("div",{style:{width:"100%"},children:[(0,t.jsxs)("div",{className:`relative rounded-lg border overflow-hidden cursor-pointer group transition-all aspect-video lg:aspect-auto lg:h-[110px] ${i?"border border-[#6E4DFC] bg-white":s?"border border-[#EAEAEA] bg-gray-100":"border-[#F0F0F0] bg-gray-50"}`,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onClick:()=>n?.(a),children:[(0,t.jsx)("div",{className:"relative w-full bg-linear-to-br from-blue-100 to-purple-100 flex items-center justify-center overflow-hidden rounded-lg aspect-video lg:aspect-auto lg:h-[110px]",children:(0,t.jsx)(u.default,{src:a.thumbnail||a.preview_image,alt:l||a.name,fill:!0,sizes:"(max-width: 1024px) 50vw, 200px",className:"object-cover",onError:e=>{e.target.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='196' height='110' viewBox='0 0 196 110'%3E%3Crect width='196' height='110' fill='%23f3f4f6'/%3E%3Ctext x='98' y='55' text-anchor='middle' dy='.3em' fill='%236b7280' font-size='12'%3ETemplate%3C/text%3E%3C/svg%3E"}})}),(i||s)&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center rounded-lg",style:{border:"2px solid #ffffff",boxSizing:"border-box"},children:i&&(0,t.jsx)(r.Z,{name:"a-checkmark",size:24,color:"#ffffff"})})]}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("div",{className:"text-start lg:text-center font-medium text-[#1E2026] whitespace-nowrap overflow-hidden text-ellipsis w-full leading-5 text-[10px] lg:text-[14px]",title:l||a.name||"No name",children:l||a.name||`Template ${a.id}`||"----"})})]})},v=(0,o.forwardRef)((e,a)=>{let{onDataChange:i}=e,n=(0,b.T)("videoCreationForm"),{uploadedFile:l,setUploadedFile:s}=(0,m.Z)(),[v,x]=(0,o.useState)(g.Ix[0]||null),[y,_]=(0,o.useState)(()=>({language:"English",tone:"Formal",detail:"Balanced",audience:"",speaker_background:"",learning_objectives:""})),C={"Modern Business Presentation":"fileMenu.templates.modernBusinessPresentation","Bold Metrics":"fileMenu.templates.boldMetrics","Information Security Overview":"fileMenu.templates.informationSecurityOverview","Orange Glow":"fileMenu.templates.orangeGlow","Colorful design":"fileMenu.templates.colorfulDesign"},w=e=>{let a=C[e];return a?n(a):e},F=(0,o.useMemo)(()=>g.NZ.map(e=>({value:e.value,label:n(`options.tone.${e.value}`)})),[n]),k=(0,o.useMemo)(()=>g.f$.map(e=>({value:e.value,label:n(`options.detail.${e.value}`)})),[n]),S=(0,o.useMemo)(()=>g.$C.map(e=>({value:e.value,label:n(`options.language.${e.value}`)})),[n]),E=e=>{x(e),i&&i({...l,...y,selectedTemplate:e})},M=(e,a)=>{let n={...y,[e]:a};_(n),i&&i({...l,...n,selectedTemplate:v})},A=e=>{let a={...e,file_name:e.file_name??e.file?.name,file_size:e.file_size??e.file?.size};s(a),i&&i({...a,...y,selectedTemplate:v})};(0,o.useImperativeHandle)(a,()=>({getFormData:()=>({...l,...y,selectedTemplate:v})}));let j=e=>{console.error("ä¸ä¼ 失败:",e),h.ZP.error(n("fileMenu.uploadError"))};return(0,t.jsxs)("div",{className:"grid gap-4",children:[l?(0,t.jsx)(d.w6,{uploadedFile:l,uploadConfig:{accept:".doc,.docx,.txt,.pdf",maxSize:209715200,shouldDetectPageCount:!0},onUploadSuccess:A,onUploadError:j,showReuploadButton:!0}
9):(0,t.jsx)(d.OH,{maxSize:209715200,acceptedFileTypes:{"application/pdf":[".pdf"],"application/msword":[".doc"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"],"text/plain":[".txt"]},shouldDetectPageCount:!0,supportedFormatsText:n("fileMenu.supportFormat"),onUploadSuccess:A,onUploadError:j,icon:(0,t.jsx)(r.Z,{name:"a-Uploadphoto",size:32})}),(0,t.jsxs)("div",{className:"-mt-2 flex w-[250px] gap-1 items-center cursor-pointer ms-auto justify-end",onClick:()=>{let e={file_id:2763,file_name:"Leadde-sample.pdf",file_slides:2,file_size:42972,file_url:"https://static.leadde.ai/leadde/public/Leadde-sample.pdf",file_type:"pdf"};s(e),i&&i({...e,...y,selectedTemplate:v})},children:[(0,t.jsx)(u.default,{src:p,alt:"",width:51,height:28,className:"rounded-sm"}),(0,t.jsx)("div",{className:"font-inter font-medium text-xs leading-5 text-center tracking-[-0.02em]",children:n("fileMenu.trySampleFile")})]}),(0,t.jsxs)("div",{className:"grid gap-4 -mt-2",children:[(0,t.jsx)("div",{className:"text-[14px] text-[#1E2026] leading-5 font-medium",children:n("fileMenu.videoSettings")}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,t.jsx)(c.Z,{label:n("fileMenu.targetLanguage"),value:y.language,options:S,onChange:e=>M("language",e),sx:{height:"48px","& .MuiSelect-select":{padding:"8px 16px",display:"flex",alignItems:"center"}}}),(0,t.jsx)(c.Z,{label:n("fileMenu.tone"),value:y.tone,options:F,onChange:e=>M("tone",e),sx:{height:"48px","& .MuiSelect-select":{padding:"8px 16px",display:"flex",alignItems:"center"}}})]}),(0,t.jsx)(c.Z,{label:n("fileMenu.detailOptions"),value:y.detail,options:k,onChange:e=>M("detail",e),sx:{height:"48px",marginTop:"3px","& .MuiSelect-select":{padding:"8px 16px",display:"flex",alignItems:"center"}}})]}),(0,t.jsxs)("div",{className:"relative border border-solid border-[#E0E0E0] rounded-lg mt-[3px]",style:{padding:"14px 16px 14px 16px"},children:[(0,t.jsx)("div",{className:"absolute -top-3 start-2 px-2 bg-white font-work-sans text-xs leading-4 tracking-[-0.01em] text-[#717171]",children:n("fileMenu.pickTemplate")}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2",children:g.Ix.map(e=>(0,t.jsx)(f,{template:e,translatedName:w(e.name),isSelected:v?.id===e.id,onSelect:E},e.id))})]})]})});var x={src:"/_next/static/media/sample.5cb45ffd.png",height:290,width:510,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAiklEQVR4nBWOUQrCMBAF30sVbYWSgnj/+wiewS+hIm2w0HSbTdb4PTMwDJvMIuLbrjNHshiQtVjSQk0WOMfN1hjR9z1AIu2KvxRjwRoVfH+XMo4jc86oBnIu8MMVbefxuD+NQXYT2StQNE2DZZpwPLU4nAdsq4BL0pnO+ZqbqxOf1wsG2mW4UWIKP34vVCfXYzERAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},y=i(98431),_=i(45180),C=e=>{let{value:a,options:i,onChange:n,allowDeselect:l=!1,direction:s="horizontal",className:c=""}=e,[d,u]=(0,o.useState)(null),[p,g]=(0,o.useState)(""),m=(e,i)=>{i||(l&&a===e?n(null):n(e))},h=(e,a)=>{e.stopPropagation(),g(a),u(e.currentTarget)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`flex ${"horizontal"===s?"flex-row":"flex-col"} gap-4 ${c}`,children:i.map(e=>{let i=a===e.value,n=e.disabled;return(0,t.jsxs)("div",{onClick:()=>m(e.value,n),className:"flex items-center gap-1 rounded-lg border px-4 py-2 transition-all duration-200 border-[#E0E0E0] flex-1 min-h-12",children:[(0,t.jsx)("div",{className:"p-1 flex-shrink-0 cursor-pointer",children:(0,t.jsx)("div",{className:` 10 w-3.5 h-3.5 rounded-full border flex items-center justify-center 11 ${n?"border-[#8C8C8C] bg-[#F0F0F0]":i?"border-[#6E4DFC] bg-[#F1EDFF]":"border-[#8C8C8C] bg-white hover:border-[#6E4DFC] hover:bg-[#F1EDFF] transition-colors duration-200"} 12 `,children:i&&!n&&(0,t.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-[#6E4DFC]"})})}),(0,t.jsx)("span",{className:` 13 flex-1 text-sm leading-5 break-words 14 `,children:e.label}),e.tooltip&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{onClick:a=>h(a,e.tooltip||""),className:"me-1 cursor-pointer lg:cursor-help",children:(0,t.jsx)(r.Z,{name:"a-priceinformation",size:16,color:"#BFBFBF"})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(y.Z,{title:e.tooltip||"",arrow:!0,children:(0,t.jsx)("span",{className:"sr-only",children:e.tooltip})})})]})]},e.value)})}),(0,t.jsx)(_.ZP,{open:null!==d,anchorEl:d,onClose:()=>u(null),anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{"& .MuiPopover-paper":{maxWidth:"280px",padding:"12px",borderRadius:"8px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",background:"#1E2026",color:"#fff"}},children:(0,t.jsx)("div",{className:"text-[14px] leading-5",children:p})})]})};let w=(0,o.forwardRef)((e,a)=>{let{onDataChange:i}=e,n=(0,b.T)("videoCreationForm"),{uploadedPpt:l,setUploadedPpt:s}=(0,m.Z)(),[c,p]=(0,o.useState)("ai_mode"),[g,f]=(0,o.useState)(!1);(0,o.useEffect)(()=>{f(window.innerWidth<1024);let e=()=>f(window.innerWidth<1024);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let[v,y]=(0,o.useState)("layers"),_=e=>{let a=e.file_name??e.file?.name,n={...e,file_name:a,file_size:e.file_size??e.file?.size,file_type:e.file_type??a?.split(".").pop()?.toLowerCase()};s(n),i&&i({...n,importMode:"layers",scriptSource:c})};(0,o.useImperativeHandle)(a,()=>({getFormData:()=>({...l,importMode:v,scriptSource:c})}));let w=e=>{console.error("ä¸ä¼ 失败:",e),h.ZP.error(n("pptMenu.uploadError"))},F=(0,o.useMemo)(()=>[{value:"image",label:n("pptMenu.importAsStaticImages"),tooltip:n("pptMenu.importAsStaticImagesTooltip")},{value:"layers",label:n("pptMenu.importWithEditableLayers"),tooltip:n("pptMenu.importWithEditableLayersTooltip")}],[]),k=(0,o.useMemo)(()=>[{value:"ai_mode",label:n("pptMenu.aiGenerateScript"),tooltip:n("pptMenu.aiGenerateScriptTooltip")},{value:"with_notes",label:n("pptMenu.importPptNotes"),tooltip:n("pptMenu.importPptNotesTooltip")}],[n]);return(0,t.jsxs)("div",{className:"grid gap-4",children:[l?(0,t.jsx)(d.w6,{uploadedFile:l,uploadConfig:{accept:".pptx",maxSize:209715200,shouldDetectPageCount:!0},onUploadSuccess:_,onUploadError:w}
14):(0,t.jsx)(d.OH,{maxSize:209715200,acceptedFileTypes:{"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"]},shouldDetectPageCount:!0,supportedFormatsText:n("pptMenu.supportFormat"),onUploadSuccess:_,onUploadError:w,icon:(0,t.jsx)(r.Z,{name:"a-Uploadphoto",size:32})}),(0,t.jsxs)("div",{className:"-mb-2 lg:mb-0 -mt-2 flex w-[250px] gap-2 items-center cursor-pointer ms-auto justify-end",onClick:()=>{let e={file_id:2764,file_name:"Leadde-sample.pptx",file_slides:5,file_size:1235495,file_url:"https://static.leadde.ai/leadde/public/Leadde-sample.pptx",file_type:"ppt"};s(e),i&&i({...e,importMode:"layers",scriptSource:c})},children:[(0,t.jsx)(u.default,{src:x,alt:"",width:51,height:28,className:"rounded-sm"}),(0,t.jsx)("div",{className:"font-inter font-medium text-xs leading-5 text-center tracking-[-0.02em]",children:n("pptMenu.trySamplePowerPoint")})]}),(0,t.jsxs)("div",{className:"-mt-2 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"text-[14px] leading-5 font-medium text-[#000000]",children:n("pptMenu.importMode")}),(0,t.jsx)(C,{value:v,options:F,onChange:e=>{y(e),i&&i({...l,importMode:v})},direction:g?"vertical":"horizontal"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"text-[14px] leading-5 font-medium text-[#000000]",children:[n("pptMenu.scriptOptions"),(0,t.jsxs)("span",{className:"text-[#898A8C]",children:[" ",n("pptMenu.chooseOneOrNone")]})]}),(0,t.jsx)(C,{value:c,options:k,onChange:e=>{p(e),i&&i({...l,scriptSource:c})},direction:g?"vertical":"horizontal"})]})]})});w.displayName="PptMenu";var F=i(61846);let k=(0,o.forwardRef)((e,a)=>{let{onDataChange:i}=e,n=(0,b.T)("videoCreationForm"),l=n.raw("scriptMenu.cases")||[],s=l.length>0?l.map((e,a)=>{let i=g.kU[a];return{label:e.label,text:e.text,iconName:i?.iconName||"a-Onboardingprocess",color:i?.color||"#4F71CB",bgColor:i?.bgColor||"#DBE5FF"}}):g.kU,[c,d]=(0,o.useState)(()=>({audience:"",speaker_background:"",tone:"",detail:"",script:"",language:"",learning_objectives:""}));(0,o.useEffect)(()=>{i?.(c)},[c,i]);let u=(0,o.useRef)(null);(0,o.useImperativeHandle)(a,()=>({hasValidation:()=>u.current?.hasValidation()??!1,getFormData:()=>c}));let p=(e,a)=>{d(i=>({...i,[e]:a}))},m=e=>e.join("\n");return(0,t.jsxs)("div",{className:"grid",children:[(0,t.jsx)(F.ZP,{ref:u,value:c.script,onChange:e=>p("script",e),placeholder:n("scriptMenu.placeholder"),maxChars:1e4,minChars:5,height:"208px",language:c.language}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-poppins font-medium text-[14px] leading-5 text-[#1E2026] mb-3",children:n("scriptMenu.needInspiration")}),(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:s.map((e,a)=>{let i=c.script===m(e.text);return(0,t.jsxs)("button",{className:`flex items-center h-12 gap-2 px-4 py-3 rounded-lg border-[#
14E0E0E0] hover:bg-[#F5F5F5] active:bg-[#E5E5E5] cursor-pointer transition-all duration-200 ${i?"bg-[#F1EDFF] border-0":"border border-[#E0E0E0] hover:border-0 active:border-0"}`,onClick:()=>p("script",m(e.text)),children:[(0,t.jsx)(r.Z,{className:"rounded-lg",name:e.iconName,color:e.color,style:{background:e.bgColor},size:28}),(0,t.jsx)("span",{className:"text-sm font-medium",children:e.label})]},a)})})]})]})});k.displayName="ScriptMenu";let S=(0,o.forwardRef)((e,a)=>{let{onDataChange:i}=e,n=(0,b.T)("videoCreationForm"),l=n.raw("textMenu.cases")||[],s=l.length>0?l.map((e,a)=>{let i=g.BA[a];return{label:e.label,text:e.text,iconName:i?.iconName||"a-TravelGuide",color:i?.color||"#4F71CB",bgColor:i?.bgColor||"#DBE5FF"}}):g.BA,c=(0,o.useRef)(null),d=(0,o.useMemo)(()=>s.length>0?s[0].text.join("\n"):"",[s]),[u,p]=(0,o.useState)(()=>({audience:"",speaker_background:"",tone:"",detail:"",script:d,language:"",learning_objectives:""}));(0,o.useEffect)(()=>{i?.(u)},[u,i]),(0,o.useImperativeHandle)(a,()=>({hasValidation:()=>c.current?.hasValidation()??!1,getFormData:()=>u}));let m=(e,a)=>{p(i=>({...i,[e]:a}))},h=e=>e.join("\n");return(0,t.jsxs)("div",{className:"grid",children:[(0,t.jsx)(F.ZP,{ref:c,value:u.script,onChange:e=>m("script",e),placeholder:n("textMenu.placeholder"),maxChars:1e4,minChars:5,maxScenes:50,height:"208px",language:u.language}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-poppins font-medium text-[14px] leading-5 text-[#1E2026] mb-3",children:n("textMenu.needInspiration")}),(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:s.map((e,a)=>{let i=u.script===h(e.text);return(0,t.jsxs)("button",{className:`flex items-center h-12 gap-2 px-4 py-3 rounded-lg border-[#
14E0E0E0] hover:bg-[#F5F5F5] active:bg-[#E5E5E5] cursor-pointer transition-all duration-200 ${i?"bg-[#F1EDFF] border-0":"border border-[#E0E0E0] hover:border-0 active:border-0"}`,onClick:()=>m("script",h(e.text)),children:[(0,t.jsx)(r.Z,{className:"rounded-lg",name:e.iconName,color:e.color,style:{background:e.bgColor},size:28}),(0,t.jsx)("span",{className:"text-sm font-medium",children:e.label})]},a)})})]})]})});S.displayName="TextMenu";let E=(e,a)=>[...e].sort(()=>Math.random()-.5).slice(0,a),M=(0,o.forwardRef)((e,a)=>{let{onDataChange:i}=e,n=(0,b.T)("videoCreationForm"),l=(0,o.useMemo)(()=>{let e=n.raw("topicMenu.cases")||[];return e.length>0?e.map((e,a)=>{let i=g.Lm[a];return{label:e.label,text:e.text,iconName:i?.iconName||"icon-a-AIischangingwork",color:i?.color||"#4F71CB",bgColor:i?.bgColor||"#DBE5FF"}}):g.Lm},[n]),[s,c]=(0,o.useState)(()=>E(l,4)),d=(0,o.useMemo)(()=>s.length>0?s[0].text.join("\n---\n"):"",[s]),[u,p]=(0,o.useState)(()=>({script:d}));(0,o.useEffect)(()=>{i?.(u)},[u,i]);let m=(0,o.useRef)(null);(0,o.useImperativeHandle)(a,()=>({hasValidation:()=>m.current?.hasValidation()??!1,getFormData:()=>u}));let h=(e,a)=>{p(i=>({...i,[e]:a}))},f=e=>{h("script",e.join("\n---\n"))},v=e=>e.join("\n");return(0,t.jsxs)("div",{className:"grid",children:[(0,t.jsx)(F.ZP,{ref:m,value:u.script,onChange:e=>h("script",e),placeholder:n("topicMenu.placeholder"),maxChars:300,minChars:5,height:"208px"}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsx)("div",{className:"font-poppins font-medium text-[14px] leading-5 text-[#1E2026]",children:n("topicMenu.needInspiration")}),(0,t.jsxs)("div",{className:"flex items-center cursor-pointer group",onClick:()=>{let e=E(l,4);c(e),e.length>0&&p({script:e[0].text.join("\n---\n")})},children:[(0,t.jsx)(r.Z,{name:"Re-upload",size:24,className:"text-[#1E2026] group-hover:text-[#6E4DFC] transition-colors"}),(0,t.jsx)("div",{className:"text-[#1E2026] group-hover:text-[#6E4DFC] transition-colors ml-2",children:n("topicMenu.change")})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:s.map((e,a)=>{let i=u.script===v(e.text);return(0,t.jsxs)("button",{className:`flex items-center h-12 gap-2 px-4 py-3 rounded-lg border-[#
14E0E0E0] hover:bg-[#F5F5F5] active:bg-[#E5E5E5] cursor-pointer transition-all duration-200 ${i?"bg-[#F1EDFF] border-0":"border border-[#E0E0E0] hover:border-0 active:border-0"}`,onClick:()=>f(e.text),children:[(0,t.jsx)(r.Z,{className:"rounded-lg",name:e.iconName,color:e.color,style:{background:e.bgColor},size:28}),(0,t.jsx)("span",{className:"text-sm font-medium",children:e.label})]},a)})})]})]})});M.displayName="TopicMenu";var A=i(3705);(n=l||(l={})).TOPIC="Topic",n.FILE="File",n.SCRIPT="Script",n.TEXT="Text",n.PPT="PPT";var j=i(20745);let N=g.Ix[0],D=(e,a)=>({layout_key:String(e||N?.id||""),dh_model_key:a||N?.dh_model_key||"dh_models/clone_result/deploy/6f136d51ec574923a0dfae96d9ac0f87",image_fill_mode:!0,image_fill_ai_generation_style:"Photo",image_fill_ai_generation_style_command:""}),P=e=>e&&"dh_model_key"in e?e.dh_model_key:void 0;var T=e=>{let{type:a,title:n,subtitle:c,functionActiveTab:d}=e,u=(0,b.T)("videoCreationForm"),[p,g]=(0,o.useState)(d||("slides-presenter"===a?l.PPT:"video-creator"===a?l.FILE:l.TOPIC)),[f,x]=(0,o.useState)(!1),{clearUploadedFile:y,clearUploadedPpt:_}=(0,m.Z)(),C=(0,o.useRef)(null),F=(0,o.useRef)(null),E=(0,o.useRef)(null),N=(0,o.useRef)(null),T=(0,o.useRef)(null),I=(0,o.useRef)(null),B=(0,o.useRef)([]),[z,L]=(0,o.useState)(null),[R,O]=(0,o.useState)(null),[Z,U]=(0,o.useState)({importMode:"image",scriptSource:"ai_mode"}),[H,G]=(0,o.useState)({}),[W,V]=(0,o.useState)(null),[K,q]=(0,o.useState)({audience:!1,speaker_background:!1,learning_objectives:!1}),$=[{label:l.TOPIC,value:"0",icon:(0,t.jsx)(r.Z,{name:"Topic",size:24})},{label:l.FILE,value:"1",icon:(0,t.jsx)(r.Z,{name:"File",size:24})},{label:l.TEXT,value:"2",icon:(0,t.jsx)(r.Z,{name:"a-SEOText",size:24})},{label:l.SCRIPT,value:"3",icon:(0,t.jsx)(r.Z,{name:"Script",size:24})},{label:l.PPT,value:"4",icon:(0,t.jsx)(r.Z,{name:"PPT",size:24})}],J=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth",i=I.current,n=B.current[e];if(i&&n){let e=i.clientWidth,l=n.offsetLeft,t=n.clientWidth;i.scrollTo({left:l-(e-t)/2,behavior:a})}};(0,o.useEffect)(()=>{let e=$.findIndex(e=>e.label===p);e>=0&&J(e,"auto")},[]);let Y=(e,a)=>{g(e.label),J(a,"smooth")},Q=e=>{q(a=>({...a,[e]:!1}))},X=(0,o.useMemo)(()=>{switch(p){case l.FILE:case l.PPT:{let e=p===l.FILE?H:Z;if(e){let{file_id:a,file_key:i}=e;return!(a||i)}return!0}case l.SCRIPT:if(z){let{script:e}=z,a=F.current?.hasValidation()??!1;return!e.trim()||a}return!0;case l.TEXT:if(R){let{script:e}
14=R,a=N.current?.hasValidation()??!1;return!e.trim()||a}return!0;case l.TOPIC:if(W){let{script:e}=W,a=T.current?.hasValidation()??!1;return!e.trim()||a}return!0;default:return!0}},[p,H,z,Z,R,W]),ee=async()=>{let e=p===l.FILE?C.current?.getFormData()?.selectedTemplate?.name:p===l.PPT?E.current?.getFormData()?.selectedTemplate?.name:void 0;i.e(7086).then(i.bind(i,26428)).then(i=>{let{default:n}=i;n.capture("create_free_ai_video_click",{source:a||"default",tab:p,template_name:e})}).catch(()=>{});let n={file_key:void 0,video_data:{}};switch(p){case l.FILE:case l.PPT:{let e=p===l.FILE?C.current:E.current;if(!e)return;let a=e?.getFormData(),{file_id:i,file_name:t,file_size:o,file_slides:r,file_type:s,file_url:c,file_key:d,tone:u,language:g,detail:m,selectedTemplate:h,scriptSource:b,slideCount:f}=a;n={file_key:d,video_data:{video_type:p===l.FILE?"FILES_TO_VIDEO_V2":"SLIDE_PRESENTER",detail_option:m,file_id:i,file_name:t,file_size:o,file_slides:r||f,file_type:s,file_url:c,language:g,tone:u,...p===l.FILE?D(h?.id,P(h)):{layout_key:h?.id},...p===l.PPT&&{script_options:"ai_mode",import_mode:a.importMode,video_length:3,language:"English",tone:"Formal",audience:"",speaker_background:"",with_notes:"with_notes"===b}}};break}case l.SCRIPT:{let{script:e}=F.current?.getFormData()||{};if(!e?.trim()||F.current?.hasValidation())return;n={video_data:{video_type:"SCRIPT_TO_VIDEO_V2",script_text:e,use_origin_text:!0,detail_option:"",tone:"Formal",audience:"",speaker_background:"",goal:"",kb_item_id:null,...D()}};break}case l.TEXT:{let{script:e}=N.current?.getFormData()||{};if(!e?.trim()||N.current?.hasValidation())return;n={video_data:{video_type:"SCRIPT_TO_VIDEO_V2",script_text:e,use_origin_text:!1,detail_option:"Balanced",tone:"Formal",audience:"",speaker_background:"",goal:"",kb_item_id:null,...D()}};break}case l.TOPIC:{let{script:e}=T.current?.getFormData()||{};if(!e?.trim()||T.current?.hasValidation())return;n={video_data:{video_type:"SCRIPT_TO_VIDEO_V2",script_text:e,use_origin_text:!1,detail_option:"Balanced",tone:"Formal",audience:"",speaker_background:"",goal:"",kb_item_id:null,...D()}};break}default:return}try{x(!0);let e=await (0,A.OH)(n);p===l.FILE?(y(),G({})):p===l.PPT&&(_(),U({importMode:"layers",scriptSource:"ai_mode"}));let a=p===l.TEXT?l.SCRIPT:p,i=(0,j.y8)(`https://app.leadde.ai/login?key=${e?.session_key}&type=${a}`);console.log("[handleCreateFree] æå¼:",i),window.innerWidth<1024?window.location.href=i:window.open(i,"_blank")}catch(e){console.error("å建è§é¢å¤±è´¥:",e),h.ZP.error("Failed to create video from file")}finally{x(!1)}};return(0,t.jsx)("div",{className:"create-video-bg flex flex-col items-center justify-center",children:(0,t.jsxs)("div",{className:" w-full lg:w-[988px]",children:[(0,t.jsxs)("div",{className:"flex flex-col text-center lg:p-2 lg:px-0",children:[n&&(0,t.jsx)("h2",{className:"mx-5 lg:mx-auto lg:w-[862px] font-poppins lg:text-[40px] font-semibold text-[#1F1E26] tracking-none text-center lg:leading-15 leading-10 text-3xl",children:n}),(0,t.jsx)("div",{className:"flex items-center justify-center lg:mt-4 mt-6",children:(0,t.jsx)("div",{ref:I,className:"min-w-full lg:min-w-auto px-5 h-12 overflow-x-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",children:(0,t.jsx)("div",{className:"flex lg:gap-1 rounded-3xl bg-[#FFFFFF] p-0.5 h-full w-max ps-0.5",children:$.map((e,a)=>{let i=p===e.label;return(0,t.jsxs)("div",{ref:e=>{B.current[a]=e},className:`lg:py-0 lg:px-3 lg:w-40 w-26 h-full flex gap-1 justify-center items-center cursor-pointer rounded-4xl transition-all ${i?"text-white":"hover:bg-[#DDE1E7]"}`,style:i?{background:"#6E4DFC"}:void 0,onClick:()=>Y(e,a),children:[e.icon&&e.icon," ",u(`tabs.${e.label}`)||e.label]},e.label)})})})})]}),(0,t.jsxs)("div",{className:"mx-5 p-4 rounded-xl gap-4 lg:gap-0 lg:max-w-[956px] mt-6 lg:mt-4 lg:p-12 lg:mx-auto bg-white lg:rounded-[39px] shadow-[0px_8px_48px_0px_rgba(0,0,0,0.078)] overflow-hidden",children:[(0,t.jsxs)("div",{className:"pb-6",children:[p===l.FILE&&(0,t.jsx)(v,{ref:C,initialData:H,onDataChange:G,visibleFields:K,onFieldToggle:Q}
14),p===l.SCRIPT&&(0,t.jsx)(k,{ref:F,initialData:z,onDataChange:L,visibleFields:K,onFieldToggle:Q}),p===l.TEXT&&(0,t.jsx)(S,{ref:N,initialData:R,onDataChange:O,visibleFields:K,onFieldToggle:Q}),p===l.PPT&&(0,t.jsx)(w,{ref:E,initialData:Z,onDataChange:U,visibleFields:K,onFieldToggle:Q}),p===l.TOPIC&&(0,t.jsx)(M,{ref:T,initialData:W,onDataChange:V})]}),(0,t.jsx)("div",{className:"pb-6 flex justify-center",children:(0,t.jsx)(s.z,{className:"w-full lg:w-[486px] h-13 lg:h-10 text-base! lg:text-sm!",onClick:ee,disabled:X||f,children:u("createButton")})}),(0,t.jsx)("div",{className:"text-center text-xs text-gray-600 leading-5",children:c||(0,t.jsxs)(t.Fragment,{children:[u("legalNotice.text")," ",(0,t.jsx)("span",{onClick:()=>window.open("https://leadde.ai/privacy","_blank"),className:"text-[#1F1E26] font-[Inter] font-semibold text-xs leading-5 tracking-tight text-center cursor-pointer",children:u("legalNotice.policyLink")})," ",u("legalNotice.suffix")]})})]})]})})}},57545:function(e,a,i){var n=i(3735),l=i(86631),t=i(17425),o=i(63024),r=i(57730),s=i(51551),c=i(48569),d=i(78574),u=i(30195),p=i(87953),g=i(30294);a.Z=e=>{let{label:a,value:i,options:m,onChange:h,renderValue:b,size:f="small",disabled:v=!1,className:x,sx:y,required:_=!1,errorMessage:C,placeholder:w}=e,F=(0,g.useId)(),k=`${F}-label`,[S,E]=(0,g.useState)(""),[M,A]=(0,g.useState)(""),[j,N]=(0,g.useState)(!1),D=(0,g.useRef)();(0,g.useEffect)(()=>(D.current&&clearTimeout(D.current),D.current=setTimeout(()=>{A(S)},300),()=>{D.current&&clearTimeout(D.current)}),[S]),(0,g.useEffect)(()=>{if(!j){let e=setTimeout(()=>{E(""),A(""),D.current&&clearTimeout(D.current)},300);return()=>clearTimeout(e)}},[j]),(0,g.useEffect)(()=>{if(!j||!i)return;let e=setTimeout(()=>{let e=document.querySelector(".MuiMenu-paper");if(!e)return;let a=e.querySelectorAll("li"),n=null;for(let e=0;e<a.length;e++){let i=a[e],l=window.getComputedStyle(i);if("auto"===l.overflowY||"scroll"===l.overflowY){n=i;break}}if(!n)return;let l=n.querySelectorAll(".MuiMenuItem-root");for(let e=0;e<l.length;e++){let a=l[e];if(a.textContent?.trim()===String(i)){a.scrollIntoView({behavior:"instant",block:"center"});break}}},100);return()=>clearTimeout(e)},[j,i]);let P={height:"48px",borderRadius:"8px",fontSize:"16px","& .MuiSelect-select":{padding:"14px 16px",color:i?"#1E2026":"#C8CACC"},"& .MuiSelect-icon":{color:"black",top:"calc(50% - 0.5em)",right:"12px"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"#C8CACC",borderWidth:"1px"},"& .MuiOutlinedInput-notchedOutline legend":{fontSize:"10.5px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#6E4DFC",borderWidth:"1px"},"&.Mui-focused":{boxShadow:"0 0 0 2px #F1EDFF"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#6E4DFC",borderWidth:"1px"},...y},T=m.filter(e=>e.label.toLowerCase().includes(M.toLowerCase()));return(0,n.jsxs)(t.Z,{fullWidth:!0,size:f,className:x,disabled:v,sx:{"&:hover .MuiInputLabel-root":{color:"#6E4DFC"},"& .MuiInputLabel-root.Mui-focused":{color:"#6E4DFC"}},children:[(0,n.jsx)(o.Z,{id:k,shrink:!0,sx:{fontSize:"14px",color:"#454545",backgroundColor:"white",padding:"0 4px",..._&&{"&::before":{content:'"*"',color:"#FD4E4E",marginRight:"4px"}}},children:a}),(0,n.jsxs)(r.Z,{labelId:k,value:i,label:a,displayEmpty:!!w,notched:!0,open:j,onOpen:()=>N(!0),onClose:()=>{N(!1)},IconComponent:()=>(0,n.jsx)("div",{className:"me-2",style:{display:"flex",alignItems:"center"},children:(0,n.jsx)(l.Z,{name:j?"chevron-up":"chevron-down",size:16,color:"#1E2026"})}),renderValue:b||(e=>{if(!e&&w)return(0,n.jsx)("span",{style:{fontSize:"12px",color:"#C8CACC",fontFamily:"Inter",fontWeight:400},children:w});let a=m.find(a=>a.value===e);return a?.label||e?.toString()||""}),MenuProps:{PaperProps:{sx:{borderRadius:"8px",marginTop:"8px",padding:"16px",boxShadow:"0px 8px 24px rgba(0, 0, 0, 0.12)",border:"1px solid rgba(0, 0, 0, 0.06)",overflow:"hidden",maxHeight:"unset","& .MuiList-root":{padding:0,maxHeight:"unset",overflow:"visible"},"& .MuiMenuItem-root":{fontSize:"14px",fontWeight:400,height:"44px !important",minHeight:"44px !important",borderRadius:"8px",px:1,color:"#1E2026","&:hover":{backgroundColor:"#F1EDFF"}},"& .Mui-selected":{backgroundColor:"#F1EDFF !important",color:"#6E4DFC",fontWeight:"400","&:hover":{backgroundColor:"#F1EDFF !important"}}}},MenuListProps:{sx:{padding:0}}},sx:P,onChange:e=>{h(e.target.value)},children:[(0,n.jsx)(s.Z,{disableRipple:!0,onKeyDown:e=>{e.stopPropagation()},onMouseDown:e=>{e.stopPropagation()},onClick:e=>{e.stopPropagation()},sx:{backgroundColor:"transparent !important","&:hover":{backgroundColor:"transparent !important"},"&:focus":{backgroundColor:"transparent !important"},"&:focus-within":{backgroundColor:"transparent !important"},"&.Mui-focusVisible":{backgroundColor:"transparent !important"},cursor:"default",padding:0,marginBottom:"4px",height:"auto !important",minHeight:"auto !important"},children:(0,n.jsx)(c.Z,{fullWidth:!0,placeholder:"Search",value:S,onChange:e=>{E(e.target.value)},size:"small",autoFocus:!0,onKeyDown:e=>{e.stopPropagation()},onMouseDown:e=>{e.stopPropagation()},onClick:e=>{e.stopPropagation()},slotProps:{input:{startAdornment:(0,n.jsx)(d.Z,{position:"start",sx:{marginLeft:"16
14px",marginRight:"8px"},children:(0,n.jsx)(l.Z,{name:"search",size:16,color:"#000000"})})}},sx:{width:"calc(100% + 16px)",marginLeft:"-8px",marginRight:"-8px","& .MuiOutlinedInput-root":{height:"40px",borderRadius:"8px",fontSize:"14px",fontWeight:400,color:"#131314",paddingLeft:"0px",backgroundColor:"white","& input":{padding:"10px 16px 10px 0px",backgroundColor:"transparent !important","&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 1000px white inset !important"}},"& fieldset":{borderColor:"#C8CACC",borderWidth:"1px"},"&:hover fieldset":{borderColor:"#6E4DFC",borderWidth:"1px"},"&.Mui-focused":{boxShadow:"0 0 0 2px #F1EDFF",backgroundColor:"white"},"&.Mui-focused fieldset":{borderColor:"#6E4DFC",borderWidth:"1px"}},"& .MuiInputBase-input::placeholder":{fontSize:"14px",color:"#BDBFC5",opacity:1,fontWeight:400}}})}),(0,n.jsx)(u.Z,{component:"li",sx:{padding:0,margin:0,listStyle:"none",maxHeight:"400px",overflowY:"auto",overflowX:"hidden",marginRight:"-14px","&::-webkit-scrollbar":{width:"8px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#D9D9D9",borderRadius:"12px"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#BFBFBF"}},children:(0,n.jsx)(u.Z,{sx:{display:"flex",flexDirection:"column",gap:"4px",marginRight:"7px"},children:T.length>0?T.map(e=>(0,n.jsx)(s.Z,{value:e.value,selected:e.label===i,disableRipple:!0,onClick:()=>{h(e.value),N(!1)},children:e.label},e.value)):(0,n.jsx)(s.Z,{disabled:!0,sx:{justifyContent:"center",padding:"8px",backgroundColor:"transparent !important",opacity:"1 !important","&:hover":{backgroundColor:"transparent !important"},"&.Mui-disabled":{backgroundColor:"transparent !important",opacity:"1 !important"}},children:(0,n.jsx)(p.Z,{sx:{fontSize:"12px",fontWeight:400,color:"#999999"},children:M?"No matching options found":"No options available"})})})})]}),C&&(0,n.jsx)(p.Z,{variant:"caption",sx:{mt:"8px",mb:0,fontSize:"11px",lineHeight:"14px",color:"#FD4E4E"},children:C})]})}},55731:function(e,a,i){let n=(0,i(31613).U)(e=>({loading:!1,setLoading:a=>e({loading:a}),uploadedFile:null,setUploadedFile:a=>e({uploadedFile:a}),clearUploadedFile:()=>e({uploadedFile:null}),uploadedPpt:null,setUploadedPpt:a=>e({uploadedPpt:a}),clearUploadedPpt:()=>e({uploadedPpt:null})}));a.Z=n}}]);
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.