text: export function dataFiltered(t,e){let c=t;for(const r of Object.keys(e))c=c.filter(a=>Array.isArray(e[r])?e[r].includes(a[r]):e[r]===a[r]);return c}export function sorter(t,e){switch(e.mode){case"alphabetical":return t.sort((c,r)=>c[e.key].localeCompare(r[e==null?void 0:e.key]));case"desc":return t.reverse();default:return t.sort()}}