import"./index-M_JNBppB.js";/* empty css                        */import{t as g}from"./debounce-Xd493GvO.js";import{$ as y,t as f,a0 as V}from"./element-3_pOinej.js";import{r as v,c as w,w as k,j as _,B as n,z as t,O as i,F as s,M as C,a7 as j,y as x}from"./vue-BJk78QHK.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";const q=Object.assign({name:"Carousel"},{__name:"Carousel",props:{propValue:{type:Object,required:!0,default:()=>({})},element:{type:Object,default:()=>({})}},setup(e){const a=e,r=v(0),u=w(()=>{const l=a.element.style.width,o=a.element.style.height;return{width:l,height:o}});return k(u,g(()=>{r.value++},500),{deep:!0}),_(()=>{}),(l,o)=>{const c=f,p=y,m=V;return t(),n("div",{key:r.value,style:{overflow:"hidden"}},[i(m,{height:`${e.element.style.height}px`,trigger:e.propValue.trigger,autoplay:e.propValue.autoplay,type:e.propValue.type,interval:e.propValue.interval,direction:e.propValue.direction},{default:s(()=>[(t(!0),n(C,null,j(e.propValue.url,(d,h)=>(t(),x(p,{key:h},{default:s(()=>[i(c,{style:{width:"100%",height:"100%"},src:d},null,8,["src"])]),_:2},1024))),128))]),_:1},8,["height","trigger","autoplay","type","interval","direction"])])}}});export{q as default};
