import{c as o}from"./index-a0da86f0.js";const n={pagetype:"PageType",todo:"ToDo"};function r(e){return e?n[e]?n[e]:e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):""}function i(e){return e?e.split(" ").map(t=>t.toLowerCase()).join("-"):""}function u(e){const t=o(()=>e.params.entity||""),p=o(()=>r(t.value));return{pagetypeSlug:t,entity:p}}export{i as p,u};
