"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("vue");function f(e,a,r,o,c,l){const s=[];s.push({record:e,indent:a,index:l});const n=c(e),u=o?.has(n);if(e&&Array.isArray(e[r])&&u)for(let t=0;t<e[r].length;t+=1){const i=f(e[r][t],a+1,r,o,c,t);s.push(...i)}return s}function v(e,a,r,o){return p.computed(()=>{const l=a.value,s=r.value,n=e.value;if(s?.size){const u=[];for(let t=0;t<n?.length;t+=1){const i=n[t];u.push(...f(i,0,l,s,o.value,t))}return u}return n?.map((u,t)=>({record:u,indent:0,index:t}))})}exports.default=v;
