import t from"../../../../_virtual/index16.mjs";function e(e,i){const r=i.filter(t.isPathValid),l=new Set(i.filter(t=>!r.includes(t))),n=new Set(e.filter(r));return i.filter(t=>l.has(t)||n.has(t))}export{e as default};