import{$ as a}from"./dVzHJMF1.js";function u(t){const i=a().path,r=String(t);if(r.startsWith("/"))return i+r;const s=i.split("/").filter(e=>e!==""),n=r.split("/");for(const e of n)e===".."?s.pop():e!=="."&&s.push(e);return"/"+s.join("/")}function c(t){var o;return{open:(o=t==null?void 0:t.originalEvent)!=null&&o.ctrlKey?{target:"_blank"}:void 0}}export{c as h,u as r};
