1import{d as V,f as w,c as n,b as d,o as p,a as t,t as r,M as u,N as b,F as h,r as y,x as C,u as x,v as s,j as i,y as j,h as A}from"./CGjp591L.js";import{S,a as L}from"./DJDeNV5B.js";import"./XthdNLYK.js";import{P as $}from"./-9F4dbCk.js";import{A as B}from"./BDtc_hnS.js";import{D as _}from"./BbpfinIo.js";const z={key:0,class:"ai-text-video base-maxwidth mt-[65px]! md:mt-[200px]!"},N={class:"text-center"},D={class:"text-gradient h2 text-center text-[38px] leading-[42px] font-bold"},O={class:"desc mx-auto mt-8 max-w-[800px] text-center text-[20px] leading-[26px] max-[1400px]:text-[18px] max-[750px]:mt-5 max-[750px]:text-[12px] max-[750px]:leading-[1.3]"},M={class:"swiper-container m-t-48 relative mt-12 h-[690px] max-[820px]:h-auto max-[750px]:aspect-345/290 max-[750px]:w-full"},P={class:"col mr-[80px] flex w-[470px] shrink-0 flex-col max-[820px]:relative max-[820px]:z-10 max-[820px]:flex-1 max-[750px]:mr-2"},F={key:1,class:"block h-full w-full rounded-[24px] object-cover max-[750px]:rounded-[16px]"},Z=["srcset"],E=["src","alt"],R={class:"h3 block text-[22px] leading-[26px] max-[750px]:mb-[5px] max-[750px]:text-[14px] max-[750px]:leading-[26px]"},q={class:"mt-[18px] max-[750px]:mt-0"},G=V({name:"AiTextVideo",__name:"AiTextVideo",props:{h2:{type:String,default:""},description:{type:String,default:""},list:{type:Array,default:[{img:"https://images.lumeflow.ai/lumeflowen/images/image-to-video/image-to-video-lion",video_url:"https://images.lumeflow.ai/lumeflowen/videos/image-to-video/image-to-video-lion.mp4",alt:"components.ov.AiTextVideo.alt1",prompt:["components.ov.AiTextVideo.prompt1"]},{img:"https://images.lumeflow.ai/lumeflowen/images/image-to-video/image-to-video-dog-dancing",suffix:"jpg",video_url:"https://images.lumeflow.ai/lumeflowen/videos/image-to-video/image-to-video-dog-dancing.mp4",alt:"components.ov.AiTextVideo.alt2",prompt:["components.ov.AiTextVideo.prompt2"]},{img:"https://images.lumeflow.ai/lumeflowen/images/image-to-video/image-to-video-boom-effect",video_url:"https://images.lumeflow.ai/lumeflowen/videos/image-to-video/image-to-video-boom-effect.mp4",alt:"components.ov.AiTextVideo.alt3",prompt:["components.ov.AiTextVideo.prompt3"]}]}},setup(l){let m;const c=w(0),f=w(null),k=o=>{m=o},T=()=>{m&&(c.value=m.realIndex),A(()=>{const o=f.value&&f.value[c.value];o?.paused&&o.play()})};function g(o){switch(o){case"left":m.slidePrev();break;case"right":m.slideNext();break}}return(o,a)=>{const I=j;return l.list.length?(p(),n("div",z,[t("div",N,[t("h2",D,r(l.h2),1)]),t("p",O,r(l.description),1),t("div",M,[u(x(L),{class:s(["swiper-wrapper h-full [&_.swiper-pagination]:hidden max-[750px]:[&_.swiper-pagination]:block!",l.list.some(e=>e.origin_url)?"max-[750px]:[&>.swiper-wrapper]:pb-0":"max-[750px]:[&>.swiper-wrapper]:pb-[18px]"]),"slides-per-view":1,loop:!0,pagination:{clickable:!0},modules:[x(B),x($)],autoplay:{delay:5e3,disableOnInteraction:!1},onSwiper:k,onSlideChange:T},{default:b(()=>[(p(!0),n(h,null,y(l.list,e=>(p(),C(x(S),{class:"flex! justify-center",key:e.img||e.video_url},{default:b(()=>[t("div",P,[t("div",{class:s(["col-img relative h-[436px] w-full max-[820px]:h-[calc(50%-8px)]",e.origin_url?"video-origin rounded-[24px] bg-[#4444444d] px-[116px] pt-[80px] pb-[25px] backdrop-blur-[20px] max-[820px]:p-0 max-[750px]:h-[calc(58%-8px)] [&_img]:rounded-none max-[820px]:[&_video]:max-h-full max-[820px]:[&_video]:rounded-[24px] max-[820px]:[&_video]:object-cover max-[750px]:[&_video]:rounded-[16px]":""])},[e.origin_url?(p(),C(_,{key:0,src:e.origin_url,poster:`${e.origin_image_url}${e.suffix||".png"}`,loop:"",autoplay:!0,class:"swiper-item-video w-full max-w-[400px]!"},null,8,["src","poster"])):(p(),n("picture",F,[t("source",{srcset:`${e.img}.webp`,type:"image/webp"},null,8,Z),t("img",{src:`${e.img}.${e.suffix??"png"}`,class:"h-full w-full rounded-[24px] object-cover max-[750px]:rounded-[16px]",alt:("useI18nText"in o?o.useI18nText:x(i))(e.alt?("useI18nText"in o?o.useI18nText:x(i))(e.alt):"")},null,8,E)])),t("span",{class:s(["tag absolute top-6 left-6 inline-block rounded-[20px] bg-[#24242480] px-3 py-2 text-[14px] backdrop-blur-[20px] max-[750px]:top-3 max-[750px]:left-3 max-[750px]:py-1",e.origin_url?"max-[750px]:hidden":""])}
1,r(e.origin_url?("useI18nText"in o?o.useI18nText:x(i))("components.ov.originalVideo"):("useI18nText"in o?o.useI18nText:x(i))("components.ov.originalImage")),3),u(I,{name:"icon:common-arrow-pair",class:"absolute top-1/2 -right-[64px] -translate-y-1/2 text-[42px] max-[750px]:-right-[16px] max-[750px]:z-1 max-[750px]:h-[20px] max-[750px]:w-[24px] max-xl:text-[24px]"})],2),t("div",{class:s(["prompt-box mt-4 flex-1 rounded-[24px] border border-[#333333] px-[36px] py-[32px] backdrop-blur-[10px] max-[820px]:h-[calc(50%-8px)] max-[820px]:p-6 max-[750px]:mt-2 max-[750px]:rounded-[16px] max-[750px]:px-3 max-[750px]:py-2",e.origin_url?"max-[820px]:flex max-[820px]:flex-col max-[820px]:justify-evenly max-[750px]:h-[calc(42%-8px)]":""])},[t("b",R,r(("useI18nText"in o?o.useI18nText:x(i))("components.ov.prompt")),1),t("ul",q,[(p(!0),n(h,null,y(e.prompt,v=>(p(),n("li",{key:v,class:s(["line-clamp-5 overflow-hidden text-[18px] leading-[22px] text-ellipsis text-[#cbcbcb] max-[750px]:text-[12px] max-[750px]:leading-[1.4]",e.origin_url?"max-[750px]:leading-[1.2]":""])},r(("useI18nText"in o?o.useI18nText:x(i))(v)),3))),128))])],2)]),t("div",{class:s(["relative col-2 flex justify-center overflow-hidden rounded-[24px] max-[820px]:flex-1 max-[750px]:rounded-[16px]",e.origin_url?"video-after rounded-[24px] bg-[#4444444d] px-[120px] pt-[80px] pb-[40px] backdrop-blur-[20px] max-[820px]:p-0 max-[750px]:rounded-[16px] max-[820px]:[&_video]:max-h-full max-[820px]:[&_video]:max-w-full max-[820px]:[&_video]:object-cover max-[750px]:[&_video]:object-cover":""])},[t("span",{class:s(["tag absolute top-6 left-6 inline-block rounded-[20px] bg-[#24242480] px-3 py-2 text-[14px] backdrop-blur-[20px] max-[750px]:top-3 max-[750px]:left-3 max-[750px]:py-1",e.origin_url?"max-[750px]:hidden":""])},r(e.origin_url?("useI18nText"in o?o.useI18nText:x(i))("components.ov.finalVideo"):("useI18nText"in o?o.useI18nText:x(i))("components.ov.video")),3),u(_,{src:e.video_url,poster:`${e.img}${e.suffix||".png"}`,margin:"900px 0px",loop:"",autoplay:!0,class:"swiper-item-video w-full max-w-[400px]!"},null,8,["src","poster"])],2)]),_:2},1024))),128))]),_:1},8,["class","modules"]),l.list.length>1?(p(),n("div",{key:0,class:"ai-editor-swiper-arrow left group absolute top-1/2 left-[-90px] z-1 flex h-[60px] w-[60px] -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-[#ffffff40] backdrop-blur-[10px] hover:bg-[#ffffff59] max-[1700px]:left-0 max-[750px]:hidden",onClick:a[0]||(a[0]=e=>g("left"))},[...a[2]||(a[2]=[t("svg",{viewBox:"0 0 26 48",fill:"none",class:"icon w-[16px] text-[28px] text-[#cbcbcb] group-hover:text-white max-[820px]:w-[14px] max-[820px]:text-[24px]",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M0.00793438 24C-0.0189916 24.315 0.0227774 24.6321 0.130354 24.9293C0.23793 25.2266 0.408754 25.497 0.631023 25.7218L22.275 47.3678C22.6877 47.773 23.243 48 23.8213 48C24.3996 48 24.9548 47.773 25.3675 47.3678C25.7729 46.9545 26 46.3987 26 45.8197C26 45.2408 25.7729 44.685 25.3675 44.2717L5.09428 24L25.3642 3.72493C26.2169 2.87221 26.1939 1.46194 25.3642 0.632183C24.5116 -0.220535 23.108 -0.200859 22.2718 0.632183L0.6343 22.2781C0.412033 22.5029 0.241211 22.7733 0.133634 23.0706C0.026058 23.3679 -0.015711 23.685 0.011215 24L0.00793438 24Z",fill:"currentColor"})],-1)])])):d("",!0),l.list.length>1?(p(),n("div",{key:1,class:"ai-editor-swiper-arrow right group absolute top-1/2 right-[-90px] z-1 flex h-[60px] w-[60px] -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-[#ffffff40] backdrop-blur-[10px] hover:bg-[#ffffff59] max-[1700px]:right-0 max-[750px]:hidden",onClick:a[1]||(a[1]=e=>g("right"))},[...a[3]||(a[3]=[t("svg",{width:"26",height:"48",viewBox:"0 0 26 48",fill:"none",class:"icon w-[16px] rotate-180 text-[28px] text-[#cbcbcb] group-hover:text-white max-[820px]:w-[14px] max-[820px]:text-[24px]",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M0.00793438 24C-0.0189916 24.315 0.0227774 24.6321 0.130354 24.9293C0.23793 25.2266 0.408754 25.497 0.631023 25.7218L22.275 47.3678C22.6877 47.773 23.243 48 23.8213 48C24.3996 48 24.9548 47.773 25.3675 47.3678C25.7729 46.9545 26 46.3987 26 45.8197C26 45.2408 25.7729 44.685 25.3675 44.2717L5.09428 24L25.3642 3.72493C26.2169 2.87221 26.1939 1.46194 25.3642 0.632183C24.5116 -0.220535 23.108 -0.200859 22.2718 0.632183L0.6343 22.2781C0.412033 22.5029 0.241211 22.7733 0.133634 23.0706C0.026058 23.3679 -0.015711 23.685 0.011215 24L0.00793438 24Z",fill:"currentColor"})],-1)])])):d("",!0)])])):d("",!0)}}}),X=Object.assign(G,{__name:"SeoOvComponentsComponentsAiTextVideo"});export{X 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.