let e=require("vue");function t(t,n,r){return(0,e.computed)(()=>{let e=[],i=[],a=0,o=0,s=t.value,c=n.value,l=r.value;for(let t=0;t<c;t+=1)if(l===`rtl`){i[t]=o,o+=s[t]||0;let n=c-t-1;e[n]=a,a+=s[n]||0}else{e[t]=a,a+=s[t]||0;let n=c-t-1;i[n]=o,o+=s[n]||0}return{left:e,right:i}})}exports.default=t;