import{H as h}from"./BCLrUOBx.js";function w(){const c=h(),p=()=>c.fullPath,i=e=>e.charAt(0).toUpperCase()+e.slice(1),l=e=>{let t=e.replace("--","-& ");return t=t.replace("-"," "),t=t.replace("-"," "),i(t)},o=(e,t)=>({hid:e,name:e,content:t});return{route:c,capitalize:i,pageMeta:({meta_title:e,meta_description:t,meta_keywords:n,image_url:r})=>({title:e,meta:[o("description",t),o("keywords",n),o("og:image",r),o("og:title",e),o("og:description",t)]}),slugToText:l,generatingMeta:o,commonMeta:({meta_title:e,meta_description:t,meta_keywords:n,image_url:r,api_base:g,site_url:a})=>{const s=(a==null?void 0:a.replace(/\/+$/,""))+p();return{title:e,htmlAttrs:{lang:"en"},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"},{hid:"description",name:"description",content:t},{hid:"keywords",name:"keywords",content:n},{hid:"og:title",name:"og:title",content:e,"data-rh":"true"},{hid:"og:type",name:"og:type",content:"website","data-rh":"true"},{hid:"robots",name:"robots",content:"all","data-rh":"true"},{hid:"og:url",name:"og:url",content:s,"data-rh":"true"},{hid:"og:image",name:"og:image","xmlns:og":"http://opengraphprotocol.org/schema/",content:r},{hid:"og:description",name:"og:description","xmlns:og":"http://opengraphprotocol.org/schema/",content:t}],link:[{rel:"icon",type:"image/png",href:"/favicon.png"},{rel:"canonical",path:s},{rel:"dns-prefetch",href:g},{rel:"preload",as:"font",href:"https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600&display=swap"}]}},preloadScript:(e,t="script")=>({rel:"preload",as:t,href:e})}}export{w as u};
