1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://static.tomoviee.ai/assets/js/index-BHMjU9UK.js","https://static.tomoviee.ai/assets/js/critical-vue-BJr3lfii.js","https://static.tomoviee.ai/assets/js/ui-components-Bkqosso1.js","https://static.tomoviee.ai/assets/js/vendor-media-CeRbPzXA.js","https://static.tomoviee.ai/assets/js/core-utils-Ca5YS8ev.js","https://static.tomoviee.ai/assets/js/vendor-services-Zw_BGw9P.js","https://static.tomoviee.ai/assets/css/ui-components-Blde-L9R.css","https://static.tomoviee.ai/assets/js/promptDrawer-Db67JfSa.js","https://static.tomoviee.ai/assets/js/index-0kZAOJX9.js","https://static.tomoviee.ai/assets/js/vendor-utils-tIUf6iEz.js","https://static.tomoviee.ai/assets/css/index-4XRUg2vI.css","https://static.tomoviee.ai/assets/js/Icon20_Subscribe-Cq8nONZx.js","https://static.tomoviee.ai/assets/js/usePathTracker-k0_iOwd5.js","https://static.tomoviee.ai/assets/js/useSame-CTLJUpbq.js","https://static.tomoviee.ai/assets/js/assetsApi-ret9uyrv.js","https://static.tomoviee.ai/assets/js/type-BvLex277.js","https://static.tomoviee.ai/assets/js/useTaskPolling-DhVaZGyt.js","https://static.tomoviee.ai/assets/js/imageApi-Bg42zKdW.js","https://static.tomoviee.ai/assets/js/FileShower-Dy4zFH6C.js","https://static.tomoviee.ai/assets/js/ImageViewer-KP7BYmDe.js","https://static.tomoviee.ai/assets/css/ImageViewer-k87N4tYj.css","https://static.tomoviee.ai/assets/css/FileShower-972Enl2A.css","https://static.tomoviee.ai/assets/js/EffectTab-C9XjLbnn.js","https://static.tomoviee.ai/assets/js/LoadingAnime.vue_vue_type_script_setup_true_lang-DPrlqi9x.js","https://static.tomoviee.ai/assets/js/loading_loop-D5WG2faN.js","https://static.tomoviee.ai/assets/css/EffectTab-BynasAE7.css","https://static.tomoviee.ai/assets/js/fillMissMark-CWPCbTUs.js","https://static.tomoviee.ai/assets/js/search-empty-BTBtKh_K.js","https://static.tomoviee.ai/assets/css/promptDrawer-CybAFeAx.css","https://static.tomoviee.ai/assets/css/index-Yq4BZqZy.css","https://static.tomoviee.ai/assets/js/MobileToolDrawer-rLmPgai_.js","https://static.tomoviee.ai/assets/js/usePromptDrawer-BWBWvf6z.js","https://static.tomoviee.ai/assets/js/useTaskOperate-PHsYpbvi.js","https://static.tomoviee.ai/assets/js/task-Dg4gCuuY.js","https://static.tomoviee.ai/assets/css/usePromptDrawer-D7O6f3al.css","https://static.tomoviee.ai/assets/css/MobileToolDrawer-CJZrcr2H.css"])))=>i.map(i=>d[i]); 2import{z as e,a7 as a,A as t,G as o,aM as s,aN as i,_ as l,a9 as r}from"./ui-components-Bkqosso1.js";import{u as d,B as u,T as n,a as p}from"./usePromptDrawer-BWBWvf6z.js";import{k as m,d as c,x as v,D as _,J as g,q as h,u as f,z as y,M as j,i as x,N as k,S as b,h as w,a4 as V,W as S,w as T,o as P,y as B,$ as E,R as D,A,B as L,G as O,a9 as U}from"./critical-vue-BJr3lfii.js";import{W as C,u as I,P as M,o as N,p as R,aN as $,e as q,m as z,aQ as G}from"./index-0kZAOJX9.js";import{u as H}from"./core-utils-Ca5YS8ev.js";import"./vendor-media-CeRbPzXA.js";import{S as J}
2from"./promptDrawer-Db67JfSa.js";import{_ as W}from"./quantity.vue_vue_type_script_setup_true_lang-Dfzq1-sq.js";import{B as F}from"./BasicTextArea-Czx3rjSq.js";import{t as Q}from"./Icon20_Subscribe-Cq8nONZx.js";import{_ as X}from"./icon20_free-mQN1rrT9.js";import"./vendor-services-Zw_BGw9P.js";import"./useTaskOperate-PHsYpbvi.js";import"./task-Dg4gCuuY.js";import"./assetsApi-ret9uyrv.js";import"./usePathTracker-k0_iOwd5.js";import"./useSame-CTLJUpbq.js";import"./fillMissMark-CWPCbTUs.js";import"./vendor-utils-tIUf6iEz.js";import"./useTaskPolling-DhVaZGyt.js";import"./imageApi-Bg42zKdW.js";import"./FileShower-Dy4zFH6C.js";import"./ImageViewer-KP7BYmDe.js";import"./EffectTab-C9XjLbnn.js";import"./type-BvLex277.js";import"./LoadingAnime.vue_vue_type_script_setup_true_lang-DPrlqi9x.js";import"./loading_loop-D5WG2faN.js";import"./search-empty-BTBtKh_K.js";import"./PromptHeader-BngCXWuC.js";const K={class:"flex flex-col gap-4 p-4 text-center"},Y=["src"],Z={class:"text-sm text-[--texticon-03pressed] text-center"},ee=m({__name:"VideoExtendGuie",setup(o){const s=e(),i=c(!1);return(e,o)=>(v(),_(X,{modelValue:f(i),"onUpdate:modelValue":o[0]||(o[0]=e=>x(i)?i.value=e:null),trigger:"hover",placement:"right","show-arrow":"",class:"size-4",offset:4,"open-delay":100,"popup-class":"bg-[--background-11bgsolid] !p-0 w-[400px] h-[300px] translate-y-[55px] video-extend-guide"},{trigger:g((()=>[h(f(a),{name:"sky-media/icon16_detail_thin",class:"cursor-pointer text-[--color-text-dynamic-white-tertiary]",size:"16"})])),"popup-content":g((()=>[y("div",K,[y("video",{src:`${f(t).domainSite}/videos/app-assets/guide/video_extend_guide__${f(s).lang}.mp4`,class:"w-full h-[232px] object-cover rounded-[12px] bg-[--background-01bg]",autoplay:"",muted:"",loop:""},null,8,Y),y("span",Z,j(e.$t("sky_media.videoExtendGuide")),1)])])),_:1},8,["modelValue"]))}}),ae={class:"upload-support"},te={class:"bottom-area-video"},oe=r(m({__name:"VideoCreateVideo",props:{type:{default:C.vtv},hasBack:{type:Boolean},showTab:{type:Boolean,default:!0},direction:{default:"right"}},setup(a){const r=o(),m=e(),X=U((()=>l((()=>import("./index-BHMjU9UK.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]),import.meta.url))),K=U((()=>l((()=>import("./MobileToolDrawer-rLmPgai_.js")),__vite__mapDeps([30,2,3,1,4,5,6,31,8,9,10,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,32,33,34,35]),import.meta.url))),Y=I(),{vtvPanelData:Z}=k(Y),oe=b(),{t:se}=H(),ie=w((()=>se("sky_media.vtv"))),le=c(!1),re=c(null),{visible:de,panelComponent:ue,panelTitle:ne}=d(),{videoBatchSwitch:pe,batchSupportShowList:me,batchSupportList:ce}=k(m),ve=w((()=>t.isCN?M[N.video2video]:R[N.video2video])),_e=(e,a)=>{"video_uri"===e&&Z.value.video_uri&&(Z.value.parent_task_id=void 0,Z.value.share_file_ids=[]),Object.prototype.hasOwnProperty.call(Z.value,e)&&(Z.value[e].value=a)},ge=async()=>{await oe.push({name:"Home"}),re.value=null,window.scrollTo(0,0)},he=w((()=>{const e={};Object.keys(Z.value).forEach((a=>{if("statusList"===a)Z.value[a].forEach((a=>{e[a.param]=a.value}));else if("share_id"===a||"tracing_res_id"===a||"tracing_origin_id"===a||"parent_task_id"===a)e[a]=Z.value[a];else{const t=Z.value[a];e[a]=t&&"object"==typeof t&&"value"in t?"string"==typeof t.value?t.value.trim():t.value:t}}));const{statusList:a,...t}=Z.value;return e.user_data=JSON.stringify(t),e})),fe=async(e,a)=>{const t=await G(e,null==a?void 0:a.ticket,null==a?void 0:a.randStr);return(null==t?void 0:t.task_id)&&s.emit(i.taskLoopUpdate),t};V((async()=>{const e=await $("tmai_leisure_task_list","sys","all");pe.value=1===e.batch_open,me.value=null==e?void 0:e.batch_show_cfg,ce.value=null==e?void 0:e.batch_cfg}));const ye=S();return T((()=>ye.name),(e=>{const a=q(e);(null==a?void 0:a.includes("inspiration"))||(null==a?void 0:a.includes("home"))||(null==a?void 0:a.includes("userCenter"))||Q()}),{immediate:!0}),P((()=>{var e;(null==(e=q(oe.currentRoute.value.name))?void 0:e.includes("video"))||(Y.vtvPanelData.tracing_res_id=void 0,Y.vtvPanelData.tracing_origin_id=void 0)})),(e,a)=>{const t=p;return v(),B("div",{class:L(["vv-template-action-box relative",{"!w-full":f(r)}]),style:O({"min-width":f(r)?"320px":"460px"})},[f(r)?(v(),_(f(K),{key:0,modelValue:f(de),"onUpdate:modelValue":a[0]||(a[0]=e=>x(de)?de.value=e:null),"alg-code":f(N).video2video},null,8,["modelValue","alg-code"])):(v(),_(f(X),{key:1,modelValue:f(de),"onUpdate:modelValue":a[1]||(a[1]=e=>x(de)?de.value=e:null),direction:e.direction,title:f(ne)},{default:g((()=>[(v(),_(E(f(ue)),{"alg-code":f(N).video2video},null,8,["alg-code"]))])),_:1},8,["modelValue","direction","title"])),h(n,null,{header:g((()=>[h(t,{title:ie.value,"has-back":e.hasBack,module:f(C).vtv,onBack:ge},null,8,["title","has-back","module"])])),content:g((()=>[(v(),B("div",{key:f(Z).refreshId,class:"flex flex-col gap-5"}
2,[h(J,{config:f(z),module:e.type,param:"video_uri",onUpdate:_e},{guide:g((()=>[h(ee)])),uploadSupport:g((()=>[y("div",ae,j(e.$t("sky_media.videoExtendSupport")),1)])),_:1},8,["config","module"]),h(F,{modelValue:f(Z).prompt.value,"onUpdate:modelValue":a[2]||(a[2]=e=>f(Z).prompt.value=e),title:f(se)("sky_media.inputPrompt"),"max-length":ve.value,"min-height":144,"alg-code":f(N).video2video},{placeholderText1:g((()=>[D(j(f(se)("sky_media.placeholderText4")),1)])),_:1},8,["modelValue","title","max-length","alg-code"]),f(pe)&&f(m).showVideoBatch(f(N).video2video)?(v(),_(W,{key:0,value:f(Z).qty.value,"show-vip-icon":!0,"is-video":!0,onUpdate:_e},null,8,["value"])):A("",!0)]))])),footer:g((()=>[y("div",te,[h(u,{"alg-code":f(N).video2video,params:he.value,"action-method":fe,onCloseExpand:a[3]||(a[3]=()=>le.value=!1)},null,8,["alg-code","params"])])])),_:1})],6)}}}),[["__scopeId","data-v-d39493a1"]]);export{oe as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.