1import{d as y,r as k,c as o,a as t,h as C,g as _,B as I,i as l,bZ as $,D as v,t as w,C as i,aa as M,$ as f,j as P,_ as x,s as B,z as N,f as V,F as z,k as F,a1 as H,be as L,P as b,bd as j}from"./entry-bvHdnjut.js";const A={class:"scene-img-box"},T=["src","alt","loading"],D=["src","alt"],O={class:"scene-type"},E={class:"button-box"},G=y({__name:"AiSceneCard",props:{item:{},isHome:{type:Boolean,default:!1},altProps:{},aboveFold:{type:Boolean,default:!1}},emits:["chooseModule"],setup(g,{emit:d}){const a=g,u=d,e=k(!1),m=()=>{e.value=!1},c=()=>{e.value=!0};return(s,r)=>{const n=$,h=M;return t(),o("div",{class:C(["scene-card-box",s.isHome?"home-scene-card-box":""]),onMouseleave:m,onMouseenter:c,onClick:r[0]||(r[0]=S=>u("chooseModule"))},[_("div",A,[s.isHome?(t(),I(n,{key:0,src:s.item.homeImg,class:"normal-img",alt:`${a.altProps} Scene Img`,fetchpriority:"high",width:"160",height:"160",loading:"eager"},null,8,["src","alt"])):l("",!0),s.isHome?l("",!0):(t(),o("img",{key:1,src:s.item.functionImg,class:"normal-img",alt:`${a.altProps} Scene Img`,loading:s.aboveFold?"eager":"lazy",width:"160",height:"160"},null,8,T)),v(e)?(t(),o("video",{key:2,preload:"none",src:s.item.animationVideo,class:"gif-img",alt:`${a.altProps} Scene Video`,autoplay:"",muted:"",loop:""},null,8,D)):l("",!0)]),_("div",O,w(s.item.text),1),_("div",E,[i(h,{size:"32"},{default:f(()=>[P(w(s.$t("scene_try_now")),1)]),_:1})])],34)}}}),R=x(G,[["__scopeId","data-v-500d18ed"]]),W={class:"scene-swiper-box"},Z=y({__name:"SceneSwiper",props:{sceneList:{}},emits:["chooseModule"],setup(g,{emit:d}){const{clientWidth:a}=B(N()),u=d,e=k(null),m=n=>{e.value=n},c=V(()=>typeof window<"u"?Math.floor(a.value/156):2),s=()=>{e.value&&e.value.slidePrev()},r=()=>{e.value&&e.value.slideNext()};return(n,h)=>{const S=R;return t(),o("div",W,[i(v(j),{"space-between":12,"slides-per-view":c.value,onSwiper:m},{default:f(()=>[(t(!0),o(z,null,F(n.sceneList,p=>(t(),I(v(L),{key:p.text,onClick:H(J=>u("chooseModule",p),["stop"])},{default:f(()=>[i(S,{item:p},null,8,["item"])]),_:2},1032,["onClick"]))),128)),e.value&&e.value.activeIndex!==n.sceneList.length-c.value?(t(),o("div",{key:0,onClick:r,class:"custom-pagination-box-right"},[i(b,{name:"right"})])):l("",!0),e.value&&e.value.activeIndex!==0?(t(),o("div",{key:1,class:"custom-pagination-box-left",onClick:s},[i(b,{name:"left"})])):l("",!0)]),_:1},8,["slides-per-view"])])}}}),q=x(Z,[["__scopeId","data-v-5c65988b"]]),Q=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"}));export{q as S,R as _,Q as a};
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.