"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");function v(f,r,i){return a.computed(()=>{const c=[],l=[];let s=0,o=0;const n=f.value,u=r.value,d=i.value;for(let t=0;t<u;t+=1)if(d==="rtl"){l[t]=o,o+=n[t]||0;const e=u-t-1;c[e]=s,s+=n[e]||0}else{c[t]=s,s+=n[t]||0;const e=u-t-1;l[e]=o,o+=n[e]||0}return{left:c,right:l}})}exports.default=v;
