import{u as i,r as c,H as d,b as u,o as p,c as _,a as r,t as m}from"./app-B-4i4xU3.js";const x={class:"main-container py-6"},g={class:"text-xl md:text-xl font-semibold text-slate-800 dark:text-slate-100 pb-2 md:pb-3 border-b"},v=["innerHTML"],b={__name:"PolicyPages",setup(f){const t=i(),a=c(t.params.slug),e=c({});d(t,()=>{a.value=t.params.slug,s()}),u(()=>{s(),window.scrollTo(0,0)});const s=()=>{window.scrollTo(0,0),axios.get("/legal-pages/"+a.value).then(o=>{e.value=o.data.data.content})};return(o,h)=>{var n,l;return p(),_("div",x,[r("div",g,m((n=e.value)==null?void 0:n.title),1),r("div",{class:"mt-6 prose max-w-none w-full",innerHTML:(l=e.value)==null?void 0:l.description},null,8,v)])}}};export{b as default};
