function s(n){const o=n.split("/");return o.length===3?`/skills/${o.map(encodeURIComponent).join("/")}`:`/skills/${encodeURIComponent(n)}`}function l(n,...o){const t=n.split("/"),e=t.length===3?`/api/v1/skills/${t.map(encodeURIComponent).join("/")}`:`/api/v1/skills/${encodeURIComponent(n)}`;return o.length===0?e:`${e}/${o.map(encodeURIComponent).join("/")}`}export{s as a,l as s};
